Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: http://svn.automattic.com/wordpress/trunk@12848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -113,7 +113,7 @@ if ( !empty($action) ) {
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
||||
require_once( 'admin-header.php' );
|
||||
|
||||
|
||||
$url = 'plugins.php?action=upgrade-selected&plugins=' . urlencode( join( ',', $plugins ) );
|
||||
$title = __( 'Upgrade Plugins' );
|
||||
$nonce = 'bulk-manage-plugins';
|
||||
@@ -283,9 +283,9 @@ add_contextual_help($current_screen, $help);
|
||||
|
||||
if ( is_multisite() && is_super_admin() ) {
|
||||
$menu_perms = get_site_option('menu_items', array());
|
||||
if ( !$menu_perms['plugins'] ) {
|
||||
if ( empty($menu_perms['plugins']) )
|
||||
add_action( 'admin_notices', '_admin_notice_multisite_activate_plugins_page' );
|
||||
}
|
||||
unset($menu_perms);
|
||||
}
|
||||
|
||||
$title = __('Manage Plugins');
|
||||
|
||||
Reference in New Issue
Block a user