WordPress Zero Spam - Version 4.9.8

Version Description

  • Fix - Fix for a reporting issue during detections.
Download this release

Release Info

Developer bmarshall511
Plugin Icon 128x128 WordPress Zero Spam
Version 4.9.8
Comparing to
See all releases

Code changes from version 4.9.7 to 4.9.8

Files changed (3) hide show
  1. inc/helpers.php +2 -2
  2. readme.txt +5 -1
  3. wordpress-zero-spam.php +2 -2
inc/helpers.php CHANGED
@@ -328,14 +328,14 @@ if ( ! function_exists( 'wpzerospam_detection' ) ) {
328
  if ( 'enabled' == $options['share_detections'] ) {
329
  wpzerospam_share_detection([
330
  'ip' => $record['user_ip'],
331
- 'type' => $record['type']
332
  ]);
333
  }
334
 
335
  // Check if logging detections & 'blocks' are enabled.
336
  if (
337
  'enabled' != $options['log_spam'] ||
338
- ('blocked' == $record['type'] && 'enabled' != $options['log_blocked_ips'])
339
  ) {
340
  // Logging disabled.
341
  return false;
328
  if ( 'enabled' == $options['share_detections'] ) {
329
  wpzerospam_share_detection([
330
  'ip' => $record['user_ip'],
331
+ 'type' => $record['log_type']
332
  ]);
333
  }
334
 
335
  // Check if logging detections & 'blocks' are enabled.
336
  if (
337
  'enabled' != $options['log_spam'] ||
338
+ ('blocked' == $record['log_type'] && 'enabled' != $options['log_blocked_ips'])
339
  ) {
340
  // Logging disabled.
341
  return false;
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://benmarshall.me/donate/?utm_source=wordpress_zero_spam&utm_m
5
  Requires at least: 5.2
6
  Tested up to: 5.4.2
7
  Requires PHP: 7.1
8
- Stable tag: 4.9.7
9
  License: GNU GPLv3
10
  License URI: https://choosealicense.com/licenses/gpl-3.0/
11
 
@@ -119,6 +119,10 @@ Yes. It does not store any kind of personally identifiable information. Only one
119
 
120
  == Changelog ==
121
 
 
 
 
 
122
  = 4.9.7 =
123
 
124
  * Enhancement - Added enhanced site security features (no configuration required)
5
  Requires at least: 5.2
6
  Tested up to: 5.4.2
7
  Requires PHP: 7.1
8
+ Stable tag: 4.9.8
9
  License: GNU GPLv3
10
  License URI: https://choosealicense.com/licenses/gpl-3.0/
11
 
119
 
120
  == Changelog ==
121
 
122
+ = 4.9.8 =
123
+
124
+ * Fix - Fix for a reporting issue during detections.
125
+
126
  = 4.9.7 =
127
 
128
  * Enhancement - Added enhanced site security features (no configuration required)
wordpress-zero-spam.php CHANGED
@@ -13,7 +13,7 @@
13
  * Plugin Name: WordPress Zero Spam
14
  * Plugin URI: https://benmarshall.me/wordpress-zero-spam
15
  * Description: Tired of all the useless and bloated WordPress spam plugins? The WordPress Zero Spam plugin makes blocking spam a cinch. <strong>Just install, activate and say goodbye to spam.</strong> Based on work by <a href="http://davidwalsh.name/wordpress-comment-spam" target="_blank">David Walsh</a>.
16
- * Version: 4.9.7
17
  * Requires at least: 5.2
18
  * Requires PHP: 7.2
19
  * Author: Ben Marshall
@@ -31,7 +31,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
31
  // Define plugin constants
32
  define( 'WORDPRESS_ZERO_SPAM', __FILE__ );
33
  define( 'WORDPRESS_ZERO_SPAM_DB_VERSION', '0.5' );
34
- define( 'WORDPRESS_ZERO_SPAM_VERSION', '4.9.7' );
35
 
36
  /**
37
  * Utility helper functions
13
  * Plugin Name: WordPress Zero Spam
14
  * Plugin URI: https://benmarshall.me/wordpress-zero-spam
15
  * Description: Tired of all the useless and bloated WordPress spam plugins? The WordPress Zero Spam plugin makes blocking spam a cinch. <strong>Just install, activate and say goodbye to spam.</strong> Based on work by <a href="http://davidwalsh.name/wordpress-comment-spam" target="_blank">David Walsh</a>.
16
+ * Version: 4.9.8
17
  * Requires at least: 5.2
18
  * Requires PHP: 7.2
19
  * Author: Ben Marshall
31
  // Define plugin constants
32
  define( 'WORDPRESS_ZERO_SPAM', __FILE__ );
33
  define( 'WORDPRESS_ZERO_SPAM_DB_VERSION', '0.5' );
34
+ define( 'WORDPRESS_ZERO_SPAM_VERSION', '4.9.8' );
35
 
36
  /**
37
  * Utility helper functions