Ticket #16023: 16023.diff
| File 16023.diff, 558 bytes (added by nacin, 2 years ago) |
|---|
-
wp-includes/l10n.php
32 32 return apply_filters( 'locale', $locale ); 33 33 34 34 // WPLANG is defined in wp-config. 35 if ( defined( 'WPLANG' ) ) 35 if ( defined( 'WPLANG' ) ) { 36 36 $locale = WPLANG; 37 if ( 2 == strlen( $locale ) ) 38 $locale = strtolower( $locale ) . '_' . strtoupper( $locale ); 39 } 37 40 38 41 // If multisite, check options. 39 42 if ( is_multisite() && !defined('WP_INSTALLING') ) {
