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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-11-09 22:00:50 +00:00
parent d24a3cfe04
commit 2f25f589db
1 changed files with 3 additions and 1 deletions

View File

@ -102,6 +102,8 @@ document.body.className = c;
if ( is_network_admin() )
$blog_name = esc_html($current_site->site_name);
elseif ( is_user_admin() )
$blog_name = __('Global Dashboard');
else
$blog_name = get_bloginfo('name', 'display');
if ( '' == $blog_name ) {
@ -128,7 +130,7 @@ if ( function_exists('mb_strlen') ) {
<a href="<?php echo trailingslashit( get_bloginfo( 'url' ) ); ?>" title="<?php esc_attr_e('Visit Site') ?>">
<span id="site-title"><?php echo $blog_name ?></span>
</a>
<?php if ( !is_network_admin() && current_user_can('manage_options') && '1' != get_option('blog_public') ): ?>
<?php if ( !is_network_admin() && !is_user_admin() && current_user_can('manage_options') && '1' != get_option('blog_public') ): ?>
<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>
<?php endif; ?>
</h1>