3179* @since 4.3.0 Previously key hashes were stored without an expiration time.3180*3181* @param WP_Error$returnA WP_Error object denoting an expired key.3182*Return a WP_User object to validate the key.3183* @param int$user_id The matched user ID.3184*/3185returnapply_filters('password_reset_key_expired',$return,$user_id);3186}31873188returnnewWP_Error('invalid_key',__('Invalid key.'));3189}31903191/**
History
Introduced in 4.3.0. Unchanged from 6.7.7 through 7.1.0.