first commit

This commit is contained in:
2024-11-10 21:08:49 +01:00
commit 0d932ce5ee
14455 changed files with 2567501 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
foreach($_POST as $param => $value){
if(strpos($param, 'et_pb_contactform_submit') === 0){
$is_divi_form = 'true';
$divi_form_additional = str_replace('et_pb_contactform_submit', '', $param);
}
}
if(!empty($is_divi_form) && $is_divi_form == 'true'){
if (wpa_check_is_spam($_POST)){
do_action('wpa_handle_spammers','divi_form', $_POST);
echo "<div id='et_pb_contact_form{$divi_form_additional}'><p>".$GLOBALS['wpa_error_message']."</p><div></div></div>";
die();
}
}