← All changes
|
includes/widgets/Form_Builder/helpers/Send_Email.php
+2
-0
51.1.65
→
51.1.86
View file →
| @@ -27,8 +27,10 @@ | ||
| 27 | 27 | if (!wp_verify_nonce($nonce, 'king-addons-js')) { |
| 28 | 28 | return; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | + Form_Builder_Security::guard_spam(); | |
| 32 | + | |
| 31 | 33 | $message_body = []; |
| 32 | 34 | |
| 33 | 35 | // Security fix: Validate and sanitize form_content array |
| 34 | 36 | $form_content = isset($_POST['form_content']) && is_array($_POST['form_content']) ? $_POST['form_content'] : []; |