VaultPress - Version 2.1

Version Description

  • Release date: December 9, 2019

Compatibility

  • General: avoid PHP deprecation notices when using a newer version of the Jetpack plugin.
  • Admin Page: do not display a dashboard link if not registered.
  • Admin Page: update reset settings card wording.
  • Connect button: update link to current VaultPress page.
  • Notices: only display notices in specific locations.
  • Notices: update wording for the VaultPress connection notice

See the previous changelogs here.

Download this release

Release Info

Developer briancolinger
Plugin Icon 128x128 VaultPress
Version 2.1
Comparing to
See all releases

Code changes from version 2.1-alpha to 2.1

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: 5.1
5
  Tested up to: 5.3
6
- Stable tag: 2.0.1
7
  Requires PHP: 5.3
8
  License: GPLv2
9
 
@@ -51,7 +51,7 @@ Yes, VaultPress supports Multisite installs. Each site will require its own subs
51
 
52
  = 2.1 =
53
 
54
- * Release date: November 26, 2019
55
 
56
  **Compatibility**
57
 
3
  Tags: security, malware, virus, archive, back up, back ups, backup, backups, scanning, restore, wordpress backup, site backup, website backup
4
  Requires at least: 5.1
5
  Tested up to: 5.3
6
+ Stable tag: 2.1
7
  Requires PHP: 5.3
8
  License: GPLv2
9
 
51
 
52
  = 2.1 =
53
 
54
+ * Release date: December 9, 2019
55
 
56
  **Compatibility**
57
 
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&amp;utm_medium=plugin-description&amp;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&amp;utm_medium=plugin-description&amp;utm_campaign=1.0" rel="nofollow">Need some help?</a>
6
- * Version: 2.1-alpha
7
  * Author: Automattic
8
  * Author URI: http://vaultpress.com/?utm_source=author-uri&amp;utm_medium=plugin-description&amp;utm_campaign=1.0
9
  * License: GPL2+
@@ -17,7 +17,7 @@
17
  defined( 'ABSPATH' ) || die();
18
 
19
  define( 'VAULTPRESS__MINIMUM_PHP_VERSION', '5.3.2' );
20
- define( 'VAULTPRESS__VERSION', '2.1-alpha' );
21
  define( 'VAULTPRESS__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
22
 
23
  /**
@@ -1120,7 +1120,7 @@ class VaultPress {
1120
  $should_ping = true;
1121
  $ignore_names = $this->get_option_name_ignore();
1122
  foreach( (array)$ignore_names as $val ) {
1123
- if ( $val{0} == '/' ) {
1124
  if ( preg_match( $val, $option_name ) )
1125
  $should_ping = false;
1126
  } else {
@@ -1708,11 +1708,11 @@ class VaultPress {
1708
  JS;
1709
  $chars = array();
1710
  for ( $i = 0; $i < strlen( $token ); $i++ ) {
1711
- if ( isset( $set[$token{$i}] ) ) {
1712
- $k = array_rand( $set[$token{$i}], 1 );
1713
- $chars[] = $set[$token{$i}][$k];
1714
  } else {
1715
- $chars[] = $token{$i};
1716
  }
1717
  }
1718
  $random = array_unique( $chars );
3
  * Plugin Name: VaultPress
4
  * Plugin URI: http://vaultpress.com/?utm_source=plugin-uri&amp;utm_medium=plugin-description&amp;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&amp;utm_medium=plugin-description&amp;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&amp;utm_medium=plugin-description&amp;utm_campaign=1.0" rel="nofollow">Need some help?</a>
6
+ * Version: 2.1
7
  * Author: Automattic
8
  * Author URI: http://vaultpress.com/?utm_source=author-uri&amp;utm_medium=plugin-description&amp;utm_campaign=1.0
9
  * License: GPL2+
17
  defined( 'ABSPATH' ) || die();
18
 
19
  define( 'VAULTPRESS__MINIMUM_PHP_VERSION', '5.3.2' );
20
+ define( 'VAULTPRESS__VERSION', '2.1' );
21
  define( 'VAULTPRESS__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
22
 
23
  /**
1120
  $should_ping = true;
1121
  $ignore_names = $this->get_option_name_ignore();
1122
  foreach( (array)$ignore_names as $val ) {
1123
+ if ( $val[0] == '/' ) {
1124
  if ( preg_match( $val, $option_name ) )
1125
  $should_ping = false;
1126
  } else {
1708
  JS;
1709
  $chars = array();
1710
  for ( $i = 0; $i < strlen( $token ); $i++ ) {
1711
+ if ( isset( $set[$token[ $i ] ] ) ) {
1712
+ $k = array_rand( $set[$token[ $i ] ], 1 );
1713
+ $chars[] = $set[$token[ $i ] ][$k];
1714
  } else {
1715
+ $chars[] = $token[ $i ];
1716
  }
1717
  }
1718
  $random = array_unique( $chars );
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit6a889b0d1e7a822a20f4685b7159c315::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitcb0da09def9fcd3ab40466d0adec84dc::getLoader();
vendor/autoload_packages.php CHANGED
@@ -122,7 +122,7 @@ if ( ! function_exists( __NAMESPACE__ . '\autoloader' ) ) {
122
  /**
123
  * Prepare all the classes for autoloading.
124
  */
125
- function enqueue_packages_d3b39f89e9a602536d67dd2f15b2fcf3() {
126
  $class_map = require_once dirname( __FILE__ ) . '/composer/autoload_classmap_package.php';
127
  foreach ( $class_map as $class_name => $class_info ) {
128
  enqueue_package_class( $class_name, $class_info['version'], $class_info['path'] );
@@ -141,4 +141,4 @@ function enqueue_packages_d3b39f89e9a602536d67dd2f15b2fcf3() {
141
  }
142
  }
143
  }
144
- enqueue_packages_d3b39f89e9a602536d67dd2f15b2fcf3();
122
  /**
123
  * Prepare all the classes for autoloading.
124
  */
125
+ function enqueue_packages_a88813e9a22603926a98c4d1748f3bdf() {
126
  $class_map = require_once dirname( __FILE__ ) . '/composer/autoload_classmap_package.php';
127
  foreach ( $class_map as $class_name => $class_info ) {
128
  enqueue_package_class( $class_name, $class_info['version'], $class_info['path'] );
141
  }
142
  }
143
  }
