Coding Standards: Fix WPCS issues in wp-includes/ms-deprecated.php.

Props itowhid06.
Fixes #48237.
Built from https://develop.svn.wordpress.org/trunk@46420


git-svn-id: http://core.svn.wordpress.org/trunk@46218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-10-07 15:18:03 +00:00
parent e9065659f4
commit cce502be78
2 changed files with 3 additions and 3 deletions

View File

@ -274,9 +274,9 @@ function wpmu_admin_do_redirect( $url = '' ) {
if ( isset( $_GET['ref'] ) && isset( $_POST['ref'] ) && $_GET['ref'] !== $_POST['ref'] ) { if ( isset( $_GET['ref'] ) && isset( $_POST['ref'] ) && $_GET['ref'] !== $_POST['ref'] ) {
wp_die( __( 'A variable mismatch has been detected.' ), __( 'Sorry, you are not allowed to view this item.' ), 400 ); wp_die( __( 'A variable mismatch has been detected.' ), __( 'Sorry, you are not allowed to view this item.' ), 400 );
} elseif ( isset( $_POST['ref'] ) ) { } elseif ( isset( $_POST['ref'] ) ) {
$ref = $_POST[ 'ref' ]; $ref = $_POST['ref'];
} elseif ( isset( $_GET['ref'] ) ) { } elseif ( isset( $_GET['ref'] ) ) {
$ref = $_GET[ 'ref' ]; $ref = $_GET['ref'];
} }
if ( $ref ) { if ( $ref ) {

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-beta2-46419'; $wp_version = '5.3-beta2-46420';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.