MalCare WordPress Security Plugin – Malware Scanner, Cleaner, Security Firewall - Version 4.67

Version Description

  • Robust firewall-config checks
Download this release

Release Info

Developer ritesh.soni36
Plugin Icon 128x128 MalCare WordPress Security Plugin – Malware Scanner, Cleaner, Security Firewall
Version 4.67
Comparing to
See all releases

Code changes from version 4.66 to 4.67

Files changed (4) hide show
  1. info.php +1 -1
  2. malcare.php +1 -1
  3. protect/prepend/protect.php +4 -4
  4. readme.txt +4 -1
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.66';
14
  public $webpage = 'https://www.malcare.com';
15
  public $appurl = 'https://app.malcare.com';
16
  public $slug = 'malcare-security/malcare.php';
10
  public $badgeinfo = 'mcbadge';
11
  public $ip_header_option = 'mcipheader';
12
  public $brand_option = 'mcbrand';
13
+ public $version = '4.67';
14
  public $webpage = 'https://www.malcare.com';
15
  public $appurl = 'https://app.malcare.com';
16
  public $slug = 'malcare-security/malcare.php';
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.66
9
  Network: True
10
  */
11
 
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.67
9
  Network: True
10
  */
11
 
protect/prepend/protect.php CHANGED
@@ -29,6 +29,10 @@ require_once dirname( __FILE__ ) . '/logger.php';
29
  $content = file_get_contents($fname);
30
  if (($content !== false) && is_string($content)) {
31
  $result = json_decode($content, true);
 
 
 
 
32
  }
33
  }
34
 
@@ -44,10 +48,6 @@ require_once dirname( __FILE__ ) . '/logger.php';
44
  return false;
45
  }
46
 
47
- if (empty($mcConf) || empty($mcIPsConf)) {
48
- return false;
49
- }
50
-
51
  $brand = array_key_exists('brandname', $mcConf) ? $mcConf['brandname'] : "Protect";
52
  $bvinfo = new BVPrependInfo($brand);
53
  $bvipstore = new BVPrependIPStore($mcIPsConf);
29
  $content = file_get_contents($fname);
30
  if (($content !== false) && is_string($content)) {
31
  $result = json_decode($content, true);
32
+
33
+ if (!is_array($result)) {
34
+ $result = array();
35
+ }
36
  }
37
  }
38
 
48
  return false;
49
  }
50
 
 
 
 
 
51
  $brand = array_key_exists('brandname', $mcConf) ? $mcConf['brandname'] : "Protect";
52
  $bvinfo = new BVPrependInfo($brand);
53
  $bvipstore = new BVPrependIPStore($mcIPsConf);
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://www.malcare.com
6
  Requires at least: 4.0
7
  Tested up to: 5.8
8
  Requires PHP: 5.4.0
9
- Stable tag: 4.66
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.66 =
401
  * Post type fetch improvement.
402
  * Handing wing version for ipstore wing.
6
  Requires at least: 4.0
7
  Tested up to: 5.8
8
  Requires PHP: 5.4.0
9
+ Stable tag: 4.67
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.67 =
401
+ * Robust firewall-config checks
402
+
403
  = 4.66 =
404
  * Post type fetch improvement.
405
  * Handing wing version for ipstore wing.