Use 'Visit Site' in header if blog has no name. props blepoxp, fixes #13978.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-27 01:48:08 +00:00
parent 122f7797e4
commit 73bc798ffa
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ if ( is_network_admin() )
else else
$blog_name = get_bloginfo('name', 'display'); $blog_name = get_bloginfo('name', 'display');
if ( '' == $blog_name ) { if ( '' == $blog_name ) {
$blog_name = ' '; $blog_name = __( 'Visit Site' );
} else { } else {
$blog_name_excerpt = wp_html_excerpt($blog_name, 40); $blog_name_excerpt = wp_html_excerpt($blog_name, 40);
if ( $blog_name != $blog_name_excerpt ) if ( $blog_name != $blog_name_excerpt )