[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 16:58:21 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):
So, because there is Add New access from the sub-CPT's Edit page, there's
no need for an Add New menu item. But because there isn't one, it falls
back to the parent. When it should first attempt to look for an Edit page
for the CPT being considered.
I see a potential logic problem in this patch. Updating.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24137#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list