3146* @since 4.3.0 Previously key hashes were stored without an expiration time.3147*3148* @param WP_Error$returnA WP_Error object denoting an expired key.3149*Return a WP_User object to validate the key.3150* @param int$user_id The matched user ID.3151*/3152returnapply_filters('password_reset_key_expired',$return,$user_id);3153}31543155returnnewWP_Error('invalid_key',__('Invalid key.'));3156}31573158/**
History
Introduced in 4.3.0. Unchanged from 6.7.7 through 7.1.0.