[wp-trac] [WordPress Trac] #19080: CPT identifier class name missing from #icon-edit DIV

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 29 05:32:16 UTC 2011


#19080: CPT identifier class name missing from #icon-edit DIV
--------------------------+-----------------------
 Reporter:  fjarrett      |       Owner:  nacin
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  3.3
Component:  UI            |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by nacin):

 I've dug really deep into this issue at this point.

 I noticed that the Slide post type is registered show_ui = true and public
 = false. The problem is that the taxonomy attached to it then results in
 $post_type = 'post', and then the menu gets all screwed up because
 $parent_file is 'edit.php' rather than 'edit.php?post_type=slide'. Thus
 [19089].

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


More information about the wp-trac mailing list