[wp-trac] [WordPress Trac] #19125: CPT as a submenu item does not get the correct classes when adding new

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 3 03:03:33 UTC 2011


#19125: CPT as a submenu item does not get the correct classes when adding new
--------------------------+-----------------------------
 Reporter:  helenyhou     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 If you register a post type as a submenu item, the parent item does not
 get the appropriate classes when adding a new item, nor does the submenu
 item itself. This causes the menu to not be expanded. It is fine when on
 the list table or editing an existing item, and when the CPT has its own
 menu item. It seems that `$typenow` is not being set somehow in just this
 case.

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


More information about the wp-trac mailing list