Ticket #13978: admin-header.diff

File admin-header.diff, 1021 bytes (added by layotte, 3 years ago)

I created this patch before I realized anyone else was working on it... so I'm just submitting it cause I create it.

Line 
1Index: admin-header.php
2===================================================================
3--- admin-header.php    (revision 15468)
4+++ admin-header.php    (working copy)
5@@ -109,7 +109,7 @@
6 <img id="header-logo" src="<?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?>" alt="" width="32" height="32" />
7 <h1 id="site-heading" <?php echo $title_class ?>>
8        <a href="<?php echo trailingslashit( get_bloginfo( 'url' ) ); ?>" title="<?php esc_attr_e('Visit Site') ?>">
9-               <span id="site-title"><?php echo $blog_name ?></span>
10+        <span id="site-title"><?php echo '&nbsp;' === $blog_name ? _e('Visit Site') : $blog_name; ?></span>
11        </a>
12 <?php if ( current_user_can('manage_options') && '1' != get_option('blog_public') ): ?>
13        <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>