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. Built from https://develop.svn.wordpress.org/branches/4.9@43708 git-svn-id: http://core.svn.wordpress.org/branches/4.9@43537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f6edca7a9e
commit
3769f76ca6
|
@ -3430,7 +3430,7 @@ function wp_validate_user_request_key( $request_id, $key ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! in_array( $request->status, array( 'request-pending', 'request-failed' ), true ) ) {
|
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 ) ) {
|
if ( empty( $key ) ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9.9-alpha-43707';
|
$wp_version = '4.9.9-alpha-43708';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue