From 616d8c550fd215245c24736d1ab7b32908fe8a2e Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 10 Nov 2008 09:18:44 +0000 Subject: [PATCH] Fix admin-header error when mb_strlen() is missing git-svn-id: https://develop.svn.wordpress.org/trunk@9586 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index d768e5867f..9c161f7a0f 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -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"'; ?>