summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wp-settings.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/wp-settings.php b/wp-settings.php
index 1739beb..8636bde 100644
--- a/wp-settings.php
+++ b/wp-settings.php
@@ -249,10 +249,10 @@ if( $current_site->site_name == false ) {
$current_site->site_name = ucfirst( $current_site->domain );
}
-if( defined( "WP_INSTALLING" ) == false ) {
- $locale = get_option( "WPLANG" );
- if( $locale == false )
- $locale = get_site_option( "WPLANG" );
+if( defined('WP_INSTALLING') == false ) {
+ $locale = get_option('WPLANG');
+ if( $locale === false )
+ $locale = get_site_option('WPLANG');
}
$wpdb->hide_errors();