PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.15
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.15
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Modules/Payments/TransactionShortcodes.php +10 -0 6.2.10 → 6.2.15 View file →
@@ -116,8 +116,18 @@
116 116 }
117 117
118 118 $submission = fluentFormApi('submissions')->find($transaction->submission_id);
119 119
120 + // A trashed entry's receipt must not render on the public route.
121 + if ($submission && 'trashed' === $submission->status) {
122 + if ($echo) {
123 + status_header(200);
124 + echo esc_html__('Sorry no transaction found', 'fluentform');
125 + exit(200);
126 + }
127 + return '';
128 + }
129 +
120 130 if ($transaction->transaction_type == 'subscription') {
121 131 $transaction->subscription = fluentFormApi('submissions')->getSubscription($transaction->subscription_id);
122 132 }
123 133