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

Version Description

  • Improvements in identifying plugin and theme updates.
Download this release

Release Info

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

Code changes from version 4.77 to 4.78

Files changed (5) hide show
  1. callback/base.php +1 -1
  2. callback/wings/info.php +27 -7
  3. info.php +1 -1
  4. malcare.php +1 -1
  5. readme.txt +11 -4
callback/base.php CHANGED
@@ -14,7 +14,7 @@ class BVCallbackBase {
14
  "ACCOUNT_WING_VERSION" => '1.1',
15
  "MISC_WING_VERSION" => '1.2',
16
  "FS_WING_VERSION" => '1.2',
17
- "INFO_WING_VERSION" => '1.4',
18
  "WATCH_WING_VERSION" => '1.0',
19
  "FS_WRITE_WING_VERSION" => '1.0',
20
  "IPSTORE_WING_VERSION" => '1.0',
14
  "ACCOUNT_WING_VERSION" => '1.1',
15
  "MISC_WING_VERSION" => '1.2',
16
  "FS_WING_VERSION" => '1.2',
17
+ "INFO_WING_VERSION" => '1.5',
18
  "WATCH_WING_VERSION" => '1.0',
19
  "FS_WRITE_WING_VERSION" => '1.0',
20
  "IPSTORE_WING_VERSION" => '1.0',
callback/wings/info.php CHANGED
@@ -10,7 +10,7 @@ class BVInfoCallback extends BVCallbackBase {
10
  public $bvinfo;
11
  public $bvapi;
12
 
13
- const INFO_WING_VERSION = 1.4;
14
 
15
  public function __construct($callback_handler) {
16
  $this->db = $callback_handler->db;
@@ -334,12 +334,32 @@ class BVInfoCallback extends BVCallbackBase {
334
  return array("transient" => $transient);
335
  }
336
 
337
- function getPluginsHandler() {
338
- return array_merge($this->getPlugins(), $this->getTransient('update_plugins'));
 
 
 
 
 
 
 
 
 
 
339
  }
340
 
341
- function getThemesHandler() {
342
- return array_merge($this->getThemes(), $this->getTransient('update_themes'));
 
 
 
 
 
 
 
 
 
 
343
  }
344
 
345
  function getSiteInfo($args) {
@@ -358,10 +378,10 @@ class BVInfoCallback extends BVCallbackBase {
358
  $result['users'] = $this->getUsersHandler($args['users']);
359
 
360
  if (array_key_exists('plugins', $args))
361
- $result['plugins'] = $this->getPluginsHandler();
362
 
363
  if (array_key_exists('themes', $args))
364
- $result['themes'] = $this->getThemesHandler();
365
 
366
  if (array_key_exists('core', $args))
367
  $result['core'] = $this->getTransient('update_core');
10
  public $bvinfo;
11
  public $bvapi;
12
 
13
+ const INFO_WING_VERSION = 1.5;
14
 
15
  public function __construct($callback_handler) {
16
  $this->db = $callback_handler->db;
334
  return array("transient" => $transient);
335
  }
336
 
337
+ function getPluginsHandler($args = array()) {
338
+ $result = array_merge($this->getPlugins(), $this->getTransient('update_plugins'));
339
+
340
+ if (array_key_exists('clear_filters', $args)) {
341
+ $filters = $args['clear_filters'];
342
+ foreach ($filters as $filter)
343
+ remove_all_filters($filter);
344
+ $transient_without_filters = $this->getTransient('update_plugins');
345
+ $result['transient_without_filters'] = $transient_without_filters['transient'];
346
+ }
347
+
348
+ return $result;
349
  }
350
 
351
+ function getThemesHandler($args = array()) {
352
+ $result = array_merge($this->getThemes(), $this->getTransient('update_themes'));
353
+
354
+ if (array_key_exists('clear_filters', $args)) {
355
+ $filters = $args['clear_filters'];
356
+ foreach ($filters as $filter)
357
+ remove_all_filters($filter);
358
+ $transient_without_filters = $this->getTransient('update_themes');
359
+ $result['transient_without_filters'] = $transient_without_filters['transient'];
360
+ }
361
+
362
+ return $result;
363
  }
364
 
365
  function getSiteInfo($args) {
378
  $result['users'] = $this->getUsersHandler($args['users']);
379
 
380
  if (array_key_exists('plugins', $args))
381
+ $result['plugins'] = $this->getPluginsHandler($args['plugins']);
382
 
383
  if (array_key_exists('themes', $args))
384
+ $result['themes'] = $this->getThemesHandler($args['themes']);
385
 
386
  if (array_key_exists('core', $args))
387
  $result['core'] = $this->getTransient('update_core');
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.77';
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.78';
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 WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall
6
  Author: MalCare Security
7
  Author URI: https://www.malcare.com
8
- Version: 4.77
9
  Network: True
10
  */
11
 
5
  Description: MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall
6
  Author: MalCare Security
7
  Author URI: https://www.malcare.com
8
+ Version: 4.78
9
  Network: True
10
  */
11
 
readme.txt CHANGED
@@ -4,9 +4,9 @@ Tags: security, wordpress security, security plugin, firewall, malware scanner,
4
  Plugin URI: https://www.malcare.com
5
  Donate link: https://www.malcare.com
6
  Requires at least: 4.0
7
- Tested up to: 5.9
8
  Requires PHP: 5.4.0
9
- Stable tag: 4.77
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
 
@@ -23,11 +23,15 @@ A WordPress security plugin ensures that your website remains completely safe an
23
 
24
  **Difference Between MalCare Free vs Premium**
25
 
26
- [youtube https://www.youtube.com/watch?v=90NVxDYG8N0]
 
 
 
 
27
 
28
  **MalCare in 1 Minute - Overview**
29
 
30
- [youtube https://www.youtube.com/watch?v=rBuYh2dIadk]
31
  <br/>
32
 
33
  **Important Links: [Security Features](https://www.malcare.com/features/) | [Why Choose MalCare?](https://www.malcare.com/) | [Comparisons](https://www.malcare.com/top-wordpress-security-plugins-compared/) | [Free vs Paid](https://www.malcare.com/malcare-free-premium/)**
@@ -392,6 +396,9 @@ These are available on our website: [Terms of Service](https://www.malcare.com/t
392
  8. MalCare’s Uptime Monitoring notifies if a website goes down so that you can handle the situation before starting to lose visitors.
393
 
394
  == CHANGELOG ==
 
 
 
395
  = 4.77 =
396
  * Improved the landing pages.
397
  * Enhanced future vulnerability protection
4
  Plugin URI: https://www.malcare.com
5
  Donate link: https://www.malcare.com
6
  Requires at least: 4.0
7
+ Tested up to: 6.0
8
  Requires PHP: 5.4.0
9
+ Stable tag: 4.78
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
 
23
 
24
  **Difference Between MalCare Free vs Premium**
25
 
26
+ [youtube https://www.youtube.com/watch?v=4ja5ix9WDCo]
27
+
28
+ **Why MalCare is best WordPress security plugin?**
29
+
30
+ [youtube https://www.youtube.com/watch?v=vt-0TrMV-TQ]
31
 
32
  **MalCare in 1 Minute - Overview**
33
 
34
+ [youtube https://www.youtube.com/watch?v=H1XRntW_FeE]
35
  <br/>
36
 
37
  **Important Links: [Security Features](https://www.malcare.com/features/) | [Why Choose MalCare?](https://www.malcare.com/) | [Comparisons](https://www.malcare.com/top-wordpress-security-plugins-compared/) | [Free vs Paid](https://www.malcare.com/malcare-free-premium/)**
396
  8. MalCare’s Uptime Monitoring notifies if a website goes down so that you can handle the situation before starting to lose visitors.
397
 
398
  == CHANGELOG ==
399
+ = 4.78 =
400
+ * Improvements in identifying plugin and theme updates.
401
+
402
  = 4.77 =
403
  * Improved the landing pages.
404
  * Enhanced future vulnerability protection