diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index efa1fb6288..6415d95c33 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -3531,9 +3531,9 @@ function wp_generate_user_request_key( $request_id ) { wp_update_post( array( - 'ID' => $request_id, - 'post_status' => 'request-pending', - 'post_password' => $wp_hasher->HashPassword( $key ), + 'ID' => $request_id, + 'post_status' => 'request-pending', + 'post_password' => $wp_hasher->HashPassword( $key ), ) );