diff --git a/admin/CF7_AntiSpam_Admin_Customizations.php b/admin/CF7_AntiSpam_Admin_Customizations.php
index f01f77b..f6d4d72 100644
--- a/admin/CF7_AntiSpam_Admin_Customizations.php
+++ b/admin/CF7_AntiSpam_Admin_Customizations.php
@@ -1535,6 +1535,12 @@ public function cf7a_honeyform_excluded_pages_callback() {
}
}
wp_reset_postdata();
+ $allowed_html = array(
+ 'option' => array(
+ 'selected' => array(),
+ 'value' => array(),
+ ),
+ );
printf(
'
',
- esc_html( $options ),
+ wp_kses( $options, $allowed_html ),
esc_html__( 'Add', 'cf7-antispam' ),
- esc_html( $str_excluded ),
+ wp_kses( $str_excluded, $allowed_html ),
esc_html__( 'Remove', 'cf7-antispam' )
);
}
diff --git a/cf7-antispam.php b/cf7-antispam.php
index 312fd0b..da17cb4 100644
--- a/cf7-antispam.php
+++ b/cf7-antispam.php
@@ -2,7 +2,7 @@
/**
* Plugin Name: AntiSpam for Contact Form 7
* Description: A trustworthy antispam plugin for Contact Form 7. Simple but effective.
- * Author: Codekraft, gardenboi
+ * Author: Codekraft
* Text Domain: cf7-antispam
* Domain Path: /languages/
* Version: 0.6.0
diff --git a/core/CF7_AntiSpam_Frontend.php b/core/CF7_AntiSpam_Frontend.php
index a483ce4..3e2ede3 100644
--- a/core/CF7_AntiSpam_Frontend.php
+++ b/core/CF7_AntiSpam_Frontend.php
@@ -497,7 +497,7 @@ public function cf7a_check_resend( $cf7, &$abort, $submission ) {
return;
}
- $hash = sanitize_text_field( preg_replace( '/[^A-Za-z0-9 ]/', '', $raw_hash ) );
+ $hash = preg_replace( '/[^A-Za-z0-9 ]/', '', $raw_hash );
// get the expiration time
$expire = apply_filters( 'cf7a_resend_timeout', 5 );
diff --git a/core/CF7_Antispam_Service.php b/core/CF7_Antispam_Service.php
index e4b255b..c437ff2 100644
--- a/core/CF7_Antispam_Service.php
+++ b/core/CF7_Antispam_Service.php
@@ -250,7 +250,7 @@ public function display( $action = '' ) {
// Display the form
echo '