Version Description
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | issue-494-202112031336 |
Comparing to | |
See all releases |
Code changes from version issue-494-202112031138 to issue-494-202112031336
admin/class-boldgrid-backup-admin-core.php
CHANGED
@@ -1447,6 +1447,10 @@ class Boldgrid_Backup_Admin_Core {
|
|
1447 |
}
|
1448 |
|
1449 |
// Sort the dirlist array by filename.
|
|
|
|
|
|
|
|
|
1450 |
uasort(
|
1451 |
$dirlist,
|
1452 |
function ( $a, $b ) {
|
@@ -1462,6 +1466,12 @@ class Boldgrid_Backup_Admin_Core {
|
|
1462 |
}
|
1463 |
);
|
1464 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1465 |
// Perform conversion.
|
1466 |
foreach ( $dirlist as $fileinfo ) {
|
1467 |
// If item is a directory, then recurse, merge, and continue.
|
1447 |
}
|
1448 |
|
1449 |
// Sort the dirlist array by filename.
|
1450 |
+
static $uasort_total_time = 0;
|
1451 |
+
|
1452 |
+
$uasort_time_start = microtime( true );
|
1453 |
+
|
1454 |
uasort(
|
1455 |
$dirlist,
|
1456 |
function ( $a, $b ) {
|
1466 |
}
|
1467 |
);
|
1468 |
|
1469 |
+
$uasort_time_end = microtime( true );
|
1470 |
+
|
1471 |
+
$uasort_total_time += ( $uasort_time_end - $uasort_time_start );
|
1472 |
+
|
1473 |
+
$this->logger->add( 'uasort Duration: ' . $uasort_total_time );
|
1474 |
+
|
1475 |
// Perform conversion.
|
1476 |
foreach ( $dirlist as $fileinfo ) {
|
1477 |
// If item is a directory, then recurse, merge, and continue.
|
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 ComposerAutoloaderInitfeda09813077098da7439371f8a1c2da::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 ComposerAutoloaderInitc18984447c602db362ce30c90c3e6912
|
|
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 ComposerAutoloaderInitc18984447c602db362ce30c90c3e6912
|
|
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 ComposerAutoloaderInitfeda09813077098da7439371f8a1c2da
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitfeda09813077098da7439371f8a1c2da', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitfeda09813077098da7439371f8a1c2da', '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\ComposerStaticInitfeda09813077098da7439371f8a1c2da::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\ComposerStaticInitfeda09813077098da7439371f8a1c2da::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequirefeda09813077098da7439371f8a1c2da($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequirefeda09813077098da7439371f8a1c2da($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 ComposerStaticInitc18984447c602db362ce30c90c3e6912
|
|
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 ComposerStaticInitfeda09813077098da7439371f8a1c2da
|
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 = ComposerStaticInitfeda09813077098da7439371f8a1c2da::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitfeda09813077098da7439371f8a1c2da::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInitfeda09813077098da7439371f8a1c2da::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|