Ticket #46079: user.php.patch
| File user.php.patch, 506 bytes (added by , 7 years ago) |
|---|
-
wp-includes/user.php
diff --git a/wp-includes/user.php b/wp-includes/user.php index 064f514..fbb0fb9 100644
a b function wp_validate_user_request_key( $request_id, $key ) { 3570 3570 } 3571 3571 3572 3572 if ( ! in_array( $request->status, array( 'request-pending', 'request-failed' ), true ) ) { 3573 return new WP_Error( 'expired_link', __( ' Thislink has expired.' ) );3573 return new WP_Error( 'expired_link', __( 'Request link has expired.' ) ); 3574 3574 } 3575 3575 3576 3576 if ( empty( $key ) ) {