[wp-trac] [WordPress Trac] #14666: Create reliable way to remove menus and submenus: remove_menu_item() and remove_submenu_item()
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 21 18:24:07 UTC 2010
#14666: Create reliable way to remove menus and submenus: remove_menu_item() and
remove_submenu_item()
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.1
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
It's time. I'm tired of unsetting global variables. We need a consistent
way to remove menus (core or plugin-added).
Suggested:
{{{remove_menu_item()}}} and {{{remove_submenu_item()}}}
I don't want to be dealing with numerical array keys. I want something
100% predictable.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14666>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list