﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
11763	Inappropriate admin menu items aren't necessarily removed	Denis-de-Bernardy	ryan	"With MU going mainstream alongside an increasing number of plugins that disable admin menus, we're bound to see sites where the following lines of code no longer work:

http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/ms.php?rev=12603#L565

{{{
	if( !is_site_admin() )
		unset( $submenu['plugins.php'][10] ); // always remove the plugin installer for regular users
	unset( $submenu['plugins.php'][15] ); // always remove the plugin editor
	unset( $submenu['themes.php'][10] ); // always remove the themes editor
}}}

instead, they should not be introduced in the first place. and ideally, we should add some kind of remove_menu_item() and remove_submenu_item() functionality."	defect (bug)	closed	normal	3.0	Menus	3.0	normal	fixed	multisite	
