Changeset 39005 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 10/29/2016 11:22:50 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/l10n.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r38978 r39005 49 49 if ( defined( 'WPLANG' ) ) { 50 50 $locale = WPLANG; 51 }52 53 // If $wpdb hasn't been initialised yet, we can only return what we have.54 if ( ! $wpdb ) {55 if ( ! $locale ) {56 $locale = 'en_US';57 }58 59 /** This filter is documented in wp-includes/l10n.php */60 return apply_filters( 'locale', $locale );61 51 } 62 52
Note: See TracChangeset
for help on using the changeset viewer.