Summery Summery
Filters the return value of check_password_reset_key() when an old-style key is used.
Syntax Syntax
Parameters Parameters
- $return
-
A WP_Error object denoting an expired key. Return a WP_User object to validate the key.
- $user_id
-
The matched user ID.
Source Source
File: wp-includes/user.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.3.0 | Previously key hashes were stored without an expiration time. |
3.7.0 | Introduced. |