Use 'Visit Site' in header if blog has no name. props blepoxp, fixes #13978.
git-svn-id: https://develop.svn.wordpress.org/trunk@15992 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e7f4600080
commit
bb66fd85da
@ -103,7 +103,7 @@ if ( is_network_admin() )
|
||||
else
|
||||
$blog_name = get_bloginfo('name', 'display');
|
||||
if ( '' == $blog_name ) {
|
||||
$blog_name = ' ';
|
||||
$blog_name = __( 'Visit Site' );
|
||||
} else {
|
||||
$blog_name_excerpt = wp_html_excerpt($blog_name, 40);
|
||||
if ( $blog_name != $blog_name_excerpt )
|
||||
|
Loading…
Reference in New Issue
Block a user