From b3ad0be6fa964b69d2fa8cab91f2683c2e80627e Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 23 Oct 2007 09:01:39 +0000 Subject: 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 --- wp-settings.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wp-settings.php') 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(); -- cgit