mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-04 12:29:22 +00:00
Fix admin-header error when mb_strlen() is missing
git-svn-id: http://svn.automattic.com/wordpress/trunk@9586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4da15b97ea
commit
be1127594d
@ -77,7 +77,7 @@ $blog_name = get_bloginfo('name', 'display');
|
||||
if ( '' == $blog_name )
|
||||
$blog_name = ' ';
|
||||
$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"';
|
||||
?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user