Version Description
- Adding default parameter for BVWPAdmin constructor
Download this release
Release Info
Developer | ritesh.soni36 |
Plugin | WordPress Backup & Security Plugin – BlogVault |
Version | 4.21 |
Comparing to | |
See all releases |
Code changes from version 4.2 to 4.21
- blogvault.php +2 -2
- callback/wings/fs_write.php +0 -16
- info.php +1 -1
- readme.txt +4 -1
- wp_admin.php +2 -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.
|
9 |
Network: True
|
10 |
*/
|
11 |
|
@@ -56,7 +56,7 @@ add_action('wp_footer', array($wp_action, 'footerHandler'), 100);
|
|
56 |
##WPCLIMODULE##
|
57 |
if (is_admin()) {
|
58 |
require_once dirname( __FILE__ ) . '/wp_admin.php';
|
59 |
-
$wpadmin = new BVWPAdmin($bvsettings, $bvsiteinfo
|
60 |
add_action('admin_init', array($wpadmin, 'initHandler'));
|
61 |
add_filter('all_plugins', array($wpadmin, 'initBranding'));
|
62 |
add_filter('plugin_row_meta', array($wpadmin, 'hidePluginDetails'), 10, 2);
|
5 |
Description: Easiest way to backup & secure your WordPress site
|
6 |
Author: Backup by BlogVault
|
7 |
Author URI: https://blogvault.net
|
8 |
+
Version: 4.21
|
9 |
Network: True
|
10 |
*/
|
11 |
|
56 |
##WPCLIMODULE##
|
57 |
if (is_admin()) {
|
58 |
require_once dirname( __FILE__ ) . '/wp_admin.php';
|
59 |
+
$wpadmin = new BVWPAdmin($bvsettings, $bvsiteinfo);
|
60 |
add_action('admin_init', array($wpadmin, 'initHandler'));
|
61 |
add_filter('all_plugins', array($wpadmin, 'initBranding'));
|
62 |
add_filter('plugin_row_meta', array($wpadmin, 'hidePluginDetails'), 10, 2);
|
callback/wings/fs_write.php
CHANGED
@@ -269,17 +269,6 @@ class BVFSWriteCallback extends BVCallbackBase {
|
|
269 |
return $result;
|
270 |
}
|
271 |
|
272 |
-
public function wgetFile($ifile_url, $ofile) {
|
273 |
-
$result = array();
|
274 |
-
system("wget -nv -O $ofile $ifile_url 2>&1 > /dev/null", $retval);
|
275 |
-
|
276 |
-
if ($retval !== 0) {
|
277 |
-
$result['error'] = "WGET_ERROR";
|
278 |
-
}
|
279 |
-
|
280 |
-
return $result;
|
281 |
-
}
|
282 |
-
|
283 |
public function streamCopyFile($ifile_url, $ofile) {
|
284 |
$result = array();
|
285 |
$handle = fopen($ifile_url, "rb");
|
@@ -379,11 +368,6 @@ class BVFSWriteCallback extends BVCallbackBase {
|
|
379 |
|
380 |
$resp = $this->curlFile($ifile_url, $ofile, $timeout);
|
381 |
break;
|
382 |
-
case "wget":
|
383 |
-
$ifile_url = isset($params['ifileurl']) ? $params['ifileurl'] : null;
|
384 |
-
|
385 |
-
$resp = $this->wgetFile($ifile_url, $ofile);
|
386 |
-
break;
|
387 |
case "streamcopy":
|
388 |
$ifile_url = isset($params['ifileurl']) ? $params['ifileurl'] : null;
|
389 |
|
269 |
return $result;
|
270 |
}
|
271 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
public function streamCopyFile($ifile_url, $ofile) {
|
273 |
$result = array();
|
274 |
$handle = fopen($ifile_url, "rb");
|
368 |
|
369 |
$resp = $this->curlFile($ifile_url, $ofile, $timeout);
|
370 |
break;
|
|
|
|
|
|
|
|
|
|
|
371 |
case "streamcopy":
|
372 |
$ifile_url = isset($params['ifileurl']) ? $params['ifileurl'] : null;
|
373 |
|
info.php
CHANGED
@@ -9,7 +9,7 @@ if (!class_exists('BVInfo')) :
|
|
9 |
public $badgeinfo = 'bvbadge';
|
10 |
public $ip_header_option = 'bvipheader';
|
11 |
public $brand_option = 'bvbrand';
|
12 |
-
public $version = '4.
|
13 |
public $webpage = 'https://blogvault.net';
|
14 |
public $appurl = 'https://app.blogvault.net';
|
15 |
public $slug = 'blogvault-real-time-backup/blogvault.php';
|
9 |
public $badgeinfo = 'bvbadge';
|
10 |
public $ip_header_option = 'bvipheader';
|
11 |
public $brand_option = 'bvbrand';
|
12 |
+
public $version = '4.21';
|
13 |
public $webpage = 'https://blogvault.net';
|
14 |
public $appurl = 'https://app.blogvault.net';
|
15 |
public $slug = 'blogvault-real-time-backup/blogvault.php';
|
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.4
|
8 |
Requires PHP: 5.4.0
|
9 |
-
Stable tag: 4.
|
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 |
|
@@ -240,6 +240,9 @@ Thank you. We really appreciate these kind words, and it makes our day. We would
|
|
240 |
9. We power WordPress migration for WPEngine, Pantheon, FlyWheel, LiquidWeb, Cloudways, Savvii and many more. Need we say more?
|
241 |
|
242 |
== CHANGELOG ==
|
|
|
|
|
|
|
243 |
= 4.2 =
|
244 |
* Firewall in prepend mode
|
245 |
* Robust Firewall and Login protection
|
6 |
Requires at least: 4.0
|
7 |
Tested up to: 5.4
|
8 |
Requires PHP: 5.4.0
|
9 |
+
Stable tag: 4.21
|
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 |
|
240 |
9. We power WordPress migration for WPEngine, Pantheon, FlyWheel, LiquidWeb, Cloudways, Savvii and many more. Need we say more?
|
241 |
|
242 |
== CHANGELOG ==
|
243 |
+
= 4.21 =
|
244 |
+
* Adding default parameter for BVWPAdmin constructor
|
245 |
+
|
246 |
= 4.2 =
|
247 |
* Firewall in prepend mode
|
248 |
* Robust Firewall and Login protection
|
wp_admin.php
CHANGED
@@ -9,10 +9,10 @@ class BVWPAdmin {
|
|
9 |
public $bvinfo;
|
10 |
public $bvapi;
|
11 |
|
12 |
-
function __construct($settings, $siteinfo, $bvapi) {
|
13 |
$this->settings = $settings;
|
14 |
$this->siteinfo = $siteinfo;
|
15 |
-
$this->bvapi = $
|
16 |
$this->bvinfo = new BVInfo($this->settings);
|
17 |
}
|
18 |
|
9 |
public $bvinfo;
|
10 |
public $bvapi;
|
11 |
|
12 |
+
function __construct($settings, $siteinfo, $bvapi = null) {
|
13 |
$this->settings = $settings;
|
14 |
$this->siteinfo = $siteinfo;
|
15 |
+
$this->bvapi = new BVWPAPI($settings);
|
16 |
$this->bvinfo = new BVInfo($this->settings);
|
17 |
}
|
18 |
|