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:
Andrew Ozz 2008-11-10 09:18:44 +00:00
parent e9773982af
commit 616d8c550f
1 changed files with 1 additions and 1 deletions

View File

@ -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"';
?> ?>