WordPress.org

Make WordPress Core

Ticket #13978: admin-header.diff

File admin-header.diff, 1021 bytes (added by layotte, 4 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.

  • admin-header.php

     
    109109<img id="header-logo" src="<?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?>" alt="" width="32" height="32" /> 
    110110<h1 id="site-heading" <?php echo $title_class ?>> 
    111111        <a href="<?php echo trailingslashit( get_bloginfo( 'url' ) ); ?>" title="<?php esc_attr_e('Visit Site') ?>"> 
    112                 <span id="site-title"><?php echo $blog_name ?></span> 
     112        <span id="site-title"><?php echo '&nbsp;' === $blog_name ? _e('Visit Site') : $blog_name; ?></span> 
    113113        </a> 
    114114<?php if ( current_user_can('manage_options') && '1' != get_option('blog_public') ): ?> 
    115115        <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>