[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 19:13:16 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:  UI                       |     Version:  3.0
 Severity:  minor                    |  Resolution:
 Keywords:  ui-feedback needs-patch  |
-------------------------------------+------------------------------
Changes (by scribu):

 * keywords:  ui-feedback has-patch => ui-feedback needs-patch


Comment:

 I assume the issue here is that there's some css class being generated
 based on the post type name.

 We should prefix that class, to avoid collisions. Example:
 `class="cpt-<?php echo $post_type; ?>"`.

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


More information about the wp-trac mailing list