3084* @since 4.3.0 Previously key hashes were stored without an expiration time.3085*3086* @param WP_Error$returnA WP_Error object denoting an expired key.3087*Return a WP_User object to validate the key.3088* @param int$user_id The matched user ID.3089*/3090returnapply_filters('password_reset_key_expired',$return,$user_id);3091}30923093returnnewWP_Error('invalid_key',__('Invalid key.'));3094}30953096/**
History
Introduced in 4.3.0. Unchanged from 6.7.7 through 7.1.0.