[wp-trac] [WordPress Trac] #21203: A CPT named 'code' triggers wierd font/order bugs in admin

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 9 16:17:13 UTC 2012


#21203: A CPT named 'code' triggers wierd font/order bugs in admin
--------------------------+-----------------------------
 Reporter:  clarklab      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Types    |    Version:  3.4.1
 Severity:  minor         |   Keywords:  needs-patch
--------------------------+-----------------------------
 When you make a custom post type named 'code', some weird problems arise.
 In the admin, the post list is rendered in Consalas (see attachment). Even
 weirder, the default sort changes to alpha order, not date.

 The font looks to be happening because the class 'code' gets added to the
 TR in the post list, but I'm not sure why the order would change.

 I checked for a reserved CPT name, but all the codex said was to avoid the
 wp_ prefix.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21203>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list