diff --git a/readme.txt b/readme.txt index ade8b7c5f..ff52efbc7 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: security, firewall, malware, wordpress security, brute force Requires at least: 3.0 Tested up to: 6.4 Requires PHP: 5.6 -Stable tag: 2.128 +Stable tag: 2.128.1 License: GPLv2 License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -329,6 +329,10 @@ This is required for the Security FireWall to function properly. Plugins that ar == Changelog == += 2.128.1 Feb 21 2024 = +* Fix. Test connection. Do not check response code on testing connection. +* Fix. Common. Redundant expression removed. + = 2.128 Feb 12 2024 = * New. Calling cloud user_data_update during dismissing review notice. * New. System plugins. Vulnerability alarms implemented. diff --git a/security-malware-firewall.php b/security-malware-firewall.php index bee21817b..1f8355554 100644 --- a/security-malware-firewall.php +++ b/security-malware-firewall.php @@ -5,7 +5,7 @@ Plugin URI: https://wordpress.org/plugins/security-malware-firewall/ Description: Security & Malware scan by CleanTalk to protect your website from online threats and viruses. IP/Country FireWall, Web application FireWall. Detailed stats and logs to have full control. Author: CleanTalk Security -Version: 2.128 +Version: 2.128.1 Author URI: https://cleantalk.org Text Domain: security-malware-firewall Domain Path: /i18n @@ -166,8 +166,6 @@ is_main_site() ); -$spbc->debug = true; - require_once SPBC_PLUGIN_DIR . 'inc/spbc-auth.php'; // Update plugin's data to current version @@ -1416,7 +1414,7 @@ function spbc_test_connection($urls_to_test = array()) foreach ( $urls_to_test as $url ) { $start = microtime(true); - $result = HTTP::getContentFromURL($url); + $result = HTTP::getContentFromURL($url, false); $out[ $url ] = array( 'result' => ! empty($result['error']) ? $result['error'] : 'OK',