Coding Standards: Fix PHPCS issue introduced in [44931].
See #44901. git-svn-id: https://develop.svn.wordpress.org/trunk@44932 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d941cf62ee
commit
c62eab00a7
@ -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
Block a user