144
+ enqueue_packages_a88813e9a22603926a98c4d1748f3bdf();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit6a889b0d1e7a822a20f4685b7159c315
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit6a889b0d1e7a822a20f4685b7159c315
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit6a889b0d1e7a822a20f4685b7159c315', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit6a889b0d1e7a822a20f4685b7159c315', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit6a889b0d1e7a822a20f4685b7159c315::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitcb0da09def9fcd3ab40466d0adec84dc
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitcb0da09def9fcd3ab40466d0adec84dc', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitcb0da09def9fcd3ab40466d0adec84dc', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInitcb0da09def9fcd3ab40466d0adec84dc::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit6a889b0d1e7a822a20f4685b7159c315
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'V' =>
@@ -48,9 +48,9 @@ class ComposerStaticInit6a889b0d1e7a822a20f4685b7159c315
48
  public static function getInitializer(ClassLoader $loader)
49
  {
50
  return \Closure::bind(function () use ($loader) {
51
- $loader->prefixLengthsPsr4 = ComposerStaticInit6a889b0d1e7a822a20f4685b7159c315::$prefixLengthsPsr4;
52
- $loader->prefixDirsPsr4 = ComposerStaticInit6a889b0d1e7a822a20f4685b7159c315::$prefixDirsPsr4;
53
- $loader->classMap = ComposerStaticInit6a889b0d1e7a822a20f4685b7159c315::$classMap;
54
 
55
  }, null, ClassLoader::class);
56
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitcb0da09def9fcd3ab40466d0adec84dc
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'V' =>
48
  public static function getInitializer(ClassLoader $loader)
49
  {
50
  return \Closure::bind(function () use ($loader) {
51
+ $loader->prefixLengthsPsr4 = ComposerStaticInitcb0da09def9fcd3ab40466d0adec84dc::$prefixLengthsPsr4;
52
+ $loader->prefixDirsPsr4 = ComposerStaticInitcb0da09def9fcd3ab40466d0adec84dc::$prefixDirsPsr4;
53
+ $loader->classMap = ComposerStaticInitcb0da09def9fcd3ab40466d0adec84dc::$classMap;
54
 
55
  }, null, ClassLoader::class);
56
  }