PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
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 2.3.2 2.30.0 All 255 releases
← All changes | src/DonationForms/DataTransferObjects/ValidationRouteData.php +6 -4 4.15.24.16.9 View file →
@@ -75,14 +75,16 @@
75 75 }
76 76
77 77 $validatedValues = $validator->validated();
78 78
79 - /**
79 + /**
80 + * @since 4.16.0 added $isFinalSubmission (false here: per-step validation, not the final submission)
80 81 * @since 3.22.0
81 - /**
82 - * @param array $validatedValues validated values in key value pairs
82 + *
83 + * @param array $validatedValues validated values in key value pairs
84 + * @param bool $isFinalSubmission whether this is the final donation submission
83 85 */
84 - do_action('givewp_donation_form_fields_validated', $validatedValues);
86 + do_action('givewp_donation_form_fields_validated', $validatedValues, false);
85 87
86 88 return new JsonResponse(['valid' => true]);
87 89 }
88 90