WordPress.org

Make WordPress Core

Changeset 45582


Ignore:
Timestamp:
07/01/2019 08:26:25 AM (5 months ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in the base directory.

See #47632.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r45412 r45582  
    551551
    552552        if ( ! empty( $_REQUEST['redirect_to'] ) ) {
    553             $redirect_to = $requested_redirect_to = $_REQUEST['redirect_to'];
     553            $redirect_to           = $_REQUEST['redirect_to'];
     554            $requested_redirect_to = $redirect_to;
    554555        } else {
    555556            $redirect_to           = 'wp-login.php?loggedout=true';
  • trunk/src/wp-settings.php

    r45519 r45582  
    528528// Check site status
    529529if ( is_multisite() ) {
    530     if ( true !== ( $file = ms_site_check() ) ) {
     530    $file = ms_site_check();
     531    if ( true !== $file ) {
    531532        require( $file );
    532533        die();
Note: See TracChangeset for help on using the changeset viewer.