diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-10-23 09:01:39 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-10-23 09:01:39 +0000 |
commit | b3ad0be6fa964b69d2fa8cab91f2683c2e80627e (patch) | |
tree | 24e4c7864239b0abf38981704f28863521b3e3d0 /wp-settings.php | |
parent | e22b42332591c5c845c5dd513afe4ff9a9b7a565 (diff) | |
download | wordpress-mu-b3ad0be6fa964b69d2fa8cab91f2683c2e80627e.tar.gz wordpress-mu-b3ad0be6fa964b69d2fa8cab91f2683c2e80627e.tar.xz wordpress-mu-b3ad0be6fa964b69d2fa8cab91f2683c2e80627e.zip |
Make sure it's really false, props momo360modena, #464
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1123 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-settings.php')
-rw-r--r-- | wp-settings.php | 8 |
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(); |