Antispam Bee - Version 2.9.4

Version Description

Download this release

Release Info

Developer pluginkollektiv
Plugin Icon 128x128 Antispam Bee
Version 2.9.4
Comparing to
See all releases

Code changes from version 2.9.3 to 2.9.4

Files changed (4) hide show
  1. CHANGELOG.md +13 -0
  2. README.md +1 -0
  3. antispam_bee.php +8 -2
  4. readme.txt +14 -4
CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
  ## Changelog ##
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ### 2.9.3 ###
4
  * **English**
5
  * Fixed: Compatibility with WordPress 5.5
1
  ## Changelog ##
2
 
3
+ ### 2.9.4 ###
4
+ * **English**
5
+ * Enhancement: Add filter to allow ajax calls
6
+ * Tweak: Better wording for BBCode feature in plugin description
7
+ * Tweak: Better screenshots in the plugin directory
8
+ * Maintenance: Tested up to WordPress 5.7
9
+
10
+ * **Deutsch**
11
+ * Verbesserung: Filter hinzugefügt, um Ajax-Aufrufe zuzulassen
12
+ * Tweak: Bessere Formulierung für BBCode-Funktion in Plugin-Beschreibung
13
+ * Tweak: Bessere Screenshots im Plugin-Verzeichnis
14
+ * Wartung: Getestet mit WordPress 5.7
15
+
16
  ### 2.9.3 ###
17
  * **English**
18
  * Fixed: Compatibility with WordPress 5.5
README.md CHANGED
@@ -32,6 +32,7 @@ Say Goodbye to comment spam on your WordPress blog or website. *Antispam Bee* bl
32
  * Pull requests for documented bugs are highly appreciated.
33
  * If you think you’ve found a bug (e.g. you’re experiencing unexpected behavior), please post at the [support forums](https://wordpress.org/support/plugin/antispam-bee) first.
34
  * If you want to help us translate this plugin you can do so [on WordPress Translate](https://translate.wordpress.org/projects/wp-plugins/antispam-bee).
 
35
 
36
  ### Donate
37
  [Donate for us via Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW)
32
  * Pull requests for documented bugs are highly appreciated.
33
  * If you think you’ve found a bug (e.g. you’re experiencing unexpected behavior), please post at the [support forums](https://wordpress.org/support/plugin/antispam-bee) first.
34
  * If you want to help us translate this plugin you can do so [on WordPress Translate](https://translate.wordpress.org/projects/wp-plugins/antispam-bee).
35
+ * To test the plugin on your local machine, simply run `docker-compose up` in the root folder and open `http://localhost:8081/` in your browser.
36
 
37
  ### Donate
38
  [Donate for us via Paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW)
antispam_bee.php CHANGED
@@ -9,7 +9,7 @@
9
  * Domain Path: /lang
10
  * License: GPLv2 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
- * Version: 2.9.3
13
  *
14
  * [](http://coderisk.com/wp/plugin/antispam-bee/RIPS-lAHLcgvqY8)
15
  *
@@ -119,7 +119,13 @@ class Antispam_Bee {
119
  )
120
  );
121
 
122
- if ( ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) ) {
 
 
 
 
 
 
123
  return;
124
  }
125
 
9
  * Domain Path: /lang
10
  * License: GPLv2 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
+ * Version: 2.9.4
13
  *
14
  * [](http://coderisk.com/wp/plugin/antispam-bee/RIPS-lAHLcgvqY8)
15
  *
119
  )
120
  );
121
 
122
+ $disallow_ajax = apply_filters( 'antispam_bee_disallow_ajax_calls', true );
123
+
124
+ if ( defined( 'DOING_AJAX' ) && DOING_AJAX && $disallow_ajax ) {
125
+ return;
126
+ }
127
+
128
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
129
  return;
130
  }
131
 
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  # Antispam Bee #
2
- * Contributors: pluginkollektiv, websupporter, schlessera, zodiac1978, swissspidy, krafit, kau-boy
3
  * Tags: anti-spam, antispam, block spam, comment, comments, comment spam, pingback, spam, spam filter, trackback, GDPR
4
  * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW
5
  * Requires at least: 4.5
6
- * Tested up to: 5.6
7
  * Requires PHP: 5.2
8
- * Stable tag: 2.9.3
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -92,6 +92,13 @@ A complete documentation is available on [pluginkollektiv.org](https://antispamb
92
 
93
  ## Changelog ##
94
 
 
 
 
 
 
 
 
95
  ### 2.9.3 ###
96
  * Fixed: Compatibility with WordPress 5.5
97
  * Fixed: Undefined index on spam list page
@@ -230,4 +237,7 @@ For the complete changelog, check out our [GitHub repository](https://github.com
230
  This update makes sure your spam check is GDPR compliant, no matter the options you choose. Please make sure to update before May 25th!
231
 
232
  ## Screenshots ##
233
- 1. Antispam Bee settings
 
 
 
1
  # Antispam Bee #
2
+ * Contributors: pluginkollektiv, websupporter, schlessera, zodiac1978, swissspidy, krafit, kau-boy, florianbrinkmann
3
  * Tags: anti-spam, antispam, block spam, comment, comments, comment spam, pingback, spam, spam filter, trackback, GDPR
4
  * Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TD4AMD2D8EMZW
5
  * Requires at least: 4.5
6
+ * Tested up to: 5.7
7
  * Requires PHP: 5.2
8
+ * Stable tag: 2.9.4
9
  * License: GPLv2 or later
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
92
 
93
  ## Changelog ##
94
 
95
+ ### 2.9.4 ###
96
+
97
+ * Enhancement: Add filter to allow ajax calls
98
+ * Tweak: Better wording for BBCode feature in plugin description
99
+ * Tweak: Better screenshots in the plugin directory
100
+ * Maintenance: Tested up to WordPress 5.7
101
+
102
  ### 2.9.3 ###
103
  * Fixed: Compatibility with WordPress 5.5
104
  * Fixed: Undefined index on spam list page
237
  This update makes sure your spam check is GDPR compliant, no matter the options you choose. Please make sure to update before May 25th!
238
 
239
  ## Screenshots ##
240
+ 1. Block or allow comments from specific countries.
241
+ 2. Allow comments only in certain languages.
242
+ 3. Add useful spam stats to your dashboard.
243
+ 4. Tailor WordPress' spam management to your workflow.