[wp-trac] [WordPress Trac] #14145: Allow custom post types to be a submenu
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 3 10:42:10 UTC 2010
#14145: Allow custom post types to be a submenu
----------------------------+-----------------------------------------------
Reporter: nacin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.1
Component: Post Types | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Comment(by t31os_):
Apologies Andy, the problem i was describing was actually in relation to
unsetting the menu altogether (my mistake).
At present, if you create your own admin menu (dropdown, or whatever) and
you decide to unset the existing menu (why render the original if you're
not using it?), this has a knock-on effect that causes
`user_can_access_admin_page` to return false due to checks against items
in the `$submenu` array (maybe this is why no admin menu plugins exist).
Realistically this is a seperate and possibly unrelated issue, and it's my
fault for getting confused, so simply disregard my last response about
inaccessible pages.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14145#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list