Version Description
- Fixed services data fetch bug
Download this release
Release Info
Developer | ritesh.soni36 |
Plugin | MalCare WordPress Security Plugin – Malware Scanner, Cleaner, Security Firewall |
Version | 4.57 |
Comparing to | |
See all releases |
Code changes from version 4.56 to 4.57
- callback/wings/watch.php +5 -5
- info.php +2 -2
- malcare.php +2 -2
- readme.txt +4 -1
callback/wings/watch.php
CHANGED
@@ -91,7 +91,7 @@ class BVWatchCallback extends BVCallbackBase {
|
|
91 |
if (array_key_exists('lp', $params)) {
|
92 |
require_once dirname( __FILE__ ) . '/../../protect/wp/lp/config.php';
|
93 |
$lp_params = $params['lp'];
|
94 |
-
if (
|
95 |
$limit = intval(urldecode($lp_params['limit']));
|
96 |
$filter = urldecode($lp_params['filter']);
|
97 |
$db->deleteBVTableContent(BVWPLPConfig::$requests_table, $lp_params['rmfilter']);
|
@@ -110,7 +110,7 @@ class BVWatchCallback extends BVCallbackBase {
|
|
110 |
if (array_key_exists('fw', $params)) {
|
111 |
require_once dirname( __FILE__ ) . '/../../protect/fw/config.php';
|
112 |
$fw_params = $params['fw'];
|
113 |
-
if (
|
114 |
$limit = intval(urldecode($fw_params['limit']));
|
115 |
$filter = urldecode($fw_params['filter']);
|
116 |
$db->deleteBVTableContent(BVFWConfig::$requests_table, $fw_params['rmfilter']);
|
@@ -125,7 +125,7 @@ class BVWatchCallback extends BVCallbackBase {
|
|
125 |
require_once dirname( __FILE__ ) . '/../../wp_dynsync.php';
|
126 |
$isdynsyncactive = $settings->getOption('bvDynSyncActive');
|
127 |
if ($isdynsyncactive == 'yes') {
|
128 |
-
if (
|
129 |
$limit = intval(urldecode($params['limit']));
|
130 |
$filter = urldecode($params['filter']);
|
131 |
$this->deleteBvDynamicEvents($params['rmfilter']);
|
@@ -142,7 +142,7 @@ class BVWatchCallback extends BVCallbackBase {
|
|
142 |
if (array_key_exists('actlog', $params)) {
|
143 |
require_once dirname( __FILE__ ) . '/../../wp_actlog.php';
|
144 |
$actlog_params = $params['actlog'];
|
145 |
-
if (
|
146 |
$limit = intval(urldecode($actlog_params['limit']));
|
147 |
$filter = urldecode($actlog_params['filter']);
|
148 |
$db->deleteBVTableContent(BVWPActLog::$actlog_table, $actlog_params['rmfilter']);
|
@@ -166,4 +166,4 @@ class BVWatchCallback extends BVCallbackBase {
|
|
166 |
return $resp;
|
167 |
}
|
168 |
}
|
169 |
-
endif;
|
91 |
if (array_key_exists('lp', $params)) {
|
92 |
require_once dirname( __FILE__ ) . '/../../protect/wp/lp/config.php';
|
93 |
$lp_params = $params['lp'];
|
94 |
+
if (!isset($lp_params['bv_check_table']) || $db->isTablePresent($db->getBVTable(BVWPLPConfig::$requests_table))) {
|
95 |
$limit = intval(urldecode($lp_params['limit']));
|
96 |
$filter = urldecode($lp_params['filter']);
|
97 |
$db->deleteBVTableContent(BVWPLPConfig::$requests_table, $lp_params['rmfilter']);
|
110 |
if (array_key_exists('fw', $params)) {
|
111 |
require_once dirname( __FILE__ ) . '/../../protect/fw/config.php';
|
112 |
$fw_params = $params['fw'];
|
113 |
+
if (!isset($fw_params['bv_check_table']) || $db->isTablePresent($db->getBVTable(BVFWConfig::$requests_table))) {
|
114 |
$limit = intval(urldecode($fw_params['limit']));
|
115 |
$filter = urldecode($fw_params['filter']);
|
116 |
$db->deleteBVTableContent(BVFWConfig::$requests_table, $fw_params['rmfilter']);
|
125 |
require_once dirname( __FILE__ ) . '/../../wp_dynsync.php';
|
126 |
$isdynsyncactive = $settings->getOption('bvDynSyncActive');
|
127 |
if ($isdynsyncactive == 'yes') {
|
128 |
+
if (!isset($params['bv_check_table']) || $db->isTablePresent($db->getBVTable(BVWPDynSync::$dynsync_table))) {
|
129 |
$limit = intval(urldecode($params['limit']));
|
130 |
$filter = urldecode($params['filter']);
|
131 |
$this->deleteBvDynamicEvents($params['rmfilter']);
|
142 |
if (array_key_exists('actlog', $params)) {
|
143 |
require_once dirname( __FILE__ ) . '/../../wp_actlog.php';
|
144 |
$actlog_params = $params['actlog'];
|
145 |
+
if (!isset($actlog_params['bv_check_table']) || $db->isTablePresent($db->getBVTable(BVWPActLog::$actlog_table))) {
|
146 |
$limit = intval(urldecode($actlog_params['limit']));
|
147 |
$filter = urldecode($actlog_params['filter']);
|
148 |
$db->deleteBVTableContent(BVWPActLog::$actlog_table, $actlog_params['rmfilter']);
|
166 |
return $resp;
|
167 |
}
|
168 |
}
|
169 |
+
endif;
|
info.php
CHANGED
@@ -10,7 +10,7 @@ if (!class_exists('MCInfo')) :
|
|
10 |
public $badgeinfo = 'mcbadge';
|
11 |
public $ip_header_option = 'mcipheader';
|
12 |
public $brand_option = 'mcbrand';
|
13 |
-
public $version = '4.
|
14 |
public $webpage = 'https://www.malcare.com';
|
15 |
public $appurl = 'https://app.malcare.com';
|
16 |
public $slug = 'malcare-security/malcare.php';
|
@@ -144,4 +144,4 @@ if ($bvinfo->canSetCWBranding()) {
|
|
144 |
);
|
145 |
}
|
146 |
}
|
147 |
-
endif;
|
10 |
public $badgeinfo = 'mcbadge';
|
11 |
public $ip_header_option = 'mcipheader';
|
12 |
public $brand_option = 'mcbrand';
|
13 |
+
public $version = '4.57';
|
14 |
public $webpage = 'https://www.malcare.com';
|
15 |
public $appurl = 'https://app.malcare.com';
|
16 |
public $slug = 'malcare-security/malcare.php';
|
144 |
);
|
145 |
}
|
146 |
}
|
147 |
+
endif;
|
malcare.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://www.malcare.com
|
|
5 |
Description: MalCare Security - Free Malware Scanner, Protection & Security for WordPress
|
6 |
Author: MalCare Security
|
7 |
Author URI: https://www.malcare.com
|
8 |
-
Version: 4.
|
9 |
Network: True
|
10 |
*/
|
11 |
|
@@ -157,4 +157,4 @@ if ((array_key_exists('bvplugname', $_REQUEST)) && ($_REQUEST['bvplugname'] == "
|
|
157 |
|
158 |
}
|
159 |
##WPAUTOUPDATEBLOCKMODULE##
|
160 |
-
}
|
5 |
Description: MalCare Security - Free Malware Scanner, Protection & Security for WordPress
|
6 |
Author: MalCare Security
|
7 |
Author URI: https://www.malcare.com
|
8 |
+
Version: 4.57
|
9 |
Network: True
|
10 |
*/
|
11 |
|
157 |
|
158 |
}
|
159 |
##WPAUTOUPDATEBLOCKMODULE##
|
160 |
+
}
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Donate link: https://www.malcare.com
|
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.4.0
|
9 |
-
Stable tag: 4.
|
10 |
License: GPLv2 or later
|
11 |
License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)
|
12 |
|
@@ -397,6 +397,9 @@ These are available on our website: [Terms of Service](https://www.malcare.com/t
|
|
397 |
8. MalCare’s Uptime Monitoring notifies if a website goes down so that you can handle the situation before starting to lose visitors.
|
398 |
|
399 |
== CHANGELOG ==
|
|
|
|
|
|
|
400 |
= 4.56 =
|
401 |
* Handling Activity Log corner case error
|
402 |
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.4.0
|
9 |
+
Stable tag: 4.57
|
10 |
License: GPLv2 or later
|
11 |
License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)
|
12 |
|
397 |
8. MalCare’s Uptime Monitoring notifies if a website goes down so that you can handle the situation before starting to lose visitors.
|
398 |
|
399 |
== CHANGELOG ==
|
400 |
+
= 4.57 =
|
401 |
+
* Fixed services data fetch bug
|
402 |
+
|
403 |
= 4.56 =
|
404 |
* Handling Activity Log corner case error
|
405 |
|