[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
Sun Nov 17 20:02:10 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: needs-patch |
--------------------------+------------------------------
Comment (by mordauk):
To replicate:
1. Register a top-level post type
2. Register a second post type that is set to a submenu of the post type
registered in 1
3. Go to the child post type
4. Click "Add New" for the child post type
5. The parent post type All items submenu will be highlighted instead of
the submenu item of the child post type
[http://core.trac.wordpress.org/attachment/ticket/24137/24137.patch
24137.patch] seems to fix it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24137#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list