Version Description
- 4 April 2019 =
- Bugfix: Fix a PHP fatal error caused by passing an object to the current() function.
Download this release
Release Info
Developer | briancolinger |
Plugin | VaultPress |
Version | 1.9.10 |
Comparing to | |
See all releases |
Code changes from version 1.9.9 to 1.9.10
- cron-tasks.php +12 -2
- readme.txt +4 -1
- vaultpress.php +2 -2
cron-tasks.php
CHANGED
@@ -103,12 +103,22 @@ class VP_Site_Scanner {
|
|
103 |
}
|
104 |
|
105 |
function _scan_batch() {
|
106 |
-
$paths =
|
107 |
if ( empty( $paths ) || $this->_scan_clean_up( $paths ) )
|
108 |
return false;
|
109 |
|
|
|
|
|
|
|
|
|
110 |
reset( $paths );
|
111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
if ( !is_object( $current ) || empty( $current->last_dir ) )
|
113 |
return $this->_scan_clean_up( $paths, $type );
|
114 |
|
103 |
}
|
104 |
|
105 |
function _scan_batch() {
|
106 |
+
$paths = get_option( '_vp_current_scan' );
|
107 |
if ( empty( $paths ) || $this->_scan_clean_up( $paths ) )
|
108 |
return false;
|
109 |
|
110 |
+
if ( ! is_array( $paths ) ) {
|
111 |
+
return false;
|
112 |
+
}
|
113 |
+
|
114 |
reset( $paths );
|
115 |
+
|
116 |
+
$type = null;
|
117 |
+
$current = false;
|
118 |
+
foreach ( $paths as $type => $current ) {
|
119 |
+
break;
|
120 |
+
}
|
121 |
+
|
122 |
if ( !is_object( $current ) || empty( $current->last_dir ) )
|
123 |
return $this->_scan_clean_up( $paths, $type );
|
124 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic, apokalyptik, briancolinger, josephscott, shaunandrews,
|
|
3 |
Tags: security, malware, virus, archive, back up, back ups, backup, backups, scanning, restore, wordpress backup, site backup, website backup
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 5.1.1
|
6 |
-
Stable tag: 1.9.
|
7 |
License: GPLv2
|
8 |
|
9 |
VaultPress is a subscription service offering real-time backup, automated security scanning, and support from WordPress experts.
|
@@ -47,6 +47,9 @@ A VaultPress subscription is for a single WordPress site. You can purchase addit
|
|
47 |
Yes, VaultPress supports Multisite installs. Each site will require its own subscription.
|
48 |
|
49 |
== Changelog ==
|
|
|
|
|
|
|
50 |
= 1.9.9 - 28 March 2019 =
|
51 |
* PHP 7.2.0 compatibility fix.
|
52 |
* Adding button to delete all VaultPress settings
|
3 |
Tags: security, malware, virus, archive, back up, back ups, backup, backups, scanning, restore, wordpress backup, site backup, website backup
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 5.1.1
|
6 |
+
Stable tag: 1.9.10
|
7 |
License: GPLv2
|
8 |
|
9 |
VaultPress is a subscription service offering real-time backup, automated security scanning, and support from WordPress experts.
|
47 |
Yes, VaultPress supports Multisite installs. Each site will require its own subscription.
|
48 |
|
49 |
== Changelog ==
|
50 |
+
= 1.9.10 - 4 April 2019 =
|
51 |
+
* Bugfix: Fix a PHP fatal error caused by passing an object to the current() function.
|
52 |
+
|
53 |
= 1.9.9 - 28 March 2019 =
|
54 |
* PHP 7.2.0 compatibility fix.
|
55 |
* Adding button to delete all VaultPress settings
|
vaultpress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: VaultPress
|
4 |
* Plugin URI: http://vaultpress.com/?utm_source=plugin-uri&utm_medium=plugin-description&utm_campaign=1.0
|
5 |
* Description: Protect your content, themes, plugins, and settings with <strong>realtime backup</strong> and <strong>automated security scanning</strong> from <a href="http://vaultpress.com/?utm_source=wp-admin&utm_medium=plugin-description&utm_campaign=1.0" rel="nofollow">VaultPress</a>. Activate, enter your registration key, and never worry again. <a href="http://vaultpress.com/help/?utm_source=wp-admin&utm_medium=plugin-description&utm_campaign=1.0" rel="nofollow">Need some help?</a>
|
6 |
-
* Version: 1.9.
|
7 |
* Author: Automattic
|
8 |
* Author URI: http://vaultpress.com/?utm_source=author-uri&utm_medium=plugin-description&utm_campaign=1.0
|
9 |
* License: GPL2+
|
@@ -18,7 +18,7 @@ class VaultPress {
|
|
18 |
var $option_name = 'vaultpress';
|
19 |
var $auto_register_option = 'vaultpress_auto_register';
|
20 |
var $db_version = 4;
|
21 |
-
var $plugin_version = '1.9.
|
22 |
|
23 |
function __construct() {
|
24 |
register_activation_hook( __FILE__, array( $this, 'activate' ) );
|
3 |
* Plugin Name: VaultPress
|
4 |
* Plugin URI: http://vaultpress.com/?utm_source=plugin-uri&utm_medium=plugin-description&utm_campaign=1.0
|
5 |
* Description: Protect your content, themes, plugins, and settings with <strong>realtime backup</strong> and <strong>automated security scanning</strong> from <a href="http://vaultpress.com/?utm_source=wp-admin&utm_medium=plugin-description&utm_campaign=1.0" rel="nofollow">VaultPress</a>. Activate, enter your registration key, and never worry again. <a href="http://vaultpress.com/help/?utm_source=wp-admin&utm_medium=plugin-description&utm_campaign=1.0" rel="nofollow">Need some help?</a>
|
6 |
+
* Version: 1.9.10
|
7 |
* Author: Automattic
|
8 |
* Author URI: http://vaultpress.com/?utm_source=author-uri&utm_medium=plugin-description&utm_campaign=1.0
|
9 |
* License: GPL2+
|
18 |
var $option_name = 'vaultpress';
|
19 |
var $auto_register_option = 'vaultpress_auto_register';
|
20 |
var $db_version = 4;
|
21 |
+
var $plugin_version = '1.9.10';
|
22 |
|
23 |
function __construct() {
|
24 |
register_activation_hook( __FILE__, array( $this, 'activate' ) );
|