From 103a4f46b688b709b9b54386a3d00a898cdeb1c5 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@13586 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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' );