diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 9c161f7a0f..4ef9edb9c0 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -77,8 +77,13 @@ $blog_name = get_bloginfo('name', 'display'); if ( '' == $blog_name ) $blog_name = ' '; $title_class = ''; -if ( function_exists('mb_strlen') && mb_strlen($blog_name, 'UTF-8') > 30 ) - $title_class = 'class="long-title"'; +if ( function_exists('mb_strlen') ) { + if ( mb_strlen($blog_name, 'UTF-8') > 30 ) + $title_class = 'class="long-title"'; +} else { + if ( strlen($blog_name) > 30 ) + $title_class = 'class="long-title"'; +} ?>