diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 22a7253510..e85e2de68c 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -824,17 +824,6 @@ function ms_deprecated_blogs_file() { } add_action( 'admin_notices', 'ms_deprecated_blogs_file' ); -/** - * Outputs the notice message for multisite regarding activation of plugin page. - * - * @since 3.0.0 - * @return none - */ -function _admin_notice_multisite_activate_plugins_page() { - $message = sprintf( __( 'The plugins page is not visible to normal users. It must be activated first. %s' ), '' . __( 'Activate' ) . '' ); - echo "

$message

"; -} - /** * Grants super admin privileges. * diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index df220c9dda..97125d74aa 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -14,8 +14,6 @@ if ( is_multisite() ) { if ( empty( $menu_perms['plugins'] ) ) { if ( ! is_super_admin() ) wp_die( __( 'Cheatin’ uh?' ) ); - else - add_action( 'admin_notices', '_admin_notice_multisite_activate_plugins_page' ); } }