Ticket #464: fix_languages_settings.patch

File fix_languages_settings.patch, 511 bytes (added by momo360modena, 11 months ago)
  • wp-settings.php

    old new  
    249249        $current_site->site_name = ucfirst( $current_site->domain ); 
    250250} 
    251251 
    252 if( defined( "WP_INSTALLING" ) == false ) { 
    253         $locale = get_option( "WPLANG" ); 
    254         if( $locale == false ) 
     252if( defined("WP_INSTALLING") == false ) { 
     253        $locale = get_option('WPLANG'); 
     254        if( $locale === false ) 
    255255                $locale = get_site_option( "WPLANG" ); 
    256256} 
    257257