Coding Standards: Fix PHPCS issue introduced in [44931].
See #44901. Built from https://develop.svn.wordpress.org/trunk@44932 git-svn-id: http://core.svn.wordpress.org/trunk@44763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
86eb60b307
commit
574f7a221f
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-alpha-44931';
|
$wp_version = '5.2-alpha-44932';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
|
@ -861,8 +861,8 @@ switch ( $action ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$request_id = (int) $_GET['request_id'];
|
$request_id = (int) $_GET['request_id'];
|
||||||
$key = sanitize_text_field( wp_unslash( $_GET['confirm_key'] ) );
|
$key = sanitize_text_field( wp_unslash( $_GET['confirm_key'] ) );
|
||||||
$result = wp_validate_user_request_key( $request_id, $key );
|
$result = wp_validate_user_request_key( $request_id, $key );
|
||||||
|
|
||||||
if ( is_wp_error( $result ) ) {
|
if ( is_wp_error( $result ) ) {
|
||||||
wp_die( $result );
|
wp_die( $result );
|
||||||
|
|
Loading…
Reference in New Issue