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 .

git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43708 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-10-11 04:22:05 +00:00
parent 69b6690178
commit 50b9728d6a

@ -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 ) ) {