3219* @since 4.3.0 Previously key hashes were stored without an expiration time.3220*3221* @param WP_Error$returnA WP_Error object denoting an expired key.3222*Return a WP_User object to validate the key.3223* @param int$user_id The matched user ID.3224*/3225returnapply_filters('password_reset_key_expired',$return,$user_id);3226}32273228returnnewWP_Error('invalid_key',__('Invalid key.'));3229}32303231/**
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.