Version Description
Download this release
Release Info
Developer | bmarshall511 |
Plugin | WordPress Zero Spam |
Version | 5.4.3 |
Comparing to | |
See all releases |
Code changes from version 5.4.2 to 5.4.3
- modules/security/class-security.php +12 -1
- readme.txt +6 -2
- wordpress-zero-spam.php +2 -2
modules/security/class-security.php
CHANGED
@@ -57,7 +57,7 @@ class Security {
|
|
57 |
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
58 |
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
59 |
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
60 |
-
add_filter( 'tiny_mce_plugins', '
|
61 |
}
|
62 |
|
63 |
if (
|
@@ -178,6 +178,17 @@ class Security {
|
|
178 |
return $settings;
|
179 |
}
|
180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
/**
|
182 |
* Disables RSS feeds
|
183 |
*/
|
57 |
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
58 |
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
59 |
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
60 |
+
add_filter( 'tiny_mce_plugins', array( $this, 'disable_emojis' ) );
|
61 |
}
|
62 |
|
63 |
if (
|
178 |
return $settings;
|
179 |
}
|
180 |
|
181 |
+
/**
|
182 |
+
* Disables emojis
|
183 |
+
*/
|
184 |
+
public function disable_emojis( $plugins ) {
|
185 |
+
if ( is_array( $plugins ) ) {
|
186 |
+
return array_diff( $plugins, array( 'wpemoji' ) );
|
187 |
+
} else {
|
188 |
+
return array();
|
189 |
+
}
|
190 |
+
}
|
191 |
+
|
192 |
/**
|
193 |
* Disables RSS feeds
|
194 |
*/
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.zerospam.org/subscribe/
|
|
5 |
Requires at least: 5.2
|
6 |
Tested up to: 6.0.2
|
7 |
Requires PHP: 7.3
|
8 |
-
Stable tag: 5.4.
|
9 |
License: GNU GPLv3
|
10 |
License URI: https://choosealicense.com/licenses/gpl-3.0/
|
11 |
|
@@ -21,7 +21,7 @@ Protect against spam, malicious users, attacks like web & port scans, brute forc
|
|
21 |
|
22 |
* No captcha, spam isn't a users' problem
|
23 |
* No moderation queues, spam isn't a administrators' problem
|
24 |
-
*
|
25 |
* Integrates with global IP reputation providers
|
26 |
* Allows admins to block IPs temporarily or permanently
|
27 |
* Geolocation integration to track where threats are coming from
|
@@ -107,6 +107,10 @@ If hosting with Pantheon, see their [known issues page](https://pantheon.io/docs
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
|
|
110 |
= v5.4.2 =
|
111 |
|
112 |
* feat(ipbase): added support for ipbase.com
|
5 |
Requires at least: 5.2
|
6 |
Tested up to: 6.0.2
|
7 |
Requires PHP: 7.3
|
8 |
+
Stable tag: 5.4.3
|
9 |
License: GNU GPLv3
|
10 |
License URI: https://choosealicense.com/licenses/gpl-3.0/
|
11 |
|
21 |
|
22 |
* No captcha, spam isn't a users' problem
|
23 |
* No moderation queues, spam isn't a administrators' problem
|
24 |
+
* Behavior detection engine able to dynamically block threats
|
25 |
* Integrates with global IP reputation providers
|
26 |
* Allows admins to block IPs temporarily or permanently
|
27 |
* Geolocation integration to track where threats are coming from
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= v5.4.3 =
|
111 |
+
|
112 |
+
* fix(emojis): fix for fatal error when emojis are disabled
|
113 |
+
|
114 |
= v5.4.2 =
|
115 |
|
116 |
* feat(ipbase): added support for ipbase.com
|
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.4.
|
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.4.
|
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.4.3
|
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.4.3' );
|
35 |
|
36 |
if ( defined( 'ZEROSPAM_DEVELOPMENT_URL' ) ) {
|
37 |
define( 'ZEROSPAM_URL', ZEROSPAM_DEVELOPMENT_URL );
|