Ticket #18783: 18783.diff
| File 18783.diff, 570 bytes (added by , 15 years ago) |
|---|
-
wp-includes/l10n.php
36 36 $locale = WPLANG; 37 37 38 38 // If multisite, check options. 39 if ( is_multisite() && !defined('WP_INSTALLING') ) { 40 $ms_locale = get_option('WPLANG'); 41 if ( $ms_locale === false ) 39 if ( is_multisite() ) { 40 if ( defined( 'WP_INSTALLING' ) || false === ( $ms_locale = get_option( 'WPLANG' ) ) ) 42 41 $ms_locale = get_site_option('WPLANG'); 43 42 44 43 if ( $ms_locale !== false )