Unset menu_perms once we're done with it. see #11644

git-svn-id: http://svn.automattic.com/wordpress/trunk@12844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-26 17:55:51 +00:00
parent 7991402038
commit 943f69cb1f

View File

@ -113,6 +113,7 @@ if ( is_super_admin() || ( is_multisite() && isset($menu_perms['plugins']) && $m
if ( !is_multisite() )
$submenu['plugins.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_plugins', 'plugin-editor.php' );
}
unset($menu_perms);
if ( current_user_can('edit_users') )
$menu[70] = array( __('Users'), 'edit_users', 'users.php', '', 'menu-top', 'menu-users', 'div' );