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
This commit is contained in:
Ryan Boren 2010-03-04 18:59:24 +00:00
parent d9ba4cb076
commit 44f26063e8
1 changed files with 1 additions and 3 deletions

View File

@ -665,10 +665,8 @@ function site_admin_notice() {
global $current_user, $wp_db_version;
if ( !is_super_admin() )
return false;
printf("<div id='update-nag'>" . __("Hi %s! You're logged in as a network administrator.") . "</div>", $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 "<div id='update-nag'>" . __( 'Thank you for Upgrading! Please visit the <a href="ms-upgrade-network.php">Upgrade Network</a> page to update all your sites.' ) . "</div>";
}
}
add_action( 'admin_notices', 'site_admin_notice' );