Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version 1.8.1

Version Description

Release date: Mar 15th, 2019

  • Bug fix: Ensure library's activity class is available before using it.
Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version 1.8.1
Comparing to
See all releases

Code changes from version 1.8.0 to 1.8.1

admin/class-boldgrid-backup-admin-archive-details.php CHANGED
@@ -205,7 +205,8 @@ class Boldgrid_Backup_Admin_Archive_Details {
205
  }
206
 
207
  // Take action if we've updated either the backup's title or description.
208
- if ( ! empty( $attributes['title'] ) || ! empty( $attributes['description'] ) ) {
 
209
  $this->core->activity->add( 'update_title_description', 1, $this->core->rating_prompt_config );
210
  }
211
  }
205
  }
206
 
207
  // Take action if we've updated either the backup's title or description.
208
+ $title_description_update = ! empty( $attributes['title'] ) || ! empty( $attributes['description'] );
209
+ if ( $title_description_update && isset( $this->core->activity ) ) {
210
  $this->core->activity->add( 'update_title_description', 1, $this->core->rating_prompt_config );
211
  }
212
  }
admin/class-boldgrid-backup-admin-core.php CHANGED
@@ -1871,7 +1871,9 @@ class Boldgrid_Backup_Admin_Core {
1871
  )
1872
  );
1873
 
1874
- $this->activity->add( 'any_backup_created', 1, $this->rating_prompt_config );
 
 
1875
 
1876
  // Return the array of archive information.
1877
  return $info;
@@ -2569,8 +2571,11 @@ class Boldgrid_Backup_Admin_Core {
2569
 
2570
  $filesize = $archives[ $download_key ]['filesize'];
2571
 
 
 
 
 
2572
  // Send the file and die nicely.
2573
- $this->activity->add( 'download_to_local_machine', 1, $this->rating_prompt_config );
2574
  Boldgrid_Backup_File::send_file( $filepath, $filesize );
2575
  }
2576
 
1871
  )
1872
  );
1873
 
1874
+ if ( isset( $this->activity ) ) {
1875
+ $this->activity->add( 'any_backup_created', 1, $this->rating_prompt_config );
1876
+ }
1877
 
1878
  // Return the array of archive information.
1879
  return $info;
2571
 
2572
  $filesize = $archives[ $download_key ]['filesize'];
2573
 
2574
+ if ( isset( $this->activity ) ) {
2575
+ $this->activity->add( 'download_to_local_machine', 1, $this->rating_prompt_config );
2576
+ }
2577
+
2578
  // Send the file and die nicely.
 
2579
  Boldgrid_Backup_File::send_file( $filepath, $filesize );
2580
  }
2581
 
boldgrid-backup.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: BoldGrid Backup
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: BoldGrid Backup provides WordPress backup and restoration with update protection.
19
- * Version: 1.8.0
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
16
  * Plugin Name: BoldGrid Backup
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: BoldGrid Backup provides WordPress backup and restoration with update protection.
19
+ * Version: 1.8.1
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: boldgrid, backup, restore, migrate, migration
4
  Requires at least: 4.4
5
  Tested up to: 5.1
6
  Requires PHP: 5.4
7
- Stable tag: 1.8.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -38,6 +38,11 @@ The following features are available, of which you can find additional info for
38
  * Protect important backups by excluding them from retention settings.
39
  * Download and Upload backups using protected links, which makes transferring a website from one host to another an much easier process.
40
 
 
 
 
 
 
41
  == Screenshots ==
42
 
43
  1. Easily schedule backups using Cron or WP Cron. Set a time of day, select the days of the week, and BoldGrid Backup will automate backups for you. You will receive an email after each backup has been completed.
@@ -76,6 +81,12 @@ The following features are available, of which you can find additional info for
76
 
77
  == Changelog ==
78
 
 
 
 
 
 
 
79
  = 1.8.0 =
80
 
81
  Release date: Feb 14th, 2019
4
  Requires at least: 4.4
5
  Tested up to: 5.1
6
  Requires PHP: 5.4
7
+ Stable tag: 1.8.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
38
  * Protect important backups by excluding them from retention settings.
39
  * Download and Upload backups using protected links, which makes transferring a website from one host to another an much easier process.
40
 
41
+ == Getting Started & Support ==
42
+
43
+ If you have any questions on getting started with BoldGrid Backup, please visit our [Getting Started Guide](https://www.boldgrid.com/support/boldgrid-backup/).
44
+ We also suggest joining our [Team Orange User Group community](https://www.facebook.com/groups/BGTeamOrange) for free support, tips and tricks.
45
+
46
  == Screenshots ==
47
 
48
  1. Easily schedule backups using Cron or WP Cron. Set a time of day, select the days of the week, and BoldGrid Backup will automate backups for you. You will receive an email after each backup has been completed.
81
 
82
  == Changelog ==
83
 
84
+ = 1.8.1 =
85
+
86
+ Release date: Mar 15th, 2019
87
+
88
+ * Bug fix: Ensure library's activity class is available before using it.
89
+
90
  = 1.8.0 =
91
 
92
  Release date: Feb 14th, 2019
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit3e2646554819dff6ecfaba76bda8b9e7::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit21f4df3170f251ade4e08d925cc50562::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit3e2646554819dff6ecfaba76bda8b9e7
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit3e2646554819dff6ecfaba76bda8b9e7
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit3e2646554819dff6ecfaba76bda8b9e7', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit3e2646554819dff6ecfaba76bda8b9e7', '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\ComposerStaticInit3e2646554819dff6ecfaba76bda8b9e7::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit3e2646554819dff6ecfaba76bda8b9e7
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit3e2646554819dff6ecfaba76bda8b9e7::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire3e2646554819dff6ecfaba76bda8b9e7($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire3e2646554819dff6ecfaba76bda8b9e7($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit21f4df3170f251ade4e08d925cc50562
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit21f4df3170f251ade4e08d925cc50562', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit21f4df3170f251ade4e08d925cc50562', '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\ComposerStaticInit21f4df3170f251ade4e08d925cc50562::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit21f4df3170f251ade4e08d925cc50562::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire21f4df3170f251ade4e08d925cc50562($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire21f4df3170f251ade4e08d925cc50562($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit3e2646554819dff6ecfaba76bda8b9e7
8
  {
9
  public static $files = array (
10
  'f15d016d70663d5e96ccd2b863511eb8' => __DIR__ . '/..' . '/cbschuld/browser.php/lib/Browser.php',
@@ -91,9 +91,9 @@ class ComposerStaticInit3e2646554819dff6ecfaba76bda8b9e7
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInit3e2646554819dff6ecfaba76bda8b9e7::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInit3e2646554819dff6ecfaba76bda8b9e7::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInit3e2646554819dff6ecfaba76bda8b9e7::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit21f4df3170f251ade4e08d925cc50562
8
  {
9
  public static $files = array (
10
  'f15d016d70663d5e96ccd2b863511eb8' => __DIR__ . '/..' . '/cbschuld/browser.php/lib/Browser.php',
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
+ $loader->prefixLengthsPsr4 = ComposerStaticInit21f4df3170f251ade4e08d925cc50562::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit21f4df3170f251ade4e08d925cc50562::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit21f4df3170f251ade4e08d925cc50562::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }