Version Description
- 17 August 2018
- Limit vp_ai_ping% entries to improve stability when a site gets disconnected from VaultPress.com
=
Download this release
Release Info
| Developer | rdcoll |
| Plugin | |
| Version | 1.9.6 |
| Comparing to | |
| See all releases | |
Code changes from version 1.9.5 to 1.9.6
- readme.txt +5 -1
- vaultpress.php +12 -2
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: 4.9
|
| 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.
|
|
@@ -46,6 +46,10 @@ A VaultPress subscription is for a single WordPress site. You can purchase addit
|
|
| 46 |
|
| 47 |
Yes, VaultPress supports Multisite installs. Each site will require its own subscription.
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
== Changelog ==
|
| 50 |
= 1.9.5 - 2 February 2018
|
| 51 |
* Removing activation notice
|
| 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: 4.9
|
| 6 |
+
Stable tag: 1.9.6
|
| 7 |
License: GPLv2
|
| 8 |
|
| 9 |
VaultPress is a subscription service offering real-time backup, automated security scanning, and support from WordPress experts.
|
| 46 |
|
| 47 |
Yes, VaultPress supports Multisite installs. Each site will require its own subscription.
|
| 48 |
|
| 49 |
+
== Changelog ==
|
| 50 |
+
= 1.9.6 - 17 August 2018
|
| 51 |
+
* Limit _vp_ai_ping_% entries to improve stability when a site gets disconnected from VaultPress.com
|
| 52 |
+
|
| 53 |
== Changelog ==
|
| 54 |
= 1.9.5 - 2 February 2018
|
| 55 |
* Removing activation notice
|
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' ) );
|
|
@@ -952,6 +952,11 @@ class VaultPress {
|
|
| 952 |
*/
|
| 953 |
function ai_ping_next() {
|
| 954 |
global $wpdb;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 955 |
$name = "_vp_ai_ping";
|
| 956 |
$wpdb->query( $wpdb->prepare( "DELETE FROM `$wpdb->options` WHERE `option_name` = %s;", $name ) );
|
| 957 |
$success = $wpdb->query( $wpdb->prepare( "INSERT INTO `$wpdb->options` (`option_name`, `option_value`, `autoload`) VALUES (%s, '', 'no')", $name ) );
|
|
@@ -962,7 +967,12 @@ class VaultPress {
|
|
| 962 |
}
|
| 963 |
|
| 964 |
function ai_ping_insert( $value ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 965 |
$new_id = $this->ai_ping_next();
|
|
|
|
| 966 |
if ( !$new_id )
|
| 967 |
return false;
|
| 968 |
add_option( '_vp_ai_ping_' . $new_id, $value, '', 'no' );
|
| 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.6
|
| 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.6';
|
| 22 |
|
| 23 |
function __construct() {
|
| 24 |
register_activation_hook( __FILE__, array( $this, 'activate' ) );
|
| 952 |
*/
|
| 953 |
function ai_ping_next() {
|
| 954 |
global $wpdb;
|
| 955 |
+
|
| 956 |
+
if ( absint( $this->ai_ping_count() ) >= 100 ) {
|
| 957 |
+
return false;
|
| 958 |
+
}
|
| 959 |
+
|
| 960 |
$name = "_vp_ai_ping";
|
| 961 |
$wpdb->query( $wpdb->prepare( "DELETE FROM `$wpdb->options` WHERE `option_name` = %s;", $name ) );
|
| 962 |
$success = $wpdb->query( $wpdb->prepare( "INSERT INTO `$wpdb->options` (`option_name`, `option_value`, `autoload`) VALUES (%s, '', 'no')", $name ) );
|
| 967 |
}
|
| 968 |
|
| 969 |
function ai_ping_insert( $value ) {
|
| 970 |
+
if ( absint( $this->ai_ping_count() ) >= 100 ) {
|
| 971 |
+
return false;
|
| 972 |
+
}
|
| 973 |
+
|
| 974 |
$new_id = $this->ai_ping_next();
|
| 975 |
+
|
| 976 |
if ( !$new_id )
|
| 977 |
return false;
|
| 978 |
add_option( '_vp_ai_ping_' . $new_id, $value, '', 'no' );
|
