[wp-trac] [WordPress Trac] #14145: Allow custom post types to be a submenu

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 2 22:33:17 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_):

 Would you not consider the "Add New" link to be essential or would you
 consider having to navigate to the edit page first to click the "Add New"
 link there to be adequate?

 I've also recently noticed a page not existing as a submenu item also
 renders that page inaccessible also due to a check performed in the
 `user_can_access_admin_page` function (IIRC) which in part validates
 access to a page based on the given page having a value inside the submenu
 array (came across this problem when moving menu items around myself). Did
 you test access to admin pages that don't have submenu items?

Ticket URL: <http://core.trac.wordpress.org/ticket/14145#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list