From 334356506bf5a7a862b2d04d78481c9cd46080f4 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 12 Jan 2011 07:12:59 +0000 Subject: [PATCH] Multisite super admins should still be able to see the Plugins menu in the site admin. fixes #16184. git-svn-id: https://develop.svn.wordpress.org/trunk@17267 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 69f978b97f..30d0169cdf 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -169,7 +169,7 @@ if ( !empty($update_plugins->response) ) $update_count = count( $update_plugins->response ); $menu_perms = get_site_option('menu_items', array()); -if ( ! is_multisite() || ! empty( $menu_perms['plugins'] ) ) { +if ( ! is_multisite() || is_super_admin() || ! empty( $menu_perms['plugins'] ) ) { $count = "" . number_format_i18n($update_count) . ""; if ( is_multisite() ) $count = '';