Version Description
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | issue-494-202111301447 |
Comparing to | |
See all releases |
Code changes from version issue-494-202111301428 to issue-494-202111301447
admin/class-boldgrid-backup-admin-core.php
CHANGED
@@ -1462,7 +1462,6 @@ class Boldgrid_Backup_Admin_Core {
|
|
1462 |
$this->logger->add( 'before perform conversion' );
|
1463 |
foreach ( $dirlist as $fileinfo ) {
|
1464 |
// If item is a directory, then recurse, merge, and continue.
|
1465 |
-
$this->logger->add( 'before if item is a directory' );
|
1466 |
if ( 'd' === $fileinfo['type'] ) {
|
1467 |
$filelist_add = $this->get_filelist( $dirpath . '/' . $fileinfo['name'] );
|
1468 |
|
@@ -1470,28 +1469,21 @@ class Boldgrid_Backup_Admin_Core {
|
|
1470 |
|
1471 |
continue;
|
1472 |
}
|
1473 |
-
$this->logger->add( 'after if item is a directory' );
|
1474 |
|
1475 |
// Get the file path.
|
1476 |
-
$this->logger->add( 'before get the file path' );
|
1477 |
$filepath = $dirpath . '/' . $fileinfo['name'];
|
1478 |
-
$this->logger->add( 'after get the file path' );
|
1479 |
|
1480 |
// The relative path inside the ZIP file.
|
1481 |
-
$this->logger->add( 'before relative path in ZIP' );
|
1482 |
$relative_path = substr( $filepath, strlen( $this->filelist_basedir ) + 1 );
|
1483 |
-
$this->logger->add( 'after relative path in ZIP' );
|
1484 |
|
1485 |
// For files, add to the filelist array.
|
1486 |
-
$this->logger->add( 'before add files to filelist array' );
|
1487 |
$filelist[] = [
|
1488 |
$filepath,
|
1489 |
$relative_path,
|
1490 |
$fileinfo['size'],
|
1491 |
];
|
1492 |
-
$this->logger->add( 'before add files to filelist array' );
|
1493 |
}
|
1494 |
-
$this->logger->add( '
|
1495 |
|
1496 |
// Return the array.
|
1497 |
$this->logger->add( 'before array return' );
|
1462 |
$this->logger->add( 'before perform conversion' );
|
1463 |
foreach ( $dirlist as $fileinfo ) {
|
1464 |
// If item is a directory, then recurse, merge, and continue.
|
|
|
1465 |
if ( 'd' === $fileinfo['type'] ) {
|
1466 |
$filelist_add = $this->get_filelist( $dirpath . '/' . $fileinfo['name'] );
|
1467 |
|
1469 |
|
1470 |
continue;
|
1471 |
}
|
|
|
1472 |
|
1473 |
// Get the file path.
|
|
|
1474 |
$filepath = $dirpath . '/' . $fileinfo['name'];
|
|
|
1475 |
|
1476 |
// The relative path inside the ZIP file.
|
|
|
1477 |
$relative_path = substr( $filepath, strlen( $this->filelist_basedir ) + 1 );
|
|
|
1478 |
|
1479 |
// For files, add to the filelist array.
|
|
|
1480 |
$filelist[] = [
|
1481 |
$filepath,
|
1482 |
$relative_path,
|
1483 |
$fileinfo['size'],
|
1484 |
];
|
|
|
1485 |
}
|
1486 |
+
$this->logger->add( 'after perform conversion' );
|
1487 |
|
1488 |
// Return the array.
|
1489 |
$this->logger->add( 'before array return' );
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit235de110f33275ba5db550f7cc69ef28::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit58e1147593d93966915ab6e21f807783
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
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\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit58e1147593d93966915ab6e21f807783
|
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
-
$includeFiles = Composer\Autoload\
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
function
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit235de110f33275ba5db550f7cc69ef28
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit235de110f33275ba5db550f7cc69ef28', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit235de110f33275ba5db550f7cc69ef28', '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\ComposerStaticInit235de110f33275ba5db550f7cc69ef28::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\ComposerStaticInit235de110f33275ba5db550f7cc69ef28::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire235de110f33275ba5db550f7cc69ef28($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire235de110f33275ba5db550f7cc69ef28($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
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
@@ -91,9 +91,9 @@ class ComposerStaticInit58e1147593d93966915ab6e21f807783
|
|
91 |
public static function getInitializer(ClassLoader $loader)
|
92 |
{
|
93 |
return \Closure::bind(function () use ($loader) {
|
94 |
-
$loader->prefixLengthsPsr4 =
|
95 |
-
$loader->prefixDirsPsr4 =
|
96 |
-
$loader->classMap =
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit235de110f33275ba5db550f7cc69ef28
|
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 = ComposerStaticInit235de110f33275ba5db550f7cc69ef28::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit235de110f33275ba5db550f7cc69ef28::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInit235de110f33275ba5db550f7cc69ef28::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|