WP Armour – Honeypot Anti Spam - Version 1.8.4

Version Description

  • removed complicated spam checker as it was creating issue for some users.
Download this release

Release Info

Developer dnesscarkey
Plugin Icon 128x128 WP Armour – Honeypot Anti Spam
Version 1.8.4
Comparing to
See all releases

Code changes from version 1.8.3 to 1.8.4

includes/wpa_functions.php CHANGED
@@ -7,18 +7,18 @@ function wpa_load_scripts(){
7
  $wpa_add_test = 'no';
8
  }
9
 
10
- if (!isset($_COOKIE['wpa_unique_id'])) {
11
  $wpa_unique_id = rand(111, 99999);
12
- setcookie('wpa_unique_id',$wpa_unique_id, '0');
13
- } else {
14
- $wpa_unique_id = $_COOKIE['wpa_unique_id'];
15
- }
16
 
17
  $wpa_hidden_field = "<span class='wpa_hidden_field' style='display:none;height:0;width:0;'><input type='text' name='".$GLOBALS['wpa_field_name']."' value='".$wpa_unique_id."' /></span>";
18
 
19
  echo '<script>var wpa_hidden_field = "'.$wpa_hidden_field.'"; var wpa_add_test = "'.$wpa_add_test.'";</script>';
20
- wp_enqueue_script( 'wpascript', plugins_url( '/js/wpa.js', __FILE__ ), array ( 'jquery' ), '1.8.3', true);
21
- wp_enqueue_style( 'wpa-css', plugins_url( '/css/wpa.css', __FILE__ ), array(), '1.8.3');
22
  }
23
 
