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:
desrosj 2019-03-19 02:48:49 +00:00
parent 86eb60b307
commit 574f7a221f
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
*
* @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.

View File

@ -861,8 +861,8 @@ switch ( $action ) {
}
$request_id = (int) $_GET['request_id'];
$key = sanitize_text_field( wp_unslash( $_GET['confirm_key'] ) );
$result = wp_validate_user_request_key( $request_id, $key );
$key = sanitize_text_field( wp_unslash( $_GET['confirm_key'] ) );
$result = wp_validate_user_request_key( $request_id, $key );
if ( is_wp_error( $result ) ) {
wp_die( $result );