WordPress Backup & Security Plugin – BlogVault - Version 4.68

Version Description

  • Removing use of constants for arrays for PHP 5.4 support.
  • Robust firewall-config checks.
Download this release

Release Info

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

Code changes from version 4.66 to 4.68

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.66
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.68
9
  Network: True
10
  */
11
 
callback/base.php CHANGED
@@ -5,14 +5,14 @@ if (!class_exists('BVCallbackBase')) :
5
 
6
  class BVCallbackBase {
7
 
8
- const WING_INFOS = array("MANAGE_WING_VERSION" => '1.0',
9
  "ACTLOG_WING_VERSION" => '1.0',
10
  "DYNSYNC_WING_VERSION" => '1.0',
11
  "UPGRADER_WING_VERSION" => '1.0',
12
  "BRAND_WING_VERSION" => '1.0',
13
  "DB_WING_VERSION" => '1.0',
14
  "ACCOUNT_WING_VERSION" => '1.0',
15
- "MISC_WING_VERSION" => '1.0',
16
  "FS_WING_VERSION" => '1.0',
17
  "INFO_WING_VERSION" => '1.0',
18
  "WATCH_WING_VERSION" => '1.0',
5
 
6
  class BVCallbackBase {
7
 
8
+ public static $wing_infos = array("MANAGE_WING_VERSION" => '1.0',
9
  "ACTLOG_WING_VERSION" => '1.0',
10
  "DYNSYNC_WING_VERSION" => '1.0',
11
  "UPGRADER_WING_VERSION" => '1.0',
12
  "BRAND_WING_VERSION" => '1.0',
13
  "DB_WING_VERSION" => '1.0',
14
  "ACCOUNT_WING_VERSION" => '1.0',
15
+ "MISC_WING_VERSION" => '1.1',
16
  "FS_WING_VERSION" => '1.0',
17
  "INFO_WING_VERSION" => '1.0',
18
  "WATCH_WING_VERSION" => '1.0',
callback/handler.php CHANGED
@@ -92,6 +92,10 @@ if (!class_exists('BVCallbackHandler')) :
92
  require_once dirname( __FILE__ ) . '/wings/actlog.php';
93
  $module = new BVActLogCallback($this);
94
  break;
 
 
 
 
95
  default:
96
  require_once dirname( __FILE__ ) . '/wings/misc.php';
97
  $module = new BVMiscCallback($this);
92
  require_once dirname( __FILE__ ) . '/wings/actlog.php';
93
  $module = new BVActLogCallback($this);
94
  break;
95
+ case 'speed':
96
+ require_once dirname( __FILE__ ) . '/wings/speed.php';
97
+ $module = new BVSpeedCallback($this);
98
+ break;
99
  default:
100
  require_once dirname( __FILE__ ) . '/wings/misc.php';
101
  $module = new BVMiscCallback($this);
callback/wings/misc.php CHANGED
@@ -11,7 +11,7 @@ class BVMiscCallback extends BVCallbackBase {
11
  public $bvapi;
12
  public $db;
13
 
14
- const MISC_WING_VERSION = 1.0;
15
 
16
  public function __construct($callback_handler) {
17
  $this->settings = $callback_handler->settings;
@@ -49,7 +49,7 @@ class BVMiscCallback extends BVCallbackBase {
49
  }
50
 
51
  public function getWingInfo() {
52
- return array('wing_info' => self::WING_INFOS);
53
  }
54
 
55
  public function post_types_data($post_params) {
11
  public $bvapi;
12
  public $db;
13
 
14
+ const MISC_WING_VERSION = 1.1;
15
 
16
  public function __construct($callback_handler) {
17
  $this->settings = $callback_handler->settings;
49
  }
50
 
51
  public function getWingInfo() {
52
+ return array('wing_info' => self::$wing_infos);
53
  }
54
 
55
  public function post_types_data($post_params) {
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.66';
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.68';
14
  public $webpage = 'https://blogvault.net';
15
  public $appurl = 'https://app.blogvault.net';
16
  public $slug = 'blogvault-real-time-backup/blogvault.php';
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://app.blogvault.net/home/signup
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
 
@@ -247,6 +247,10 @@ These are available on our website: [Terms of Service](https://blogvault.net/tos
247
  9. We power WordPress migration for WPEngine, Pantheon, FlyWheel, LiquidWeb, Cloudways, Savvii and many more. Need we say more?
248
 
249
  == CHANGELOG ==
 
 
 
 
250
  = 4.66 =
251
  * Post type fetch improvement.
252
  * 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.68
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
 
247
  9. We power WordPress migration for WPEngine, Pantheon, FlyWheel, LiquidWeb, Cloudways, Savvii and many more. Need we say more?
248
 
249
  == CHANGELOG ==
250
+ = 4.68 =
251
+ * Removing use of constants for arrays for PHP 5.4 support.
252
+ * Robust firewall-config checks.
253
+
254
  = 4.66 =
255
  * Post type fetch improvement.
256
  * Handing wing version for ipstore wing.