Version Description
Release date: June 9th, 2020
- Update: Added orphaned file cleanup system.
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.13.8 |
Comparing to | |
See all releases |
Code changes from version tmp-transfer-log-2 to 1.13.8
- admin/class-boldgrid-backup-admin-upload.php +7 -22
- boldgrid-backup.php +1 -1
- coverage.xml +34 -45
- readme.txt +7 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
admin/class-boldgrid-backup-admin-upload.php
CHANGED
@@ -390,11 +390,6 @@ class Boldgrid_Backup_Admin_Upload {
|
|
390 |
* @uses $_POST['url'] URL address.
|
391 |
*/
|
392 |
public function ajax_url_import() {
|
393 |
-
$logger = new Boldgrid_Backup_Admin_Log( $this->core );
|
394 |
-
$logger->init( 'transfer-archive.log' );
|
395 |
-
$logger->add_separator();
|
396 |
-
$logger->add( 'Beginning ajax_url_import...' );
|
397 |
-
|
398 |
// Check user permissions.
|
399 |
if ( ! current_user_can( 'update_plugins' ) ) {
|
400 |
wp_send_json_error(
|
@@ -455,11 +450,8 @@ class Boldgrid_Backup_Admin_Upload {
|
|
455 |
|
456 |
if ( is_array( $response ) && ! is_wp_error( $response ) &&
|
457 |
in_array( $response['headers']['content-type'], $allowed_content_types, true ) ) {
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
// Determine the archive log file path.
|
462 |
-
$log_filepath = $filepath;
|
463 |
|
464 |
if ( ! empty( $response['headers']['content-disposition'] ) ) {
|
465 |
$log_filepath = trim(
|
@@ -475,8 +467,7 @@ class Boldgrid_Backup_Admin_Upload {
|
|
475 |
$filename = basename( $filepath );
|
476 |
|
477 |
// Restore the log file from the archive.
|
478 |
-
$
|
479 |
-
$logger->add( 'Log restored from zip: ' . ( $restored ? 'Success' : 'Fail' ) );
|
480 |
|
481 |
// Update the archive file modification time, based on the log file contents.
|
482 |
$this->core->remote->post_download( $filepath );
|
@@ -496,21 +487,15 @@ class Boldgrid_Backup_Admin_Upload {
|
|
496 |
]
|
497 |
);
|
498 |
} else {
|
499 |
-
$logger->add( 'Failed to download archive. $response = ' . print_r( $response, 1 ) ); // phpcs:ignore
|
500 |
$this->core->wp_filesystem->delete( $filepath );
|
501 |
}
|
502 |
|
503 |
-
// Determine the error message the user will see and return it.
|
504 |
-
$error_message = __( 'Could not retrieve the remote file.', 'boldgrid-backup' );
|
505 |
-
if ( is_wp_error( $response ) ) {
|
506 |
-
$error_message .= ' ' . $response->get_error_message();
|
507 |
-
} else {
|
508 |
-
$error_message .= ' ' . __( 'It may not be a ZIP file, or the link is no longer valid.', 'boldgrid-backup' );
|
509 |
-
}
|
510 |
-
|
511 |
wp_send_json_error(
|
512 |
[
|
513 |
-
'error' =>
|
|
|
|
|
|
|
514 |
]
|
515 |
);
|
516 |
}
|
390 |
* @uses $_POST['url'] URL address.
|
391 |
*/
|
392 |
public function ajax_url_import() {
|
|
|
|
|
|
|
|
|
|
|
393 |
// Check user permissions.
|
394 |
if ( ! current_user_can( 'update_plugins' ) ) {
|
395 |
wp_send_json_error(
|
450 |
|
451 |
if ( is_array( $response ) && ! is_wp_error( $response ) &&
|
452 |
in_array( $response['headers']['content-type'], $allowed_content_types, true ) ) {
|
453 |
+
// Determine the archive log file path.
|
454 |
+
$log_filepath = $filepath;
|
|
|
|
|
|
|
455 |
|
456 |
if ( ! empty( $response['headers']['content-disposition'] ) ) {
|
457 |
$log_filepath = trim(
|
467 |
$filename = basename( $filepath );
|
468 |
|
469 |
// Restore the log file from the archive.
|
470 |
+
$this->core->archive_log->restore_by_zip( $filepath, basename( $log_filepath ) );
|
|
|
471 |
|
472 |
// Update the archive file modification time, based on the log file contents.
|
473 |
$this->core->remote->post_download( $filepath );
|
487 |
]
|
488 |
);
|
489 |
} else {
|
|
|
490 |
$this->core->wp_filesystem->delete( $filepath );
|
491 |
}
|
492 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
wp_send_json_error(
|
494 |
[
|
495 |
+
'error' => __(
|
496 |
+
'Could not retrieve the remote file. It may not be a ZIP file, or the link is no longer valid.',
|
497 |
+
'boldgrid-backup'
|
498 |
+
),
|
499 |
]
|
500 |
);
|
501 |
}
|
boldgrid-backup.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: Total Upkeep
|
17 |
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
|
18 |
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
|
19 |
-
* Version: 1.13.
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
16 |
* Plugin Name: Total Upkeep
|
17 |
* Plugin URI: https://www.boldgrid.com/boldgrid-backup/
|
18 |
* Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
|
19 |
+
* Version: 1.13.8
|
20 |
* Author: BoldGrid
|
21 |
* Author URI: https://www.boldgrid.com/
|
22 |
* License: GPL-2.0+
|
coverage.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<coverage generated="
|
3 |
-
<project timestamp="
|
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">
|
@@ -2234,8 +2234,8 @@
|
|
2234 |
<line num="145" type="stmt" count="5"/>
|
2235 |
<line num="146" type="stmt" count="5"/>
|
2236 |
<line num="148" type="stmt" count="5"/>
|
2237 |
-
<line num="150" type="stmt" count="
|
2238 |
-
<line num="152" type="stmt" count="
|
2239 |
<line num="154" type="stmt" count="0"/>
|
2240 |
<line num="158" type="stmt" count="0"/>
|
2241 |
<line num="159" type="stmt" count="0"/>
|
@@ -6963,7 +6963,7 @@
|
|
6963 |
</file>
|
6964 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
6965 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6966 |
-
<metrics complexity="
|
6967 |
</class>
|
6968 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6969 |
<line num="41" type="stmt" count="20"/>
|
@@ -7100,45 +7100,44 @@
|
|
7100 |
<line num="369" type="stmt" count="0"/>
|
7101 |
<line num="371" type="stmt" count="0"/>
|
7102 |
<line num="373" type="stmt" count="0"/>
|
7103 |
-
<line num="392" type="method" name="ajax_url_import" visibility="public" complexity="
|
7104 |
-
<line num="393" type="stmt" count="0"/>
|
7105 |
<line num="394" type="stmt" count="0"/>
|
7106 |
<line num="395" type="stmt" count="0"/>
|
7107 |
-
<line num="
|
7108 |
<line num="399" type="stmt" count="0"/>
|
7109 |
<line num="400" type="stmt" count="0"/>
|
7110 |
-
<line num="
|
7111 |
<line num="404" type="stmt" count="0"/>
|
7112 |
-
<line num="
|
7113 |
<line num="408" type="stmt" count="0"/>
|
7114 |
<line num="409" type="stmt" count="0"/>
|
7115 |
<line num="411" type="stmt" count="0"/>
|
7116 |
-
<line num="
|
7117 |
<line num="414" type="stmt" count="0"/>
|
7118 |
-
<line num="
|
7119 |
<line num="417" type="stmt" count="0"/>
|
7120 |
<line num="419" type="stmt" count="0"/>
|
7121 |
<line num="420" type="stmt" count="0"/>
|
7122 |
<line num="422" type="stmt" count="0"/>
|
7123 |
<line num="424" type="stmt" count="0"/>
|
7124 |
<line num="425" type="stmt" count="0"/>
|
7125 |
-
<line num="
|
7126 |
-
<line num="
|
7127 |
<line num="430" type="stmt" count="0"/>
|
7128 |
<line num="431" type="stmt" count="0"/>
|
7129 |
<line num="433" type="stmt" count="0"/>
|
7130 |
-
<line num="435" type="stmt" count="0"/>
|
7131 |
<line num="436" type="stmt" count="0"/>
|
|
|
7132 |
<line num="438" type="stmt" count="0"/>
|
|
|
7133 |
<line num="441" type="stmt" count="0"/>
|
7134 |
<line num="442" type="stmt" count="0"/>
|
7135 |
<line num="443" type="stmt" count="0"/>
|
7136 |
<line num="444" type="stmt" count="0"/>
|
|
|
7137 |
<line num="446" type="stmt" count="0"/>
|
7138 |
<line num="447" type="stmt" count="0"/>
|
7139 |
-
<line num="448" type="stmt" count="0"/>
|
7140 |
<line num="449" type="stmt" count="0"/>
|
7141 |
-
<line num="450" type="stmt" count="0"/>
|
7142 |
<line num="451" type="stmt" count="0"/>
|
7143 |
<line num="452" type="stmt" count="0"/>
|
7144 |
<line num="454" type="stmt" count="0"/>
|
@@ -7146,42 +7145,32 @@
|
|
7146 |
<line num="457" type="stmt" count="0"/>
|
7147 |
<line num="458" type="stmt" count="0"/>
|
7148 |
<line num="459" type="stmt" count="0"/>
|
7149 |
-
<line num="
|
|
|
|
|
7150 |
<line num="464" type="stmt" count="0"/>
|
7151 |
-
<line num="465" type="stmt" count="0"/>
|
7152 |
<line num="466" type="stmt" count="0"/>
|
7153 |
<line num="467" type="stmt" count="0"/>
|
7154 |
-
<line num="
|
7155 |
-
<line num="
|
7156 |
-
<line num="
|
7157 |
-
<line num="472" type="stmt" count="0"/>
|
7158 |
-
<line num="474" type="stmt" count="0"/>
|
7159 |
-
<line num="475" type="stmt" count="0"/>
|
7160 |
<line num="478" type="stmt" count="0"/>
|
7161 |
-
<line num="
|
7162 |
-
<line num="
|
|
|
|
|
7163 |
<line num="485" type="stmt" count="0"/>
|
7164 |
-
<line num="
|
|
|
7165 |
<line num="489" type="stmt" count="0"/>
|
7166 |
<line num="490" type="stmt" count="0"/>
|
7167 |
-
<line num="492" type="stmt" count="0"/>
|
7168 |
<line num="493" type="stmt" count="0"/>
|
7169 |
-
<line num="494" type="stmt" count="0"/>
|
7170 |
<line num="495" type="stmt" count="0"/>
|
7171 |
-
<line num="
|
7172 |
<line num="498" type="stmt" count="0"/>
|
7173 |
-
<line num="499" type="stmt" count="0"/>
|
7174 |
<line num="500" type="stmt" count="0"/>
|
7175 |
-
<line num="
|
7176 |
-
<
|
7177 |
-
<line num="506" type="stmt" count="0"/>
|
7178 |
-
<line num="507" type="stmt" count="0"/>
|
7179 |
-
<line num="508" type="stmt" count="0"/>
|
7180 |
-
<line num="511" type="stmt" count="0"/>
|
7181 |
-
<line num="513" type="stmt" count="0"/>
|
7182 |
-
<line num="515" type="stmt" count="0"/>
|
7183 |
-
<line num="516" type="stmt" count="0"/>
|
7184 |
-
<metrics loc="517" ncloc="288" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="208" coveredstatements="2" elements="216" coveredelements="3"/>
|
7185 |
</file>
|
7186 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7187 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -75147,7 +75136,7 @@
|
|
75147 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
75148 |
</file>
|
75149 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
75150 |
-
<class name="
|
75151 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
75152 |
</class>
|
75153 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -75239,7 +75228,7 @@
|
|
75239 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75240 |
</file>
|
75241 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75242 |
-
<class name="
|
75243 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75244 |
</class>
|
75245 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -94458,6 +94447,6 @@
|
|
94458 |
<line num="16" type="stmt" count="0"/>
|
94459 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94460 |
</file>
|
94461 |
-
<metrics files="944" loc="
|
94462 |
</project>
|
94463 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1591729875">
|
3 |
+
<project timestamp="1591729875">
|
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">
|
2234 |
<line num="145" type="stmt" count="5"/>
|
2235 |
<line num="146" type="stmt" count="5"/>
|
2236 |
<line num="148" type="stmt" count="5"/>
|
2237 |
+
<line num="150" type="stmt" count="2"/>
|
2238 |
+
<line num="152" type="stmt" count="2"/>
|
2239 |
<line num="154" type="stmt" count="0"/>
|
2240 |
<line num="158" type="stmt" count="0"/>
|
2241 |
<line num="159" type="stmt" count="0"/>
|
6963 |
</file>
|
6964 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-upload.php">
|
6965 |
<class name="Boldgrid_Backup_Admin_Upload" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
6966 |
+
<metrics complexity="36" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="2" elements="205" coveredelements="3"/>
|
6967 |
</class>
|
6968 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="20"/>
|
6969 |
<line num="41" type="stmt" count="20"/>
|
7100 |
<line num="369" type="stmt" count="0"/>
|
7101 |
<line num="371" type="stmt" count="0"/>
|
7102 |
<line num="373" type="stmt" count="0"/>
|
7103 |
+
<line num="392" type="method" name="ajax_url_import" visibility="public" complexity="11" crap="132" count="0"/>
|
|
|
7104 |
<line num="394" type="stmt" count="0"/>
|
7105 |
<line num="395" type="stmt" count="0"/>
|
7106 |
+
<line num="397" type="stmt" count="0"/>
|
7107 |
<line num="399" type="stmt" count="0"/>
|
7108 |
<line num="400" type="stmt" count="0"/>
|
7109 |
+
<line num="403" type="stmt" count="0"/>
|
7110 |
<line num="404" type="stmt" count="0"/>
|
7111 |
+
<line num="406" type="stmt" count="0"/>
|
7112 |
<line num="408" type="stmt" count="0"/>
|
7113 |
<line num="409" type="stmt" count="0"/>
|
7114 |
<line num="411" type="stmt" count="0"/>
|
7115 |
+
<line num="412" type="stmt" count="0"/>
|
7116 |
<line num="414" type="stmt" count="0"/>
|
7117 |
+
<line num="415" type="stmt" count="0"/>
|
7118 |
<line num="417" type="stmt" count="0"/>
|
7119 |
<line num="419" type="stmt" count="0"/>
|
7120 |
<line num="420" type="stmt" count="0"/>
|
7121 |
<line num="422" type="stmt" count="0"/>
|
7122 |
<line num="424" type="stmt" count="0"/>
|
7123 |
<line num="425" type="stmt" count="0"/>
|
7124 |
+
<line num="426" type="stmt" count="0"/>
|
7125 |
+
<line num="428" type="stmt" count="0"/>
|
7126 |
<line num="430" type="stmt" count="0"/>
|
7127 |
<line num="431" type="stmt" count="0"/>
|
7128 |
<line num="433" type="stmt" count="0"/>
|
|
|
7129 |
<line num="436" type="stmt" count="0"/>
|
7130 |
+
<line num="437" type="stmt" count="0"/>
|
7131 |
<line num="438" type="stmt" count="0"/>
|
7132 |
+
<line num="439" type="stmt" count="0"/>
|
7133 |
<line num="441" type="stmt" count="0"/>
|
7134 |
<line num="442" type="stmt" count="0"/>
|
7135 |
<line num="443" type="stmt" count="0"/>
|
7136 |
<line num="444" type="stmt" count="0"/>
|
7137 |
+
<line num="445" type="stmt" count="0"/>
|
7138 |
<line num="446" type="stmt" count="0"/>
|
7139 |
<line num="447" type="stmt" count="0"/>
|
|
|
7140 |
<line num="449" type="stmt" count="0"/>
|
|
|
7141 |
<line num="451" type="stmt" count="0"/>
|
7142 |
<line num="452" type="stmt" count="0"/>
|
7143 |
<line num="454" type="stmt" count="0"/>
|
7145 |
<line num="457" type="stmt" count="0"/>
|
7146 |
<line num="458" type="stmt" count="0"/>
|
7147 |
<line num="459" type="stmt" count="0"/>
|
7148 |
+
<line num="460" type="stmt" count="0"/>
|
7149 |
+
<line num="461" type="stmt" count="0"/>
|
7150 |
+
<line num="463" type="stmt" count="0"/>
|
7151 |
<line num="464" type="stmt" count="0"/>
|
|
|
7152 |
<line num="466" type="stmt" count="0"/>
|
7153 |
<line num="467" type="stmt" count="0"/>
|
7154 |
+
<line num="470" type="stmt" count="0"/>
|
7155 |
+
<line num="473" type="stmt" count="0"/>
|
7156 |
+
<line num="476" type="stmt" count="0"/>
|
|
|
|
|
|
|
7157 |
<line num="478" type="stmt" count="0"/>
|
7158 |
+
<line num="480" type="stmt" count="0"/>
|
7159 |
+
<line num="481" type="stmt" count="0"/>
|
7160 |
+
<line num="483" type="stmt" count="0"/>
|
7161 |
+
<line num="484" type="stmt" count="0"/>
|
7162 |
<line num="485" type="stmt" count="0"/>
|
7163 |
+
<line num="486" type="stmt" count="0"/>
|
7164 |
+
<line num="488" type="stmt" count="0"/>
|
7165 |
<line num="489" type="stmt" count="0"/>
|
7166 |
<line num="490" type="stmt" count="0"/>
|
|
|
7167 |
<line num="493" type="stmt" count="0"/>
|
|
|
7168 |
<line num="495" type="stmt" count="0"/>
|
7169 |
+
<line num="496" type="stmt" count="0"/>
|
7170 |
<line num="498" type="stmt" count="0"/>
|
|
|
7171 |
<line num="500" type="stmt" count="0"/>
|
7172 |
+
<line num="501" type="stmt" count="0"/>
|
7173 |
+
<metrics loc="502" ncloc="279" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="2" elements="205" coveredelements="3"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7174 |
</file>
|
7175 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
|
7176 |
<class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
75136 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
75137 |
</file>
|
75138 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
75139 |
+
<class name="ComposerStaticInita52ae893505708286dc067dbe7e67417" namespace="Composer\Autoload">
|
75140 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
75141 |
</class>
|
75142 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
75228 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
75229 |
</file>
|
75230 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
75231 |
+
<class name="ComposerAutoloaderInita52ae893505708286dc067dbe7e67417" namespace="global">
|
75232 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
75233 |
</class>
|
75234 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
94447 |
<line num="16" type="stmt" count="0"/>
|
94448 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
94449 |
</file>
|
94450 |
+
<metrics files="944" loc="189333" ncloc="115426" classes="854" methods="3513" coveredmethods="274" conditionals="0" coveredconditionals="0" statements="85127" coveredstatements="4002" elements="88640" coveredelements="4276"/>
|
94451 |
</project>
|
94452 |
</coverage>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: backup, cloud backup, database backup, restore, wordpress backup
|
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.4
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.13.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -132,6 +132,12 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
= 1.13.7 =
|
136 |
|
137 |
Release date: June 4rd, 2020
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.4
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.13.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 1.13.8 =
|
136 |
+
|
137 |
+
Release date: June 9th, 2020
|
138 |
+
|
139 |
+
* Update: Added orphaned file cleanup system.
|
140 |
+
|
141 |
= 1.13.7 =
|
142 |
|
143 |
Release date: June 4rd, 2020
|
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 ComposerAutoloaderInita52ae893505708286dc067dbe7e67417::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 ComposerAutoloaderInit1bb8fd72f2028a4e77c175b85cc8b875
|
|
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 ComposerAutoloaderInit1bb8fd72f2028a4e77c175b85cc8b875
|
|
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 ComposerAutoloaderInita52ae893505708286dc067dbe7e67417
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInita52ae893505708286dc067dbe7e67417', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInita52ae893505708286dc067dbe7e67417', '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\ComposerStaticInita52ae893505708286dc067dbe7e67417::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\ComposerStaticInita52ae893505708286dc067dbe7e67417::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequirea52ae893505708286dc067dbe7e67417($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequirea52ae893505708286dc067dbe7e67417($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 ComposerStaticInit1bb8fd72f2028a4e77c175b85cc8b875
|
|
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 ComposerStaticInita52ae893505708286dc067dbe7e67417
|
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 = ComposerStaticInita52ae893505708286dc067dbe7e67417::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInita52ae893505708286dc067dbe7e67417::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInita52ae893505708286dc067dbe7e67417::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|