From 44f26063e857a88af65947bf39283b07d7741b02 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 4 Mar 2010 18:59:24 +0000 Subject: [PATCH] Remove site admin logged in notice. The new Super Admin menu makes that obvious enough. see #11644 git-svn-id: https://develop.svn.wordpress.org/trunk@13586 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/ms.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index f07c85bdeb..4a80715176 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -665,10 +665,8 @@ function site_admin_notice() { global $current_user, $wp_db_version; if ( !is_super_admin() ) return false; - printf("
" . __("Hi %s! You're logged in as a network administrator.") . "
", $current_user->user_login); - if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) { + if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) echo "
" . __( 'Thank you for Upgrading! Please visit the Upgrade Network page to update all your sites.' ) . "
"; - } } add_action( 'admin_notices', 'site_admin_notice' );