Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (6 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/l10n.php

    r45254 r45590  
    5454    if ( is_multisite() ) {
    5555        // Don't check blog option when installing.
    56         if ( wp_installing() || ( false === $ms_locale = get_option( 'WPLANG' ) ) ) {
     56        if ( wp_installing() ) {
    5757            $ms_locale = get_site_option( 'WPLANG' );
     58        } else {
     59            $ms_locale = get_option( 'WPLANG' );
     60            if ( false === $ms_locale ) {
     61                $ms_locale = get_site_option( 'WPLANG' );
     62            }
    5863        }
    5964
Note: See TracChangeset for help on using the changeset viewer.