Changeset 29691 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 09/03/2014 08:02:53 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r29479 r29691 3362 3362 case 'WPLANG': 3363 3363 $allowed = get_available_languages(); 3364 if ( ! in_array( $value, $allowed ) && ! empty( $value ) ) 3364 if ( ! is_multisite() && defined( 'WPLANG' ) && '' !== WPLANG && 'en_US' !== WPLANG ) { 3365 $allowed[] = WPLANG; 3366 } 3367 if ( ! in_array( $value, $allowed ) && ! empty( $value ) ) { 3365 3368 $value = get_option( $option ); 3369 } 3366 3370 break; 3367 3371
Note: See TracChangeset
for help on using the changeset viewer.