WordPress.org

Make WordPress Core

Changeset 9586


Ignore:
Timestamp:
11/10/08 09:18:44 (6 years ago)
Author:
azaozz
Message:

Fix admin-header error when mb_strlen() is missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r9583 r9586  
    7878    $blog_name = ' '; 
    7979$title_class = ''; 
    80 if ( mb_strlen($blog_name, 'UTF-8') > 30 ) 
     80if ( function_exists('mb_strlen') && mb_strlen($blog_name, 'UTF-8') > 30 ) 
    8181    $title_class = 'class="long-title"'; 
    8282?> 
Note: See TracChangeset for help on using the changeset viewer.