Version Description
Download this release
Release Info
Developer | bmarshall511 |
Plugin | WordPress Zero Spam |
Version | 5.3.6 |
Comparing to | |
See all releases |
Code changes from version 5.3.5 to 5.3.6
- modules/class-debug.php +2 -2
- modules/class-zerospam.php +3 -3
- readme.txt +11 -7
- wordpress-zero-spam.php +2 -2
modules/class-debug.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Debug class
|
4 |
*
|
5 |
* @package ZeroSpam
|
6 |
*/
|
@@ -11,7 +11,7 @@ namespace ZeroSpam\Modules;
|
|
11 |
defined( 'ABSPATH' ) || die();
|
12 |
|
13 |
/**
|
14 |
-
* Debug
|
15 |
*/
|
16 |
class Debug {
|
17 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Debug class
|
4 |
*
|
5 |
* @package ZeroSpam
|
6 |
*/
|
11 |
defined( 'ABSPATH' ) || die();
|
12 |
|
13 |
/**
|
14 |
+
* Debug admin module
|
15 |
*/
|
16 |
class Debug {
|
17 |
/**
|
modules/class-zerospam.php
CHANGED
@@ -350,10 +350,10 @@ class Zero_Spam {
|
|
350 |
|
351 |
// @codingStandardsIgnoreLine
|
352 |
if ( isset( $_GET['zero-spam-dismiss-notice-enhanced-protection'] ) ) {
|
353 |
-
|
354 |
// @codingStandardsIgnoreLine
|
355 |
} elseif ( isset( $_GET['zero-spam-dismiss-notice-license'] ) ) {
|
356 |
-
|
357 |
}
|
358 |
}
|
359 |
|
@@ -435,7 +435,7 @@ class Zero_Spam {
|
|
435 |
) . '</p>';
|
436 |
}
|
437 |
?>
|
438 |
-
<div class="notice
|
439 |
<?php
|
440 |
// @codingStandardsIgnoreLine
|
441 |
echo $content;
|
350 |
|
351 |
// @codingStandardsIgnoreLine
|
352 |
if ( isset( $_GET['zero-spam-dismiss-notice-enhanced-protection'] ) ) {
|
353 |
+
update_user_meta( $user_id, 'zero_spam_dismiss_notice_enhanced_protection', current_time( 'mysql' ) );
|
354 |
// @codingStandardsIgnoreLine
|
355 |
} elseif ( isset( $_GET['zero-spam-dismiss-notice-license'] ) ) {
|
356 |
+
update_user_meta( $user_id, 'zero_spam_dismiss_notice_missing_license', current_time( 'mysql' ) );
|
357 |
}
|
358 |
}
|
359 |
|
435 |
) . '</p>';
|
436 |
}
|
437 |
?>
|
438 |
+
<div class="notice <?php echo implode( ' ', $classes ); ?>">
|
439 |
<?php
|
440 |
// @codingStandardsIgnoreLine
|
441 |
echo $content;
|
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.9.3
|
7 |
Requires PHP: 7.3
|
8 |
-
Stable tag: 5.3.
|
9 |
License: GNU GPLv3
|
10 |
License URI: https://choosealicense.com/licenses/gpl-3.0/
|
11 |
|
@@ -50,12 +50,12 @@ Zero Spam for WordPress is great at blocking spam — as a site owner there'
|
|
50 |
|
51 |
Zero Spam allows you to connect to third-party applications that improve its ability to detect spam and malicious users as well as enhancements for site admins. These services are optional and are not required for Zero Spam to work. Before opting in to any of these services, please review their Terms of Use and/or Privacy Policies
|
52 |
|
53 |
-
* Zero Spam -
|
54 |
-
* Stop Forum Spam -
|
55 |
-
* Project Honeypot -
|
56 |
-
* ipinfo.io -
|
57 |
-
* ipstack -
|
58 |
-
* Google APIs -
|
59 |
|
60 |
Optionally, you can also help improve Zero Spam but enabling sharing of detection information. For more information on what is shared, see our [FAQ](https://github.com/Highfivery/zero-spam-for-wordpress/wiki/FAQ)
|
61 |
|
@@ -117,6 +117,10 @@ If hosting with Pantheon, see their [known issues page](https://pantheon.io/docs
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
|
|
120 |
= v5.3.5 =
|
121 |
|
122 |
* chore(readme): added 3rd-party service integration documentation to the readme
|
5 |
Requires at least: 5.2
|
6 |
Tested up to: 5.9.3
|
7 |
Requires PHP: 7.3
|
8 |
+
Stable tag: 5.3.6
|
9 |
License: GNU GPLv3
|
10 |
License URI: https://choosealicense.com/licenses/gpl-3.0/
|
11 |
|
50 |
|
51 |
Zero Spam allows you to connect to third-party applications that improve its ability to detect spam and malicious users as well as enhancements for site admins. These services are optional and are not required for Zero Spam to work. Before opting in to any of these services, please review their Terms of Use and/or Privacy Policies
|
52 |
|
53 |
+
* **Zero Spam** - Sends the visitor's IP & when available, their email address to check if they've been reported ([privacy policy](https://www.zerospam.org/privacy/), [terms of use](https://www.zerospam.org/terms/))
|
54 |
+
* **Stop Forum Spam** - Sends the visitor's IP to check if they've been reported ([privacy policy](https://www.stopforumspam.com/privacy), [terms of use](https://www.stopforumspam.com/legal))
|
55 |
+
* **Project Honeypot** - Sends the visitor's IP to check if they've been reported ([privacy policy](https://www.projecthoneypot.org/privacy_policy.php), [terms of use](https://www.projecthoneypot.org/terms_of_use.php))
|
56 |
+
* **ipinfo.io** - Sends the visitor's IP to gather detailed geolocation information ([privacy policy](https://ipinfo.io/privacy-policy), [terms of use](https://ipinfo.io/terms-of-service))
|
57 |
+
* **ipstack** - Sends the visitor's IP to gather detailed geolocation information ([privacy policy](https://www.ideracorp.com/Legal/APILayer/PrivacyStatement), [terms of use](https://ipstack.com/terms))
|
58 |
+
* **Google APIs** - Enables the Google Map API to plot attack locations based on the IP address geolocation information ([privacy policy](https://www.ideracorp.com/Legal/APILayer/PrivacyStatement), [terms of use](https://developers.google.com/terms/site-terms))
|
59 |
|
60 |
Optionally, you can also help improve Zero Spam but enabling sharing of detection information. For more information on what is shared, see our [FAQ](https://github.com/Highfivery/zero-spam-for-wordpress/wiki/FAQ)
|
61 |
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
= v5.3.6 =
|
121 |
+
|
122 |
+
* fix(admin): fix for admin notice not getting dismissed when clicked, resolves #318
|
123 |
+
|
124 |
= v5.3.5 =
|
125 |
|
126 |
* chore(readme): added 3rd-party service integration documentation to the readme
|
wordpress-zero-spam.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
* Plugin Name: Zero Spam for WordPress
|
14 |
* Plugin URI: https://www.highfivery.com/projects/zero-spam/
|
15 |
* Description: Tired of all the ineffective WordPress anti-spam & security plugins? Zero Spam for WordPress makes blocking spam & malicious activity a cinch. <strong>Just activate, configure, and say goodbye to spam.</strong>
|
16 |
-
* Version: 5.3.
|
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.3.
|
35 |
|
36 |
if ( defined( 'ZEROSPAM_DEVELOPMENT_URL' ) ) {
|
37 |
define( 'ZEROSPAM_URL', ZEROSPAM_DEVELOPMENT_URL );
|
13 |
* Plugin Name: Zero Spam for WordPress
|
14 |
* Plugin URI: https://www.highfivery.com/projects/zero-spam/
|
15 |
* Description: Tired of all the ineffective WordPress anti-spam & security plugins? Zero Spam for WordPress makes blocking spam & malicious activity a cinch. <strong>Just activate, configure, and say goodbye to spam.</strong>
|
16 |
+
* Version: 5.3.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.3.6' );
|
35 |
|
36 |
if ( defined( 'ZEROSPAM_DEVELOPMENT_URL' ) ) {
|
37 |
define( 'ZEROSPAM_URL', ZEROSPAM_DEVELOPMENT_URL );
|