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

See #47632.



git-svn-id: https://develop.svn.wordpress.org/trunk@45582 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2019-07-01 08:26:25 +00:00
parent 99e5c1e9ed
commit 5fe76184f2
2 changed files with 4 additions and 2 deletions

View File

@ -550,7 +550,8 @@ switch ( $action ) {
wp_logout();
if ( ! empty( $_REQUEST['redirect_to'] ) ) {
$redirect_to = $requested_redirect_to = $_REQUEST['redirect_to'];
$redirect_to = $_REQUEST['redirect_to'];
$requested_redirect_to = $redirect_to;
} else {
$redirect_to = 'wp-login.php?loggedout=true';
$requested_redirect_to = '';

View File

@ -527,7 +527,8 @@ do_action( 'init' );
// Check site status
if ( is_multisite() ) {
if ( true !== ( $file = ms_site_check() ) ) {
$file = ms_site_check();
if ( true !== $file ) {
require( $file );
die();
}