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.