mirror of
git://develop.git.wordpress.org/
synced 2025-04-27 15:42:39 +02:00
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
This commit is contained in:
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 ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user