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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 31 05:11:15 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 mikeschinkel):

 Replying to [comment:6 nacin]:
 > 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.

 cags?

 Also note that I wrote those to be '''100%''' compatible with the current
 structure.

 They could be added to core and used for 3 or 4 versions down the road and
 at the same time discourage all direct access.

 By about v3.5 we could potentially modify the underlying structure to be
 more rational, deprecate the methods I have related to refresh, and just
 let the really old plugins break.

 Potentially good transition strategy?

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


More information about the wp-trac mailing list