PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.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 2.3.2 All 256 releases
← All changes | includes/emails/actions.php +1 -1 2.3.24.17.0 View file →
@@ -24,9 +24,9 @@
24 24 * @return void
25 25 */
26 26 function give_trigger_donation_receipt( $payment_id ) {
27 27 // Make sure we don't send a receipt while editing a donation.
28 - if ( isset( $_POST['give-action'] ) && 'edit_payment' == $_POST['give-action'] ) {
28 + if ( ! is_numeric( $payment_id ) ) {
29 29 return;
30 30 }
31 31
32 32 // Send email.