WordPress.org

Make WordPress Core

Ticket #6092: 6092-2.diff

File 6092-2.diff, 492 bytes (added by tenpura, 10 years ago)
  • wp-settings.php

     
    356356 * since we want to use the mb_ functions for utf-8 strings
    357357 */
    358358if (function_exists('mb_internal_encoding')) {
    359         if (get_option('blog_charset'))
    360                 mb_internal_encoding(get_option('blog_charset'));
    361         else
     359        if (!@mb_internal_encoding(get_option('blog_charset')))
    362360                mb_internal_encoding('UTF-8');
    363361}
    364362