[wp-trac] [WordPress Trac] #16342: Administration Menu management abstraction

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 22 17:38:59 UTC 2011


#16342: Administration Menu management abstraction
-----------------------------+-----------------------------
 Reporter:  jltallon         |      Owner:  jltallon
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  UI               |    Version:
 Severity:  minor            |   Keywords:
-----------------------------+-----------------------------
 Beyond what add_menu_page/add_submenu_page and the plethora of
 add/remove/_mumble_page, sometimes there is a need to modify the menu
 structure which cannot be accomplished without fiddling with the $menu
 global.

 I propose abstracting the menu building (and menu rendering!) code into
 some classes + wrapper funcs for compatibility.

 Before finishing the patch up (in the form of a plugin for now): Shall I
 still allow plugins to manually fiddle with menu entries ?

 Could this eventually be allowed into Core (for WP 3.2 or later)?

 Even though a PHP4 compatibility wrapper can be added trivially (à la
 WP_Scripts) can we assume that WP3.2+ will require PHP5.2+ ?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16342>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list