Coding Standards: Fix the `Squiz.PHP.DisallowMultipleAssignments` violations in the base directory.
See #47632. Built from https://develop.svn.wordpress.org/trunk@45582 git-svn-id: http://core.svn.wordpress.org/trunk@45393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0d23be600e
commit
b2d5a4216c
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45581';
|
||||
$wp_version = '5.3-alpha-45582';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
@ -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…
Reference in New Issue