PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.18.0
GiveWP – Donation Plugin and Fundraising Platform v4.18.0
4.18.0 4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 All 257 releases
← All changes | src/PaymentGateways/Gateways/Stripe/Traits/CheckoutModal.php +2 -1 4.15.2 → 4.18.0 View file →
@@ -13,8 +13,9 @@
13 13 /**
14 14 * @param int $formId Donation Form ID.
15 15 * @param array $args Donation Form Arguments.
16 16 *
17 + * @since 4.16.3 Escaped the submit button label in the Stripe checkout modal.
17 18 * @since 2.19.0 Migrated from the legacy Give_Stripe_Checkout::showCheckoutModal implementation of the Stripe Checkout Gateway.
18 19 *
19 20 * @return string
20 21 */
@@ -128,9 +129,9 @@
128 129 echo sprintf(
129 130 '<input type="submit" class="%1$s" id="%2$s" value="%3$s" data-before-validation-label="%3$s" name="%4$s" data-is_legacy_form="%5$s" disabled/>',
130 131 FormUtils::isLegacyForm() ? 'give-btn give-stripe-checkout-modal-donate-button' : 'give-btn give-stripe-checkout-modal-sequoia-donate-button',
131 132 "give-stripe-checkout-modal-donate-button-{$idPrefix}",
132 - $display_label,
133 + esc_attr($display_label),
133 134 'give_stripe_modal_donate',
134 135 FormUtils::isLegacyForm()
135 136 );
136 137 ?>