Ticket #44298: patch.diff
File patch.diff, 507 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/user.php
diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 566702f4fc..d309e2f0a7 100644
a b function wp_validate_user_request_key( $request_id, $key ) { 3509 3509 } 3510 3510 3511 3511 if ( ! $expiration_time || time() > $expiration_time ) { 3512 $return =new WP_Error( 'expired_key', __( 'The confirmation email has expired.' ) );3512 return new WP_Error( 'expired_key', __( 'The confirmation email has expired.' ) ); 3513 3513 } 3514 3514 3515 3515 return true;