WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/09/2010 10:00:50 PM (10 years ago)
Author:
ryan
Message:

Give the user dashboard a more suitable title. see #14696

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r16260 r16265  
    103103if ( is_network_admin() )
    104104    $blog_name = esc_html($current_site->site_name);
     105elseif ( is_user_admin() )
     106    $blog_name = __('Global Dashboard');
    105107else
    106108    $blog_name = get_bloginfo('name', 'display');
     
    129131        <span id="site-title"><?php echo $blog_name ?></span>
    130132    </a>
    131 <?php if ( !is_network_admin() && current_user_can('manage_options') && '1' != get_option('blog_public') ): ?>
     133<?php if ( !is_network_admin() && !is_user_admin() && current_user_can('manage_options') && '1' != get_option('blog_public') ): ?>
    132134    <a id="privacy-on-link" href="options-privacy.php" title="<?php echo esc_attr( apply_filters('privacy_on_link_title', __('Your site is asking search engines not to index its content') ) ); ?>"><?php echo apply_filters('privacy_on_link_text', __('Search Engines Blocked') ); ?></a>
    133135<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.