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

WordPress Trac noreply at wordpress.org
Tue Nov 19 17:01:29 UTC 2013


#24137: CPT as a submenu item does not get the correct classes when adding new
-----------------------------+------------------------------
 Reporter:  mordauk          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Types       |     Version:  3.5.1
 Severity:  normal           |  Resolution:
 Keywords:  has-patch wcorl  |
-----------------------------+------------------------------

Comment (by markjaquith):

 [attachment:24137.2.patch 24137.2] nests the check better. We want the
 parent fallback to happen after we've verified there isn't a post-new.php
 menu item to highlight. I also added some code comments.

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


More information about the wp-trac mailing list