WordPress.org

Make WordPress Core

Ticket #7234: admin-header-php.diff

File admin-header-php.diff, 845 bytes (added by jhodgdon, 7 years ago)

Patch to wp-admin/admin-header.php to fix this bug

  • E:/EclipseWorkWeb/WordPressDev/wp-admin/admin-header.php

     
    7070<div id="wpwrap"> 
    7171<div id="wpcontent"> 
    7272<div id="wphead"> 
    73 <h1><?php if ( '' == get_bloginfo('name') ) echo '&nbsp;'; else echo get_bloginfo('name'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>"><?php _e('Visit Site') ?></a></span></h1> 
     73<h1><?php if ( '' == get_bloginfo('name', 'display') ) echo '&nbsp;'; else echo get_bloginfo('name', 'display'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>"><?php _e('Visit Site') ?></a></span></h1> 
    7474</div> 
    7575 
    7676<?php