3238* @since 4.3.0 Previously key hashes were stored without an expiration time.3239*3240* @param WP_Error$returnA WP_Error object denoting an expired key.3241*Return a WP_User object to validate the key.3242* @param int$user_id The matched user ID.3243*/3244returnapply_filters('password_reset_key_expired',$return,$user_id);3245}32463247returnnewWP_Error('invalid_key',__('Invalid key.'));3248}32493250/**
History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.