Callback hooked into give_form_html_tags
incorrectly returns array|bool
#6771
Labels
keep-fresh
"Keep Fresh" issues should not be marked as stale.
type: bug
Existing functionality is broken
Details
The callback function
give_stripe_form_add_data_tag_keys
incorrectly returnsarray|bool
for a filter that only supports anarray
return type.In a rare condition, such as the legacy Stripe front-end files being loaded when a Stripe gateway is not active, the early return value of
false
breaks the output of the form HTML.For example, see impress-org/givewp-next-gen#164.
Visuals
The text was updated successfully, but these errors were encountered: