Changeset 34828 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 10/05/2015 03:05:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r34781 r34828 54 54 if ( is_multisite() ) { 55 55 // Don't check blog option when installing. 56 if ( defined( 'WP_INSTALLING') || ( false === $ms_locale = get_option( 'WPLANG' ) ) ) {56 if ( wp_installing() || ( false === $ms_locale = get_option( 'WPLANG' ) ) ) { 57 57 $ms_locale = get_network_option( 'WPLANG' ); 58 58 } … … 636 636 } 637 637 638 if ( is_admin() || defined( 'WP_INSTALLING') || ( defined( 'WP_REPAIRING' ) && WP_REPAIRING ) ) {638 if ( is_admin() || wp_installing() || ( defined( 'WP_REPAIRING' ) && WP_REPAIRING ) ) { 639 639 load_textdomain( 'default', WP_LANG_DIR . "/admin-$locale.mo" ); 640 640 }
Note: See TracChangeset
for help on using the changeset viewer.