mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
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:
parent
e9065659f4
commit
cce502be78
@ -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 ) {
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user