Changeset 28774 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 06/18/2014 07:57:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r28083 r28774 27 27 global $locale; 28 28 29 if ( isset( $locale ) ) 29 if ( isset( $locale ) ) { 30 30 /** 31 31 * Filter WordPress install's locale ID. … … 36 36 */ 37 37 return apply_filters( 'locale', $locale ); 38 } 38 39 39 40 // WPLANG is defined in wp-config. … … 49 50 if ( $ms_locale !== false ) 50 51 $locale = $ms_locale; 52 } elseif ( ! defined( 'WP_INSTALLING' ) ) { 53 $db_locale = get_option( 'WPLANG' ); 54 if ( $db_locale ) { 55 $locale = $db_locale; 56 } 51 57 } 52 58
Note: See TracChangeset
for help on using the changeset viewer.