Ticket #44685: 44685.diff
File 44685.diff, 459 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/user.php
3508 3508 } 3509 3509 3510 3510 if ( ! in_array( $request->status, array( 'request-pending', 'request-failed' ), true ) ) { 3511 return __( 'This link has expired.');3511 return new WP_Error( 'expired_link', __( 'This link has expired.' ) ); 3512 3512 } 3513 3513 3514 3514 if ( empty( $key ) ) {