Skip to content
Permalink
Browse files

Privacy: Revert [43624] from the 4.9 branch.

This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #44685.

git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43708 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Oct 11, 2018
1 parent 69b6690 commit 50b9728d6aa99881a9cdb70a3d190b5f8fb67edd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wp-includes/user.php
@@ -3430,7 +3430,7 @@ function wp_validate_user_request_key( $request_id, $key ) {
}
if ( ! in_array( $request->status, array( 'request-pending', 'request-failed' ), true ) ) {
return new WP_Error( 'expired_link', __( 'This link has expired.' ) );
return __( 'This link has expired.' );
}
if ( empty( $key ) ) {

0 comments on commit 50b9728

Please sign in to comment.
You can’t perform that action at this time.