Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version branch.issue-407.202012010946

Version Description

Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version branch.issue-407.202012010946
Comparing to
See all releases

Code changes from version 1.14.8 to branch.issue-407.202012010946

admin/partials/boldgrid-backup-admin-test.php CHANGED
@@ -397,6 +397,25 @@ if ( $is_functional ) {
397
  'v' => $db_collate,
398
  );
399
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
  }
401
 
402
  // If server is not compatible, create fail message.
397
  'v' => $db_collate,
398
  );
399
  }
400
+
401
+ // Show table info to help troubleshoot database issues.
402
+ $prefixed_tables = $this->db_get->prefixed();
403
+ $excluded_tables = $this->db_omit->get_excluded_tables();
404
+
405
+ $tests[] = array(
406
+ 'k' => __( 'Prefixed tables found:', 'boldgrid-backup' ),
407
+ 'v' => implode( ', ', $prefixed_tables ),
408
+ );
409
+
410
+ $tests[] = array(
411
+ 'k' => __( 'Excluded tables:', 'boldgrid-backup' ),
412
+ 'v' => implode( ', ', $excluded_tables ),
413
+ );
414
+
415
+ $tests[] = array(
416
+ 'k' => __( 'Will the database be omitted?', 'boldgrid-backup' ),
417
+ 'v' => $this->db_omit->is_omit_all() ? $lang['yes'] : $lang['no'],
418
+ );
419
  }
420
 
421
  // If server is not compatible, create fail message.
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1605280613">
3
- <project timestamp="1605280613">
4
  <package name="Boldgrid\Backup\Admin\Card">
5
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
6
  <class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
@@ -11161,24 +11161,21 @@
11161
  <line num="397" type="stmt" count="0"/>
11162
  <line num="398" type="stmt" count="0"/>
11163
  <line num="399" type="stmt" count="0"/>
11164
- <line num="400" type="stmt" count="0"/>
11165
  <line num="403" type="stmt" count="0"/>
11166
- <line num="404" type="stmt" count="0"/>
11167
  <line num="405" type="stmt" count="0"/>
11168
  <line num="406" type="stmt" count="0"/>
11169
  <line num="407" type="stmt" count="0"/>
11170
  <line num="408" type="stmt" count="0"/>
11171
- <line num="409" type="stmt" count="0"/>
11172
  <line num="410" type="stmt" count="0"/>
11173
  <line num="411" type="stmt" count="0"/>
11174
  <line num="412" type="stmt" count="0"/>
11175
  <line num="413" type="stmt" count="0"/>
11176
- <line num="414" type="stmt" count="0"/>
11177
  <line num="415" type="stmt" count="0"/>
11178
  <line num="416" type="stmt" count="0"/>
 
 
11179
  <line num="419" type="stmt" count="0"/>
11180
- <line num="420" type="stmt" count="0"/>
11181
- <line num="421" type="stmt" count="0"/>
11182
  <line num="422" type="stmt" count="0"/>
11183
  <line num="423" type="stmt" count="0"/>
11184
  <line num="424" type="stmt" count="0"/>
@@ -11193,21 +11190,38 @@
11193
  <line num="433" type="stmt" count="0"/>
11194
  <line num="434" type="stmt" count="0"/>
11195
  <line num="435" type="stmt" count="0"/>
11196
- <line num="436" type="stmt" count="0"/>
11197
- <line num="437" type="stmt" count="0"/>
11198
  <line num="438" type="stmt" count="0"/>
11199
  <line num="439" type="stmt" count="0"/>
11200
  <line num="440" type="stmt" count="0"/>
11201
  <line num="441" type="stmt" count="0"/>
11202
  <line num="442" type="stmt" count="0"/>
 
 
11203
  <line num="445" type="stmt" count="0"/>
 
 
11204
  <line num="448" type="stmt" count="0"/>
11205
  <line num="449" type="stmt" count="0"/>
 
11206
  <line num="451" type="stmt" count="0"/>
 
11207
  <line num="453" type="stmt" count="0"/>
 
11208
  <line num="455" type="stmt" count="0"/>
 
 
11209
  <line num="458" type="stmt" count="0"/>
11210
- <metrics loc="458" ncloc="422" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="367" coveredstatements="0" elements="367" coveredelements="0"/>
 
 
 
 
 
 
 
 
 
 
11211
  </file>
11212
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
11213
  <line num="15" type="stmt" count="0"/>
@@ -76984,7 +76998,7 @@
76984
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
76985
  </file>
76986
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
76987
- <class name="ComposerStaticInit19c33a1612155d53c889e53273fdad47" namespace="Composer\Autoload">
76988
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
76989
  </class>
76990
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -77076,7 +77090,7 @@
77076
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
77077
  </file>
77078
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
77079
- <class name="ComposerAutoloaderInit19c33a1612155d53c889e53273fdad47" namespace="global">
77080
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
77081
  </class>
77082
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -96321,6 +96335,6 @@
96321
  <line num="16" type="stmt" count="0"/>
96322
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
96323
  </file>
96324
- <metrics files="964" loc="193606" ncloc="117976" classes="872" methods="3604" coveredmethods="310" conditionals="0" coveredconditionals="0" statements="86794" coveredstatements="4585" elements="90398" coveredelements="4895"/>
96325
  </project>
