From cce502be78a9f58b1c9cafba7c2f4e8ef8536388 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 7 Oct 2019 15:18:03 +0000 Subject: [PATCH] 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 --- wp-includes/ms-deprecated.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/ms-deprecated.php b/wp-includes/ms-deprecated.php index cbc27bc856..0ceab16eda 100644 --- a/wp-includes/ms-deprecated.php +++ b/wp-includes/ms-deprecated.php @@ -274,9 +274,9 @@ function wpmu_admin_do_redirect( $url = '' ) { 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 ); } elseif ( isset( $_POST['ref'] ) ) { - $ref = $_POST[ 'ref' ]; + $ref = $_POST['ref']; } elseif ( isset( $_GET['ref'] ) ) { - $ref = $_GET[ 'ref' ]; + $ref = $_GET['ref']; } if ( $ref ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index aa943da4f6..dab17a50b3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.