Skip to content

Commit

Permalink
Bug-fix 2.128.1 (#308)
Browse files Browse the repository at this point in the history
* Fix. Common. Redundant expression removed.

* Fix. Test connection. Do not check response code on testing connection.

* Version: 2.128.1 and changelog updated.

---------

Co-authored-by: alexandergull <[email protected]>
  • Loading branch information
Glomberg and alexandergull authored Feb 21, 2024
1 parent b5f38fc commit cc611ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down
6 changes: 2 additions & 4 deletions security-malware-firewall.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit cc611ef

Please sign in to comment.