WordPress Backup & Security Plugin – BlogVault - Version 4.78

Version Description

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

Release Info

Developer ritesh.soni36
Plugin Icon 128x128 WordPress Backup & Security Plugin – BlogVault
Version 4.78
Comparing to
See all releases

Code changes from version 4.77 to 4.78

Files changed (5) hide show
  1. blogvault.php +1 -1
  2. callback/base.php +1 -1
  3. callback/wings/info.php +27 -7
  4. info.php +1 -1
  5. readme.txt +5 -2
blogvault.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://blogvault.net
5
  Description: Easiest way to backup & secure your WordPress site
6
  Author: Backup by BlogVault
7
  Author URI: https://blogvault.net
8
- Version: 4.77
9
  Network: True
10
  */
11
 
5
  Description: Easiest way to backup & secure your WordPress site
6
  Author: Backup by BlogVault
7
  Author URI: https://blogvault.net
8
+ Version: 4.78
9
  Network: True
10
  */
11
 
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('BVInfo')) :
10
  public $badgeinfo = 'bvbadge';
11
  public $ip_header_option = 'bvipheader';
12
  public $brand_option = 'bvbrand';
13
- public $version = '4.77';
14
  public $webpage = 'https://blogvault.net';
15
  public $appurl = 'https://app.blogvault.net';
16
  public $slug = 'blogvault-real-time-backup/blogvault.php';
10
  public $badgeinfo = 'bvbadge';
11
  public $ip_header_option = 'bvipheader';
12
  public $brand_option = 'bvbrand';
13
+ public $version = '4.78';
14
  public $webpage = 'https://blogvault.net';
15
  public $appurl = 'https://app.blogvault.net';
16
  public $slug = 'blogvault-real-time-backup/blogvault.php';
readme.txt CHANGED
@@ -4,9 +4,9 @@ Tags: backup, wordpress backup, backup plugin, cloud backup, database backup, ba
4
  Plugin URI: https://blogvault.net/
5
  Donate link: https://app.blogvault.net/home/signup
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
 
@@ -252,6 +252,9 @@ These are available on our website: [Terms of Service](https://blogvault.net/tos
252
  9. We power WordPress migration for WPEngine, Pantheon, FlyWheel, LiquidWeb, Cloudways, Savvii, and many more. Need we say more?
253
 
254
  == CHANGELOG ==
 
 
 
255
  = 4.77 =
256
  * Improved the landing pages.
257
  * Enhanced future vulnerability protection
4
  Plugin URI: https://blogvault.net/
5
  Donate link: https://app.blogvault.net/home/signup
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
 
252
  9. We power WordPress migration for WPEngine, Pantheon, FlyWheel, LiquidWeb, Cloudways, Savvii, and many more. Need we say more?
253
 
254
  == CHANGELOG ==
255
+ = 4.78 =
256
+ * Improvements in identifying plugin and theme updates.
257
+
258
  = 4.77 =
259
  * Improved the landing pages.
260
  * Enhanced future vulnerability protection