24
  function wpa_plugin_menu(){
@@ -124,7 +124,8 @@ function wpa_unqiue_field_name(){
124
  }
125
 
126
  function wpa_check_is_spam($form_data){
127
- if (isset($form_data[$GLOBALS['wpa_field_name']]) && ($form_data[$GLOBALS['wpa_field_name']] == $_COOKIE['wpa_unique_id'])){
 
128
  return false;
129
  } else {
130
  return true;
7
  $wpa_add_test = 'no';
8
  }
9
 
10
+ //if (!isset($_COOKIE['wpa_unique_id'])) {
11
  $wpa_unique_id = rand(111, 99999);
12
+ // setcookie('wpa_unique_id',$wpa_unique_id, '0');
13
+ //} else {
14
+ //$wpa_unique_id = $_COOKIE['wpa_unique_id'];
15
+ //}
16
 
17
  $wpa_hidden_field = "<span class='wpa_hidden_field' style='display:none;height:0;width:0;'><input type='text' name='".$GLOBALS['wpa_field_name']."' value='".$wpa_unique_id."' /></span>";
18
 
19
  echo '<script>var wpa_hidden_field = "'.$wpa_hidden_field.'"; var wpa_add_test = "'.$wpa_add_test.'";</script>';
20
+ wp_enqueue_script( 'wpascript', plugins_url( '/js/wpa.js', __FILE__ ), array ( 'jquery' ), '1.8.4', true);
21
+ wp_enqueue_style( 'wpa-css', plugins_url( '/css/wpa.css', __FILE__ ), array(), '1.8.4');
22
  }
23
 
24
  function wpa_plugin_menu(){
124
  }
125
 
126
  function wpa_check_is_spam($form_data){
127
+ if (isset($form_data[$GLOBALS['wpa_field_name']])){
128
+ //if (isset($form_data[$GLOBALS['wpa_field_name']]) && ($form_data[$GLOBALS['wpa_field_name']] == $_COOKIE['wpa_unique_id'])){
129
  return false;
130
  } else {
131
  return true;
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dnesscarkey
3
  Donate link: https://dineshkarki.com.np/wp-armour-anti-spam
4
  Tags: anti spam, spam checker, spam filter, gravity forms, contact form 7
5
  Requires at least: 3.0
6
- Tested up to: 5.7
7
- Stable tag: 1.8.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -13,29 +13,46 @@ Anti spam filter that blocks spam bots including russian spam in Contact Form 7,
13
  == Description ==
14
  This plugins block spam submissions using honeypot anti spam technic. No Captcha or extra verification field hassle to the users. Only lets spam bots to suffer using our anti spam filter.
15
 
16
- <strong>What is honeypot anti spam ? </strong>
17
- As of now spam bots are unable to handle javascript and we exploit this point to add an extra fields to your forms using javascript as anti spam checker. Since spam bots are not able to see that field, we check if that field exists or not. If that field doesn't exists we will block spam submission.
18
-
19
- <strong>It works </strong>
20
-
21
- * For WP Comments
22
- * For WP Registraton
23
- * For BBPress Forum
24
- * For Contact Form 7
25
- * For Ninja Forms
26
- * For Gravity Forms (For Non Ajax and Single Page/Step Form)
27
- * For WPForms
28
- * For Formidable Forms
29
- * For Caldera Forms
30
- * For Toolset Forms
31
- * For Elementor Forms
32
- * For Fluent Forms
33
- * For Divi Theme Contact Form
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  <strong>How our plugin is different than other honeypot anti spam plugins ? </strong>
36
 
37
  * Works for most of the forms and wordpress system including registation and comments. So All in one anti spam solution.
38
- * No external calls.
39
  * GDPR Compliant.
40
  * Spam bots can't use javascript so we use javascript to insert honeypot anti spam field in the form and spam bots can't fill it to pass anti spam test.
41
  * Unique honeypot field name generated for each wordpress installation, so it is hard for spam bots to make one fit for all solution to bypass honeypot anti spam test.
@@ -46,24 +63,6 @@ As of now spam bots are unable to handle javascript and we exploit this point to
46
 
47
  If you have any issue, you can write to using <a title="WP Armour - Honeypot Anti Spam Forum" href="https://wordpress.org/support/plugin/honeypot/" target="_blank">support forum.</a>
48
 
49
- <strong>WP Armour - Anti Spam Extended</strong>
50
-
51
- * For WooCommerce Checkout
52
- * Easy Digital Downloads
53
- * QuForm Contact Form
54
- * Gravity Forms (For Ajax Based and Multi Step Forms)
55
- * MC4WP: Mailchimp for WordPress
56
- * S2 Members
57
- * HTMLform plugin
58
- * Avia Enfold Theme
59
- * BuddyPress
60
- * BuddyBoss
61
- * Logs spam bot IPs.
62
- * Block spam bot IPs if multiple spam is submitted. Add extra level of anti spam filter based on IPs. Needed to stop spam bot using unwanted bandwidth and save valuable server resource.
63
- * View what spam bot are trying to submit, so that you are sure our plugin is blocking legit spam bots.
64
-
65
- You can get the WP Armour - Anti Spam Extended from <a title="WP Armour Extended - Anti Spam" href="https://dineshkarki.com.np/buy-wp-armour-extended">here</a>
66
-
67
  <strong>Want itegration for other plugins for anti spam support ? </strong>
68
  You can fill this form and we will start working for it. <a href="https://forms.gle/VFhrQRtkjbwZ4Pbe9">https://forms.gle/VFhrQRtkjbwZ4Pbe9</a>
69
 
@@ -95,7 +94,7 @@ Spam submission are either created by spam bot or by manual submission from user
95
 
96
  = Forms i am using is not supported. Can you help ? =
97
 
98
- Ya, Please write to us using <a href="https://dineshkarki.com.np/forums/forum/wp-armour-honeypot-anti-spam" target="_blank">support forum</a> and we will try to add anti spam honeypot support to it.
99
 
100
  = How can i verify that honeypot anti spam protection is enabled ? =
101
 
@@ -115,23 +114,28 @@ By default our plugin generates unqiue honeypot anti spam field name so that the
115
 
116
  = Can i see what data spammers are trying to submit ? =
117
 
118
- With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can use <a title="WP Armour Extended - Anti Spam" href="https://dineshkarki.com.np/buy-wp-armour-extended">WP Armour Extended</a> and can see what data spammers are trying to submit. It also have feature to block ip address if there are multiple submission from same IP.
119
 
120
  == Screenshots ==
121
 
122
  1. Screenshot #1. WP Armour - Honeypot Anti Spam Settings
123
  1. Screenshot #2. WP Armour - Honeypot Anti Spam Statistics
124
- 1. Screenshot #3. Honeypot for Contact Form 7 ( anti spam filter enabled )
125
- 1. Screenshot #4. Honeypot for Formidable Forms ( anti spam filter enabled )
126
- 1. Screenshot #5. Honeypot for Gravity Forms ( anti spam filter enabled )
127
- 1. Screenshot #6. Honeypot for BBpress Wordpress Forum ( anti spam filter enabled )
128
- 1. Screenshot #7. Honeypot for Comment ( anti spam filter enabled )
129
- 1. Screenshot #8. Honeypot for WPForms ( anti spam filter enabled )
130
- 1. Screenshot #9. Honeypot for Caldera Forms ( anti spam filter enabled )
131
- 1. Screenshot #10. Honeypot for Divi Contact Forms ( anti spam filter enabled )
 
 
132
 
133
  == Changelog ==
134
 
 
 
 
135
  = = 1.8.3 =
136
  * Fixed false spam issue for some users.
137
 
@@ -142,7 +146,7 @@ With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can use
142
  * Fixed session issue.
143
 
144
  = = 1.8 =
145
- * Added dynamic value for honeypot field test
146
 
147
  = = 1.7.2 =
148
  * Added random field name generate button
@@ -158,10 +162,10 @@ With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can use
158
 
159
  = = 1.6 =
160
  * Removed WooCommerce Support from Lite version due to complications.
161
- * Added option to disable Wp Armour Widget.
162
 
163
  = = 1.5.9 =
164
- * Remove WooCommerce checkout
165
 
166
  = = 1.5.8 =
167
  * Fixed Extended verion save settings.
@@ -172,12 +176,12 @@ With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can use
172
 
173
  = = 1.5.6 =
174
  * Fixed Gravity Form Ajax Issue
175
- * Added anti spam support for Elementor Form Widget
176
- * Added anti spam support for Fluent Forms.
177
 
178
  = = 1.5.5 =
179
- * Added anti spam support for woocommerce.
180
- * Added anti spam support for divi contact form.
181
 
182
  = = 1.5.4 =
183
  * Added anti spam statictic in Dashboard for Extended version users.
@@ -193,7 +197,7 @@ With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can use
193
  * Added honeypot anti spam support for Caldera Forms.
194
 
195
  = = 1.5 =
196
- * WP Armour Test Panel added in forms. Only visible for Admin.
197
 
198
  = = 1.4 =
199
  * Added honeypot anti spam for Formidable Forms
3
  Donate link: https://dineshkarki.com.np/wp-armour-anti-spam
4
  Tags: anti spam, spam checker, spam filter, gravity forms, contact form 7
5
  Requires at least: 3.0
6
+ Tested up to: 5.8
7
+ Stable tag: 1.8.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
13
  == Description ==
14
  This plugins block spam submissions using honeypot anti spam technic. No Captcha or extra verification field hassle to the users. Only lets spam bots to suffer using our anti spam filter.
15
 
16
+ <strong>Automatic anti spam protection for following forms (Available in Free Version) . No setup required.</strong>
17
+
18
+ * WP Comments
19
+ * WP Registraton
20
+ * BBPress Forum (<a href="https://bbpress.org">bbpress.org</a>)
21
+ * Contact Form 7 (<a href="https://wordpress.org/plugins/contact-form-7">wordpress.org/plugins/contact-form-7</a>)
22
+ * Ninja Forms (<a href="https://ninjaforms.com">https://ninjaforms.com</a>)
23
+ * Gravity Forms (For Non Ajax and Single Page/Step Form - <a href="https://www.gravityforms.com">gravityforms.com</a>)
24
+ * WPForms (<a href="https://wpforms.com">wpforms.com</a>)
25
+ * Formidable Forms (<a href="https://formidableforms.com">formidableforms.com</a>)
26
+ * Caldera Forms (<a href="https://calderaforms.com">calderaforms.com</a>)
27
+ * Toolset Forms (<a href="https://toolset.com">toolset.com</a>)
28
+ * Elementor Forms (<a href="https://elementor.com">elementor.com</a>)
29
+ * Fluent Forms (<a href="https://fluentforms.com">fluentforms.com</a>)
30
+ * Divi Theme Contact Form (<a href="https://www.elegantthemes.com">elegantthemes.com</a>)
31
+ * WooCommerce Reviews (<a href="https://woocommerce.com">woocommerce.com</a>)
32
+
33
+ <strong>WP Armour Extended (Paid Version) supports additional anti spam protection and features.</strong>
34
+
35
+ * WooCommerce Checkout & Registration (<a href="https://woocommerce.com">woocommerce.com</a>)
36
+ * Easy Digital Downloads Checkout and Registration (<a href="https://easydigitaldownloads.com">easydigitaldownloads.com</a>)
37
+ * QuForm Contact Form (<a href="https://www.quform.com">quform.com</a>)
38
+ * Gravity Forms (For Ajax Based and Multi Step Forms - <a href="https://www.gravityforms.com">gravityforms.com</a>)
39
+ * MC4WP: Mailchimp for WordPress (<a href="https://www.mc4wp.com">mc4wp.com</a>)
40
+ * S2 Members (<a href="https://s2member.com">s2member.com</a>)
41
+ * HTMLform plugin (<a href="https://www.htmlformsplugin.com">htmlformsplugin.com</a>)
42
+ * Avia Enfold Theme (<a href="https://kriesi.at/themes/enfold">kriesi.at/themes/enfold</a>)
43
+ * BuddyPress (<a href="https://buddypress.org">buddypress.org</a>)
44
+ * BuddyBoss (<a href="https://www.buddyboss.com">buddyboss.com</a>)
45
+ * Logs spam bot IPs.
46
+ * Block spam bot IPs if multiple spam is submitted. Add extra level of anti spam filter based on IPs. Stops spam bot from using unwanted bandwidth and save valuable server resource.
47
+ * View what spam bot are trying to submit, so that you are sure our plugin is blocking legit spam bots.
48
+
49
+ You can get the WP Armour - Anti Spam Extended from <a title="WP Armour Extended - Anti Spam" href="https://dineshkarki.com.np/buy-wp-armour-extended">here</a>
50
+
51
 
52
  <strong>How our plugin is different than other honeypot anti spam plugins ? </strong>
53
 
54
  * Works for most of the forms and wordpress system including registation and comments. So All in one anti spam solution.
55
+ * No external API calls like Akismet or CleanTalk for spam filtering.
56
  * GDPR Compliant.
57
  * Spam bots can't use javascript so we use javascript to insert honeypot anti spam field in the form and spam bots can't fill it to pass anti spam test.
58
  * Unique honeypot field name generated for each wordpress installation, so it is hard for spam bots to make one fit for all solution to bypass honeypot anti spam test.
63
 
64
  If you have any issue, you can write to using <a title="WP Armour - Honeypot Anti Spam Forum" href="https://wordpress.org/support/plugin/honeypot/" target="_blank">support forum.</a>
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  <strong>Want itegration for other plugins for anti spam support ? </strong>
67
  You can fill this form and we will start working for it. <a href="https://forms.gle/VFhrQRtkjbwZ4Pbe9">https://forms.gle/VFhrQRtkjbwZ4Pbe9</a>
68
 
94
 
95
  = Forms i am using is not supported. Can you help ? =
96
 
97
+ Ya, Please write to us using <a href="https://forms.gle/VFhrQRtkjbwZ4Pbe9">https://forms.gle/VFhrQRtkjbwZ4Pbe9</a> and we will try to add anti spam protection support to it.
98
 
99
  = How can i verify that honeypot anti spam protection is enabled ? =
100
 
114
 
115
  = Can i see what data spammers are trying to submit ? =
116
 
117
+ With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can use <a title="WP Armour Extended - Anti Spam" href="https://dineshkarki.com.np/buy-wp-armour-extended">WP Armour Extended</a> and can see what data spammers are trying to submit. It also have feature to block ip address if there are multiple submission from same IP and adds extra layer of spam protection.
118
 
119
  == Screenshots ==
120
 
121
  1. Screenshot #1. WP Armour - Honeypot Anti Spam Settings
122
  1. Screenshot #2. WP Armour - Honeypot Anti Spam Statistics
123
+ 1. Screenshot #3. Honeypot for Contact Form 7 ( anti spam for contact form 7 )
124
+ 1. Screenshot #4. Honeypot for Formidable Forms ( anti spam for formidable forms)
125
+ 1. Screenshot #5. Honeypot for Gravity Forms ( anti spam for gravity forms )
126
+ 1. Screenshot #6. Honeypot for BBpress Wordpress Forum ( anti spam for bbpress forums )
127
+ 1. Screenshot #7. Honeypot for Comment ( anti spam for comments )
128
+ 1. Screenshot #8. Honeypot for WPForms ( anti spam for WPForms )
129
+ 1. Screenshot #9. Honeypot for Caldera Forms ( anti spam for caldera forms)
130
+ 1. Screenshot #10. Honeypot for Divi Contact Forms ( anti spam for Divi contact forms )
131
+ 1. Screenshot #11. Anti Spam for WooCommerce Checkout (Available in Extended version)
132
+ 1. Screenshot #11. Anti Spam for Fluent Forms
133
 
134
  == Changelog ==
135
 
136
+ = = 1.8.4 =
137
+ * removed complicated spam checker as it was creating issue for some users.
138
+
139
  = = 1.8.3 =
140
  * Fixed false spam issue for some users.
141
 
146
  * Fixed session issue.
147
 
148
  = = 1.8 =
149
+ * Added dynamic value for honeypot field test for more powerfull spam blocker.
150
 
151
  = = 1.7.2 =
152
  * Added random field name generate button
162
 
163
  = = 1.6 =
164
  * Removed WooCommerce Support from Lite version due to complications.
165
+ * Added option to disable Wp Armour Anti Spam Widget.
166
 
167
  = = 1.5.9 =
168
+ * Removed WooCommerce checkout spam protection.
169
 
170
  = = 1.5.8 =
171
  * Fixed Extended verion save settings.
176
 
177
  = = 1.5.6 =
178
  * Fixed Gravity Form Ajax Issue
179
+ * Added anti spam protection for Elementor Form Widget
180
+ * Added anti spam protection for Fluent Forms.
181
 
182
  = = 1.5.5 =
183
+ * Added anti spam protection for woocommerce.
184
+ * Added anti spam protection for divi contact form.
185
 
186
  = = 1.5.4 =
187
  * Added anti spam statictic in Dashboard for Extended version users.
197
  * Added honeypot anti spam support for Caldera Forms.
198
 
199
  = = 1.5 =
200
+ * WP Armour Test Panel added in forms to confirm spam protection is enabled. Only visible for Admin.
201
 
202
  = = 1.4 =
203
  * Added honeypot anti spam for Formidable Forms
screenshot-11.png ADDED
Binary file
screenshot-12.png ADDED
Binary file
wp-armour.php CHANGED
@@ -5,7 +5,7 @@ Plugin Name: WP Armour - Honeypot Anti Spam
5
  Plugin URI: http://wordpress.org/plugins/honeypot/
6
  Description: Add honeypot anti spam protection.
7
  Author: Dnesscarkey
8
- Version: 1.8.3
9
  Author URI: https://dineshkarki.com.np/wp-armour-anti-spam
10
  */
11
 
5
  Plugin URI: http://wordpress.org/plugins/honeypot/
6
  Description: Add honeypot anti spam protection.
7
  Author: Dnesscarkey
8
+ Version: 1.8.4
9
  Author URI: https://dineshkarki.com.np/wp-armour-anti-spam
10
  */
11