Fix admin-header error when mb_strlen() is missing
git-svn-id: https://develop.svn.wordpress.org/trunk@9586 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e9773982af
commit
616d8c550f
|
@ -77,7 +77,7 @@ $blog_name = get_bloginfo('name', 'display');
|
||||||
if ( '' == $blog_name )
|
if ( '' == $blog_name )
|
||||||
$blog_name = ' ';
|
$blog_name = ' ';
|
||||||
$title_class = '';
|
$title_class = '';
|
||||||
if ( mb_strlen($blog_name, 'UTF-8') > 30 )
|
if ( function_exists('mb_strlen') && mb_strlen($blog_name, 'UTF-8') > 30 )
|
||||||
$title_class = 'class="long-title"';
|
$title_class = 'class="long-title"';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue