Make WordPress Core

Changeset 13586


Ignore:
Timestamp:
03/04/2010 06:59:24 PM (15 years ago)
Author:
ryan
Message:

Remove site admin logged in notice. The new Super Admin menu makes that obvious enough. see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r13514 r13586  
    666666    if ( !is_super_admin() )
    667667        return false;
    668     printf("<div id='update-nag'>" . __("Hi %s! You're logged in as a network administrator.") . "</div>", $current_user->user_login);
    669     if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) {
     668    if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version )
    670669        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>";
    671     }
    672670}
    673671add_action( 'admin_notices', 'site_admin_notice' );
Note: See TracChangeset for help on using the changeset viewer.