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

Version Description

  • Improved host info
  • Re-enabled plugin deactivation functionality from wp-admin for botprotection sites
Download this release

Release Info

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

Code changes from version 4.58 to 4.59

Files changed (5) hide show
  1. callback/wings/info.php +4 -0
  2. info.php +1 -1
  3. malcare.php +1 -2
  4. readme.txt +5 -1
  5. wp_admin.php +0 -9
callback/wings/info.php CHANGED
@@ -252,6 +252,10 @@ class BVInfoCallback extends BVCallbackBase {
252
  $host_info['IS_GRIDPANE'] = true;
253
  }
254
 
 
 
 
 
255
  return array('host_info' => $host_info);
256
  }
257
 
252
  $host_info['IS_GRIDPANE'] = true;
253
  }
254
 
255
+ if (defined('WPE_APIKEY')) {
256
+ $host_info['WPE_APIKEY'] = WPE_APIKEY;
257
+ }
258
+
259
  return array('host_info' => $host_info);
260
  }
261
 
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.58';
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.59';
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.58
9
  Network: True
10
  */
11
 
@@ -75,7 +75,6 @@ if (is_admin()) {
75
  add_action('admin_head', array($wpadmin, 'removeAdminNotices'), 3);
76
  add_action('admin_notices', array($wpadmin, 'activateWarning'));
77
  add_action('admin_enqueue_scripts', array($wpadmin, 'mcsecAdminMenu'));
78
- add_action('plugin_action_links', array($wpadmin, 'disableDeactivation'), 10, 2);
79
  }
80
 
81
 
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.59
9
  Network: True
10
  */
11
 
75
  add_action('admin_head', array($wpadmin, 'removeAdminNotices'), 3);
76
  add_action('admin_notices', array($wpadmin, 'activateWarning'));
77
  add_action('admin_enqueue_scripts', array($wpadmin, 'mcsecAdminMenu'));
 
78
  }
79
 
80
 
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.58
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,10 @@ 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.58 =
401
  * Better Handling of error message from Server on signup
402
  * Fixed firewall caching issue
6
  Requires at least: 4.0
7
  Tested up to: 5.7
8
  Requires PHP: 5.4.0
9
+ Stable tag: 4.59
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.59 =
401
+ * Improved host info
402
+ * Re-enabled plugin deactivation functionality from wp-admin for botprotection sites
403
+
404
  = 4.58 =
405
  * Better Handling of error message from Server on signup
406
  * Fixed firewall caching issue
wp_admin.php CHANGED
@@ -31,15 +31,6 @@ class MCWPAdmin {
31
  }
32
  }
33
 
34
- public function disableDeactivation($actions, $plugin_file) {
35
- if ($this->bvinfo->canSetCWBranding()) {
36
- if ( $this->bvinfo->slug === $plugin_file ) {
37
- unset( $actions['deactivate'] );
38
- }
39
- }
40
- return $actions;
41
- }
42
-
43
  public function cwBrandInfo() {
44
  return array(
45
  'name' => "Bot Protection",
31
  }
32
  }
33
 
 
 
 
 
 
 
 
 
 
34
  public function cwBrandInfo() {
35
  return array(
36
  'name' => "Bot Protection",