[wp-trac] [WordPress Trac] #12718: Better structure for admin $menu

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 31 04:27:37 UTC 2010


#12718: Better structure for admin $menu
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:  scribu         
     Type:  enhancement  |      Status:  accepted       
 Priority:  normal       |   Milestone:  Awaiting Triage
Component:  Plugins      |     Version:                 
 Severity:  normal       |    Keywords:                 
-------------------------+--------------------------------------------------

Comment(by nacin):

 Interesting approach by MikeSchinkel:
 https://gist.github.com/792b7aa5b695d1092520
 https://gist.github.com/65dd845e9637f621b73b

 cags: It does allow override in some cases, but not in others. I think
 menu_position for register_post_type ensures no conflict, or maybe it
 ensures no conflict when it is then pushing them onto the $menu array.

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


More information about the wp-trac mailing list