WordPress.org

Make WordPress Core

Ticket #13978: admin-header.patch

File admin-header.patch, 1.0 KB (added by mrmist, 4 years ago)

Admin header patch

  • 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 if ($blog_name == '&nbsp;') { _e('Visit Site'); } else { echo $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>