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
This commit is contained in:
parent
cbc1ea27e8
commit
103a4f46b6
|
@ -665,10 +665,8 @@ function site_admin_notice() {
|
||||||
global $current_user, $wp_db_version;
|
global $current_user, $wp_db_version;
|
||||||
if ( !is_super_admin() )
|
if ( !is_super_admin() )
|
||||||
return false;
|
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>";
|
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' );
|
add_action( 'admin_notices', 'site_admin_notice' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue