Administration Menu management abstraction
|Reported by:||jltallon||Owned by:|
|Cc:||jltallon, mikeschinkel@…, WordPress@…|
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+ ?
Change History (10)
- Cc jltallon added
- Owner jltallon deleted
- Status changed from new to assigned