mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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:
parent
99e5c1e9ed
commit
5fe76184f2
@ -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 = '';
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user