96326
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1606835091">
3
+ <project timestamp="1606835091">
4
  <package name="Boldgrid\Backup\Admin\Card">
5
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
6
  <class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
11161
  <line num="397" type="stmt" count="0"/>
11162
  <line num="398" type="stmt" count="0"/>
11163
  <line num="399" type="stmt" count="0"/>
11164
+ <line num="402" type="stmt" count="0"/>
11165
  <line num="403" type="stmt" count="0"/>
 
11166
  <line num="405" type="stmt" count="0"/>
11167
  <line num="406" type="stmt" count="0"/>
11168
  <line num="407" type="stmt" count="0"/>
11169
  <line num="408" type="stmt" count="0"/>
 
11170
  <line num="410" type="stmt" count="0"/>
11171
  <line num="411" type="stmt" count="0"/>
11172
  <line num="412" type="stmt" count="0"/>
11173
  <line num="413" type="stmt" count="0"/>
 
11174
  <line num="415" type="stmt" count="0"/>
11175
  <line num="416" type="stmt" count="0"/>
11176
+ <line num="417" type="stmt" count="0"/>
11177
+ <line num="418" type="stmt" count="0"/>
11178
  <line num="419" type="stmt" count="0"/>
 
 
11179
  <line num="422" type="stmt" count="0"/>
11180
  <line num="423" type="stmt" count="0"/>
11181
  <line num="424" type="stmt" count="0"/>
11190
  <line num="433" type="stmt" count="0"/>
11191
  <line num="434" type="stmt" count="0"/>
11192
  <line num="435" type="stmt" count="0"/>
 
 
11193
  <line num="438" type="stmt" count="0"/>
11194
  <line num="439" type="stmt" count="0"/>
11195
  <line num="440" type="stmt" count="0"/>
11196
  <line num="441" type="stmt" count="0"/>
11197
  <line num="442" type="stmt" count="0"/>
11198
+ <line num="443" type="stmt" count="0"/>
11199
+ <line num="444" type="stmt" count="0"/>
11200
  <line num="445" type="stmt" count="0"/>
11201
+ <line num="446" type="stmt" count="0"/>
11202
+ <line num="447" type="stmt" count="0"/>
11203
  <line num="448" type="stmt" count="0"/>
11204
  <line num="449" type="stmt" count="0"/>
11205
+ <line num="450" type="stmt" count="0"/>
11206
  <line num="451" type="stmt" count="0"/>
11207
+ <line num="452" type="stmt" count="0"/>
11208
  <line num="453" type="stmt" count="0"/>
11209
+ <line num="454" type="stmt" count="0"/>
11210
  <line num="455" type="stmt" count="0"/>
11211
+ <line num="456" type="stmt" count="0"/>
11212
+ <line num="457" type="stmt" count="0"/>
11213
  <line num="458" type="stmt" count="0"/>
11214
+ <line num="459" type="stmt" count="0"/>
11215
+ <line num="460" type="stmt" count="0"/>
11216
+ <line num="461" type="stmt" count="0"/>
11217
+ <line num="464" type="stmt" count="0"/>
11218
+ <line num="467" type="stmt" count="0"/>
11219
+ <line num="468" type="stmt" count="0"/>
11220
+ <line num="470" type="stmt" count="0"/>
11221
+ <line num="472" type="stmt" count="0"/>
11222
+ <line num="474" type="stmt" count="0"/>
11223
+ <line num="477" type="stmt" count="0"/>
11224
+ <metrics loc="477" ncloc="439" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="381" coveredstatements="0" elements="381" coveredelements="0"/>
11225
  </file>
11226
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
11227
  <line num="15" type="stmt" count="0"/>
76998
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
76999
  </file>
77000
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
77001
+ <class name="ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a" namespace="Composer\Autoload">
77002
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
77003
  </class>
77004
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
77090
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
77091
  </file>
77092
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
77093
+ <class name="ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a" namespace="global">
77094
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
77095
  </class>
77096
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
96335
  <line num="16" type="stmt" count="0"/>
96336
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
96337
  </file>
96338
+ <metrics files="964" loc="193625" ncloc="117993" classes="872" methods="3604" coveredmethods="310" conditionals="0" coveredconditionals="0" statements="86808" coveredstatements="4585" elements="90412" coveredelements="4895"/>
96339
  </project>
96340
  </coverage>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit19c33a1612155d53c889e53273fdad47::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit19c33a1612155d53c889e53273fdad47
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit19c33a1612155d53c889e53273fdad47
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit19c33a1612155d53c889e53273fdad47', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit19c33a1612155d53c889e53273fdad47', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit19c33a1612155d53c889e53273fdad47::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit19c33a1612155d53c889e53273fdad47
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInit19c33a1612155d53c889e53273fdad47::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequire19c33a1612155d53c889e53273fdad47($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequire19c33a1612155d53c889e53273fdad47($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire2c6160174d1b0812d59b0ad76055a23a($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire2c6160174d1b0812d59b0ad76055a23a($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit19c33a1612155d53c889e53273fdad47
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInit19c33a1612155d53c889e53273fdad47
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInit19c33a1612155d53c889e53273fdad47::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInit19c33a1612155d53c889e53273fdad47::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInit19c33a1612155d53c889e53273fdad47::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
+ $loader->prefixLengthsPsr4 = ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }