Ticket #6092: 6092.diff
| File 6092.diff, 716 bytes (added by tenpura, 5 years ago) |
|---|
-
wp-settings.php
355 355 * In most cases the default internal encoding is latin1, which is of no use, 356 356 * since we want to use the mb_ functions for utf-8 strings 357 357 */ 358 if ( function_exists('mb_internal_encoding') ) 359 mb_internal_encoding( get_option( 'blog_charset' ) ); 358 if (function_exists('mb_internal_encoding')) { 359 if (get_option('blog_charset')) 360 mb_internal_encoding(get_option('blog_charset')); 361 else 362 mb_internal_encoding('UTF-8'); 363 } 360 364 361 365 362 363 366 if ( defined('WP_CACHE') && function_exists('wp_cache_postload') ) 364 367 wp_cache_postload(); 365 368