WordPress Zero Spam - Version 5.2.6

Version Description

Download this release

Release Info

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

Code changes from version 5.2.5 to 5.2.6

core/class-access.php CHANGED
@@ -28,8 +28,6 @@ class Access {
28
  * Fires after WordPress has finished loading but before any headers are sent.
29
  */
30
  public function init() {
31
- add_filter( 'zerospam_types', array( $this, 'types' ), 10, 1 );
32
-
33
  if ( ! is_admin() && is_main_query() && self::process() ) {
34
  add_action( 'template_redirect', array( $this, 'access_check' ), 0 );
35
  add_filter( 'zerospam_access_checks', array( $this, 'check_blocked' ), 0, 3 );
28
  * Fires after WordPress has finished loading but before any headers are sent.
29
  */
30
  public function init() {
 
 
31
  if ( ! is_admin() && is_main_query() && self::process() ) {
32
  add_action( 'template_redirect', array( $this, 'access_check' ), 0 );
33
  add_filter( 'zerospam_access_checks', array( $this, 'check_blocked' ), 0, 3 );
modules/give/class-give.php CHANGED
@@ -66,7 +66,7 @@ class Give {
66
  $honeypot_field_name = \ZeroSpam\Core\Utilities::get_honeypot();
67
 
68
  // Get the error message.
69
- $error_message = \ZeroSpam\Core\Utilities::detection_message( 'login_spam_message' );
70
 
71
  // Create the details array for logging & sharing data.
72
  $details = array(
@@ -155,7 +155,7 @@ class Give {
155
  'recommended' => 'enabled',
156
  );
157
 
158
- $message = __( 'Your IP has been flagged as spam/malicious.', 'zerospam' );
159
 
160
  $settings['givewp_spam_message'] = array(
161
  'title' => __( 'Spam/Malicious Message', 'zerospam' ),
66
  $honeypot_field_name = \ZeroSpam\Core\Utilities::get_honeypot();
67
 
68
  // Get the error message.
69
+ $error_message = \ZeroSpam\Core\Utilities::detection_message( 'givewp_spam_message' );
70
 
71
  // Create the details array for logging & sharing data.
72
  $details = array(
155
  'recommended' => 'enabled',
156
  );
157
 
158
+ $message = __( 'We\'re sorry, but we\'re unable to process the transaction. Your IP has been flagged as possible spam.', 'zerospam' );
159
 
160
  $settings['givewp_spam_message'] = array(
161
  'title' => __( 'Spam/Malicious Message', 'zerospam' ),
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.zerospam.org/subscribe/
5
  Requires at least: 5.2
6
  Tested up to: 5.8.2
7
  Requires PHP: 7.3
8
- Stable tag: 5.2.5
9
  License: GNU GPLv3
10
  License URI: https://choosealicense.com/licenses/gpl-3.0/
11
 
@@ -104,6 +104,10 @@ If hosting with Pantheon, see their [known issues page](https://pantheon.io/docs
104
 
105
  == Changelog ==
106
 
 
 
 
 
107
  = v5.2.5 =
108
 
109
  * feat(givewp): now checks submitted emails against the blocked email domains list
5
  Requires at least: 5.2
6
  Tested up to: 5.8.2
7
  Requires PHP: 7.3
8
+ Stable tag: 5.2.6
9
  License: GNU GPLv3
10
  License URI: https://choosealicense.com/licenses/gpl-3.0/
11
 
104
 
105
  == Changelog ==
106
 
107
+ = v5.2.6 =
108
+
109
+ * fix(undefined method): fix for undefined types method
110
+
111
  = v5.2.5 =
112
 
113
  * feat(givewp): now checks submitted emails against the blocked email domains list
wordpress-zero-spam.php CHANGED
@@ -13,7 +13,7 @@
13
  * Plugin Name: WordPress Zero Spam
14
  * Plugin URI: https://www.highfivery.com/projects/zero-spam/
15
  * Description: Tired of all the worthless and bloated WordPress anti-spam & security plugins? WordPress Zero Spam makes blocking spam &amp; malicious activity a cinch. <strong>Just install, activate, configure, and say goodbye to spam.</strong>
16
- * Version: 5.2.5
17
  * Requires at least: 5.2
18
  * Requires PHP: 7.3
19
  * Author: Highfivery LLC
@@ -31,7 +31,7 @@ defined( 'ABSPATH' ) || die();
31
  define( 'ZEROSPAM', __FILE__ );
32
  define( 'ZEROSPAM_PATH', plugin_dir_path( ZEROSPAM ) );
33
  define( 'ZEROSPAM_PLUGIN_BASE', plugin_basename( ZEROSPAM ) );
34
- define( 'ZEROSPAM_VERSION', '5.2.5' );
35
 
36
  if ( defined( 'ZEROSPAM_DEVELOPMENT_URL' ) ) {
37
  define( 'ZEROSPAM_URL', ZEROSPAM_DEVELOPMENT_URL );
13
  * Plugin Name: WordPress Zero Spam
14
  * Plugin URI: https://www.highfivery.com/projects/zero-spam/
15
  * Description: Tired of all the worthless and bloated WordPress anti-spam & security plugins? WordPress Zero Spam makes blocking spam &amp; malicious activity a cinch. <strong>Just install, activate, configure, and say goodbye to spam.</strong>
16
+ * Version: 5.2.6
17
  * Requires at least: 5.2
18
  * Requires PHP: 7.3
19
  * Author: Highfivery LLC
31
  define( 'ZEROSPAM', __FILE__ );
32
  define( 'ZEROSPAM_PATH', plugin_dir_path( ZEROSPAM ) );
33
  define( 'ZEROSPAM_PLUGIN_BASE', plugin_basename( ZEROSPAM ) );
34
+ define( 'ZEROSPAM_VERSION', '5.2.6' );
35
 
36
  if ( defined( 'ZEROSPAM_DEVELOPMENT_URL' ) ) {
37
  define( 'ZEROSPAM_URL', ZEROSPAM_DEVELOPMENT_URL );