WordPress.org

Make WordPress Core

Changeset 7157 for trunk/wp-settings.php


Ignore:
Timestamp:
03/04/08 19:25:00 (6 years ago)
Author:
ryan
Message:

Fallback to UTF-8 if not valid mb_internal_encoding. Props tenpura. fixes #6092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r7156 r7157  
    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} 
Note: See TracChangeset for help on using the changeset viewer.