Version Description
- Fixed a potential PHP warning when checking for security updates.
- Since the new WordPress v5.5, the Site Health function returns a wrong "An active PHP session was detected" critical message. This version of NinjaFirewall will remove it because the REST API is working as expected (the firewall does not interfer with it or any loopback request).
- WP+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.
Download this release
Release Info
Developer | nintechnet |
Plugin | NinjaFirewall (WP Edition) |
Version | 4.2.4 |
Comparing to | |
See all releases |
Code changes from version 4.2.3 to 4.2.4
- lib/event_updates.php +1 -1
- lib/utils.php +8 -0
- ninjafirewall.php +2 -2
- readme.txt +7 -1
lib/event_updates.php
CHANGED
@@ -248,7 +248,7 @@ function nfw_fetch_security_updates( $url ) {
|
|
248 |
)
|
249 |
);
|
250 |
if ( is_wp_error( $res ) ) {
|
251 |
-
nfw_log_error(
|
252 |
return false;
|
253 |
}
|
254 |
|
248 |
)
|
249 |
);
|
250 |
if ( is_wp_error( $res ) ) {
|
251 |
+
nfw_log_error( 'nfw_fetch_security_updates: connection error' );
|
252 |
return false;
|
253 |
}
|
254 |
|
lib/utils.php
CHANGED
@@ -291,6 +291,14 @@ function nf_pre_http_request( $preempt, $r, $url ) {
|
|
291 |
return false;
|
292 |
}
|
293 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
// ---------------------------------------------------------------------
|
295 |
// Return backtrace verbosity.
|
296 |
|
291 |
return false;
|
292 |
}
|
293 |
|
294 |
+
// Get rid of the Site Health php_sessions test, it returns a scary message
|
295 |
+
// although everything is working as expected
|
296 |
+
function nfw_remove_php_sessions_test( $tests ) {
|
297 |
+
unset( $tests['direct']['php_sessions'] );
|
298 |
+
return $tests;
|
299 |
+
}
|
300 |
+
add_filter( 'site_status_tests', 'nfw_remove_php_sessions_test' );
|
301 |
+
|
302 |
// ---------------------------------------------------------------------
|
303 |
// Return backtrace verbosity.
|
304 |
|
ninjafirewall.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: NinjaFirewall (WP Edition)
|
4 |
Plugin URI: https://nintechnet.com/
|
5 |
Description: A true Web Application Firewall to protect and secure WordPress.
|
6 |
-
Version: 4.2.
|
7 |
Author: The Ninja Technologies Network
|
8 |
Author URI: https://nintechnet.com/
|
9 |
License: GPLv3 or later
|
@@ -19,7 +19,7 @@ Domain Path: /languages
|
|
19 |
| (c) NinTechNet - https://nintechnet.com/ |
|
20 |
+---------------------------------------------------------------------+
|
21 |
*/
|
22 |
-
define( 'NFW_ENGINE_VERSION', '4.2.
|
23 |
/*
|
24 |
+---------------------------------------------------------------------+
|
25 |
| This program is free software: you can redistribute it and/or |
|
3 |
Plugin Name: NinjaFirewall (WP Edition)
|
4 |
Plugin URI: https://nintechnet.com/
|
5 |
Description: A true Web Application Firewall to protect and secure WordPress.
|
6 |
+
Version: 4.2.4
|
7 |
Author: The Ninja Technologies Network
|
8 |
Author URI: https://nintechnet.com/
|
9 |
License: GPLv3 or later
|
19 |
| (c) NinTechNet - https://nintechnet.com/ |
|
20 |
+---------------------------------------------------------------------+
|
21 |
*/
|
22 |
+
define( 'NFW_ENGINE_VERSION', '4.2.4' );
|
23 |
/*
|
24 |
+---------------------------------------------------------------------+
|
25 |
| This program is free software: you can redistribute it and/or |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: nintechnet, bruandet
|
|
3 |
Tags: security, firewall, malware, antispam, virus, scanner, hacked site, brute force, seguridad, seguranca, sicherheit, sicurezza, veiligheid, classicpress
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.5
|
6 |
-
Stable tag: 4.2.
|
7 |
Requires PHP: 5.5
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -203,6 +203,12 @@ NinjaFirewall works on Unix-like servers only. There is no Microsoft Windows ver
|
|
203 |
|
204 |
Need more security? Take the time to explore our supercharged Premium edition: [NinjaFirewall WP+ Edition](https://nintechnet.com/ninjafirewall/wp-edition/?comparison)
|
205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
= 4.2.3 =
|
207 |
|
208 |
* Fixed a potential issue where NinjaFirewall could prevent the WordPress Quick Draft widget from loading (#2140).
|
3 |
Tags: security, firewall, malware, antispam, virus, scanner, hacked site, brute force, seguridad, seguranca, sicherheit, sicurezza, veiligheid, classicpress
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 4.2.4
|
7 |
Requires PHP: 5.5
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
203 |
|
204 |
Need more security? Take the time to explore our supercharged Premium edition: [NinjaFirewall WP+ Edition](https://nintechnet.com/ninjafirewall/wp-edition/?comparison)
|
205 |
|
206 |
+
= 4.2.4 =
|
207 |
+
|
208 |
+
* Fixed a potential PHP warning when checking for security updates.
|
209 |
+
* Since the new WordPress v5.5, the Site Health function returns a wrong "An active PHP session was detected" critical message. This version of NinjaFirewall will remove it because the REST API is working as expected (the firewall does not interfer with it or any loopback request).
|
210 |
+
* WP+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.
|
211 |
+
|
212 |
= 4.2.3 =
|
213 |
|
214 |
* Fixed a potential issue where NinjaFirewall could prevent the WordPress Quick Draft widget from loading (#2140).
|