Version Description
Release date: August 26th, 2020
- Bug fix: Invalid nonce when one click uploading to remote storage providers.
- Bug fix: Escaping / translation of "Remote Storage" help text on Archive Details page.
- Update: Allow auto update notice on updates page to be permanently dismissible.
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | 1.14.4 |
Comparing to | |
See all releases |
Code changes from version branch.issue-376.202008241505 to 1.14.4
- admin/class-boldgrid-backup-admin-archive-details.php +4 -0
- admin/class-boldgrid-backup-admin-notice.php +14 -3
- admin/partials/boldgrid-backup-admin-archive-details.php +13 -1
- admin/remote/class-boldgrid-backup-admin-ftp.php +1 -26
- boldgrid-backup.php +1 -1
- coverage.xml +95 -101
- readme.txt +9 -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-archive-details.php
CHANGED
@@ -201,6 +201,10 @@ class Boldgrid_Backup_Admin_Archive_Details {
|
|
201 |
* methods, bgbkup_archive_details_page. This method is an easy
|
202 |
* way to validate the nonce.
|
203 |
*
|
|
|
|
|
|
|
|
|
204 |
* @since 1.6.0
|
205 |
*
|
206 |
* @see Boldgrid_Backup_Admin_Archive_Browser::authorize()
|
201 |
* methods, bgbkup_archive_details_page. This method is an easy
|
202 |
* way to validate the nonce.
|
203 |
*
|
204 |
+
* The boldgrid_backup_remote_storage_upload nonce is also used on this page. If ever consolidating
|
205 |
+
* these two nonces into one, remember backwards compatibility + premium plugin. One click Google
|
206 |
+
* Drive / etc uploads uses this nonce.
|
207 |
+
*
|
208 |
* @since 1.6.0
|
209 |
*
|
210 |
* @see Boldgrid_Backup_Admin_Archive_Browser::authorize()
|
admin/class-boldgrid-backup-admin-notice.php
CHANGED
@@ -236,6 +236,17 @@ class Boldgrid_Backup_Admin_Notice {
|
|
236 |
* @since 1.7.0
|
237 |
*/
|
238 |
public function display_autoupdate_notice() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
$auto_update_array = [
|
240 |
( apply_filters( 'allow_major_auto_core_updates', false ) ) ? 'Major' : false,
|
241 |
( apply_filters( 'allow_minor_auto_core_updates', false ) ) ? 'Minor' : false,
|
@@ -275,7 +286,7 @@ class Boldgrid_Backup_Admin_Notice {
|
|
275 |
break;
|
276 |
}
|
277 |
|
278 |
-
$message = sprintf(
|
279 |
// translators: 1: HTML anchor opening tag, 2: HTML anchor closing tag, 3: Plugin title.
|
280 |
esc_html__(
|
281 |
'Auto Updates are %4$s WordPress Core Updates. This can be configured in the %1$s%3$s Settings%2$s.',
|
@@ -285,9 +296,9 @@ class Boldgrid_Backup_Admin_Notice {
|
|
285 |
'</a>',
|
286 |
BOLDGRID_BACKUP_TITLE,
|
287 |
$update_msg
|
288 |
-
);
|
289 |
|
290 |
-
|
291 |
}
|
292 |
|
293 |
/**
|
236 |
* @since 1.7.0
|
237 |
*/
|
238 |
public function display_autoupdate_notice() {
|
239 |
+
$notice_id = 'bgbkup_autoupdate_notice';
|
240 |
+
|
241 |
+
/*
|
242 |
+
* This notice is dismissible per user.
|
243 |
+
*
|
244 |
+
* @link https://wordpress.org/support/topic/how-do-i-remove-this-notificatio/
|
245 |
+
*/
|
246 |
+
if ( Notice::isDismissed( $notice_id ) ) {
|
247 |
+
return;
|
248 |
+
}
|
249 |
+
|
250 |
$auto_update_array = [
|
251 |
( apply_filters( 'allow_major_auto_core_updates', false ) ) ? 'Major' : false,
|
252 |
( apply_filters( 'allow_minor_auto_core_updates', false ) ) ? 'Minor' : false,
|
286 |
break;
|
287 |
}
|
288 |
|
289 |
+
$message = '<p>' . sprintf(
|
290 |
// translators: 1: HTML anchor opening tag, 2: HTML anchor closing tag, 3: Plugin title.
|
291 |
esc_html__(
|
292 |
'Auto Updates are %4$s WordPress Core Updates. This can be configured in the %1$s%3$s Settings%2$s.',
|
296 |
'</a>',
|
297 |
BOLDGRID_BACKUP_TITLE,
|
298 |
$update_msg
|
299 |
+
) . '</p>';
|
300 |
|
301 |
+
Notice::show( $message, $notice_id, 'notice notice-info' );
|
302 |
}
|
303 |
|
304 |
/**
|
admin/partials/boldgrid-backup-admin-archive-details.php
CHANGED
@@ -301,7 +301,19 @@ $remote_meta_box = sprintf(
|
|
301 |
BOLDGRID_BACKUP_TITLE . ' Premium'
|
302 |
)
|
303 |
),
|
304 |
-
/* 4 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
);
|
306 |
|
307 |
$editor_tools = sprintf(
|
301 |
BOLDGRID_BACKUP_TITLE . ' Premium'
|
302 |
)
|
303 |
),
|
304 |
+
/* 4 */ wp_kses(
|
305 |
+
sprintf(
|
306 |
+
// translators: 1 An opening anchor tag linking to the remote storate settings, 2 its closing anchor tag.
|
307 |
+
__( 'Secure your backups by keeping copies of them on %1$sremote storage%2$s.', 'boldgrid-backup' ),
|
308 |
+
'<a href="admin.php?page=boldgrid-backup-tools§ion=section_locations">',
|
309 |
+
'</a>'
|
310 |
+
),
|
311 |
+
array(
|
312 |
+
'a' => array(
|
313 |
+
'href' => array(),
|
314 |
+
),
|
315 |
+
)
|
316 |
+
)
|
317 |
);
|
318 |
|
319 |
$editor_tools = sprintf(
|
admin/remote/class-boldgrid-backup-admin-ftp.php
CHANGED
@@ -1098,11 +1098,6 @@ class Boldgrid_Backup_Admin_Ftp {
|
|
1098 |
* @return bool
|
1099 |
*/
|
1100 |
public function upload( $filepath ) {
|
1101 |
-
$logger = new Boldgrid_Backup_Admin_Log( $this->core );
|
1102 |
-
$logger->init( 'ftp.log' );
|
1103 |
-
$logger->add_separator();
|
1104 |
-
$logger->add( 'Beginning ' . __METHOD__ . '...' );
|
1105 |
-
|
1106 |
// Make sure our backup file exists.
|
1107 |
if ( ! $this->core->wp_filesystem->exists( $filepath ) ) {
|
1108 |
$this->last_error = sprintf(
|
@@ -1110,36 +1105,25 @@ class Boldgrid_Backup_Admin_Ftp {
|
|
1110 |
__( 'Archive does not exist: $1$s', 'boldgrid-backup' ),
|
1111 |
$filepath
|
1112 |
);
|
1113 |
-
$logger->add( $this->last_error );
|
1114 |
return false;
|
1115 |
}
|
1116 |
|
1117 |
$remote_file = $this->get_folder_name() . '/' . basename( $filepath );
|
1118 |
|
1119 |
-
$logger->add( 'Local path: ' . $filepath . ' / ' . $this->core->wp_filesystem->size( $filepath ) );
|
1120 |
-
$logger->add( 'Remote path: ' . $remote_file );
|
1121 |
-
|
1122 |
$timestamp = filemtime( $filepath );
|
1123 |
|
1124 |
-
$logger->add( 'Connecting...' );
|
1125 |
$this->connect();
|
1126 |
-
$logger->add( 'Logging in...' );
|
1127 |
$this->log_in();
|
1128 |
if ( ! $this->logged_in ) {
|
1129 |
-
$
|
1130 |
-
$this->errors[] = $error;
|
1131 |
-
$logger->add( $error );
|
1132 |
return false;
|
1133 |
}
|
1134 |
|
1135 |
$has_remote_dir = $this->create_backup_dir();
|
1136 |
if ( ! $has_remote_dir ) {
|
1137 |
-
$logger->add( 'Unable to create backup directory on remote host.' );
|
1138 |
return false;
|
1139 |
}
|
1140 |
|
1141 |
-
$logger->add( 'Beginning upload...' );
|
1142 |
-
|
1143 |
switch ( $this->type ) {
|
1144 |
case 'ftp':
|
1145 |
case 'ftpes':
|
@@ -1164,8 +1148,6 @@ class Boldgrid_Backup_Admin_Ftp {
|
|
1164 |
break;
|
1165 |
}
|
1166 |
|
1167 |
-
$logger->add( 'Upload status: ' . print_r( $uploaded,1 ) ); //phpcs:ignore
|
1168 |
-
|
1169 |
if ( ! $uploaded ) {
|
1170 |
$last_error = error_get_last();
|
1171 |
|
@@ -1183,15 +1165,8 @@ class Boldgrid_Backup_Admin_Ftp {
|
|
1183 |
return false;
|
1184 |
}
|
1185 |
|
1186 |
-
$logger->add( 'Enforcing retention...' );
|
1187 |
$this->enforce_retention();
|
1188 |
-
$logger->add( 'Retention enforcement complete!' );
|
1189 |
-
|
1190 |
-
$logger->add( 'Getting remote contents...' );
|
1191 |
-
$contents = $this->get_contents( true, $this->get_folder_name() );
|
1192 |
-
$logger->add( 'Remote contents: ' . print_r( $contents, 1 ) ); // phpcs:ignore
|
1193 |
|
1194 |
-
$logger->add( 'Completed ' . __METHOD__ . '!' );
|
1195 |
return true;
|
1196 |
}
|
1197 |
}
|
1098 |
* @return bool
|
1099 |
*/
|
1100 |
public function upload( $filepath ) {
|
|
|
|
|
|
|
|
|
|
|
1101 |
// Make sure our backup file exists.
|
1102 |
if ( ! $this->core->wp_filesystem->exists( $filepath ) ) {
|
1103 |
$this->last_error = sprintf(
|
1105 |
__( 'Archive does not exist: $1$s', 'boldgrid-backup' ),
|
1106 |
$filepath
|
1107 |
);
|
|
|
1108 |
return false;
|
1109 |
}
|
1110 |
|
1111 |
$remote_file = $this->get_folder_name() . '/' . basename( $filepath );
|
1112 |
|
|
|
|
|
|
|
1113 |
$timestamp = filemtime( $filepath );
|
1114 |
|
|
|
1115 |
$this->connect();
|
|
|
1116 |
$this->log_in();
|
1117 |
if ( ! $this->logged_in ) {
|
1118 |
+
$this->errors[] = __( 'Unable to log in to ftp server.', 'boldgrid-backup' );
|
|
|
|
|
1119 |
return false;
|
1120 |
}
|
1121 |
|
1122 |
$has_remote_dir = $this->create_backup_dir();
|
1123 |
if ( ! $has_remote_dir ) {
|
|
|
1124 |
return false;
|
1125 |
}
|
1126 |
|
|
|
|
|
1127 |
switch ( $this->type ) {
|
1128 |
case 'ftp':
|
1129 |
case 'ftpes':
|
1148 |
break;
|
1149 |
}
|
1150 |
|
|
|
|
|
1151 |
if ( ! $uploaded ) {
|
1152 |
$last_error = error_get_last();
|
1153 |
|
1165 |
return false;
|
1166 |
}
|
1167 |
|
|
|
1168 |
$this->enforce_retention();
|
|
|
|
|
|
|
|
|
|
|
1169 |
|
|
|
1170 |
return true;
|
1171 |
}
|
1172 |
}
|
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.14.
|
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.14.4
|
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">
|
@@ -1007,13 +1007,10 @@
|
|
1007 |
<line num="190" type="stmt" count="0"/>
|
1008 |
<line num="194" type="stmt" count="0"/>
|
1009 |
<line num="195" type="stmt" count="0"/>
|
1010 |
-
<line num="
|
1011 |
-
<line num="
|
1012 |
-
<line num="
|
1013 |
-
<line num="
|
1014 |
-
<line num="219" type="stmt" count="0"/>
|
1015 |
-
<line num="220" type="stmt" count="0"/>
|
1016 |
-
<line num="221" type="stmt" count="0"/>
|
1017 |
<line num="223" type="stmt" count="0"/>
|
1018 |
<line num="224" type="stmt" count="0"/>
|
1019 |
<line num="225" type="stmt" count="0"/>
|
@@ -1021,16 +1018,19 @@
|
|
1021 |
<line num="228" type="stmt" count="0"/>
|
1022 |
<line num="229" type="stmt" count="0"/>
|
1023 |
<line num="231" type="stmt" count="0"/>
|
|
|
1024 |
<line num="233" type="stmt" count="0"/>
|
1025 |
-
<line num="234" type="stmt" count="0"/>
|
1026 |
<line num="235" type="stmt" count="0"/>
|
|
|
1027 |
<line num="238" type="stmt" count="0"/>
|
1028 |
-
<line num="
|
1029 |
-
<line num="241" type="stmt" count="0"/>
|
1030 |
<line num="242" type="stmt" count="0"/>
|
1031 |
<line num="244" type="stmt" count="0"/>
|
1032 |
<line num="245" type="stmt" count="0"/>
|
1033 |
-
<
|
|
|
|
|
|
|
1034 |
</file>
|
1035 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-fail.php">
|
1036 |
<class name="Boldgrid_Backup_Admin_Archive_Fail" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
@@ -5885,7 +5885,7 @@
|
|
5885 |
</file>
|
5886 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5887 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5888 |
-
<metrics complexity="
|
5889 |
</class>
|
5890 |
<line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
5891 |
<line num="59" type="stmt" count="29"/>
|
@@ -5956,21 +5956,14 @@
|
|
5956 |
<line num="226" type="stmt" count="0"/>
|
5957 |
<line num="228" type="stmt" count="0"/>
|
5958 |
<line num="230" type="stmt" count="0"/>
|
5959 |
-
<line num="238" type="method" name="display_autoupdate_notice" visibility="public" complexity="
|
5960 |
-
<line num="
|
5961 |
-
<line num="241" type="stmt" count="0"/>
|
5962 |
-
<line num="242" type="stmt" count="0"/>
|
5963 |
-
<line num="243" type="stmt" count="0"/>
|
5964 |
-
<line num="244" type="stmt" count="0"/>
|
5965 |
-
<line num="245" type="stmt" count="0"/>
|
5966 |
<line num="246" type="stmt" count="0"/>
|
5967 |
<line num="247" type="stmt" count="0"/>
|
5968 |
-
<line num="248" type="stmt" count="0"/>
|
5969 |
-
<line num="249" type="stmt" count="0"/>
|
5970 |
-
<line num="250" type="stmt" count="0"/>
|
5971 |
<line num="251" type="stmt" count="0"/>
|
5972 |
<line num="252" type="stmt" count="0"/>
|
5973 |
<line num="253" type="stmt" count="0"/>
|
|
|
5974 |
<line num="255" type="stmt" count="0"/>
|
5975 |
<line num="256" type="stmt" count="0"/>
|
5976 |
<line num="257" type="stmt" count="0"/>
|
@@ -5980,46 +5973,56 @@
|
|
5980 |
<line num="261" type="stmt" count="0"/>
|
5981 |
<line num="262" type="stmt" count="0"/>
|
5982 |
<line num="263" type="stmt" count="0"/>
|
5983 |
-
<line num="
|
5984 |
<line num="266" type="stmt" count="0"/>
|
|
|
5985 |
<line num="268" type="stmt" count="0"/>
|
5986 |
<line num="269" type="stmt" count="0"/>
|
|
|
5987 |
<line num="271" type="stmt" count="0"/>
|
5988 |
<line num="272" type="stmt" count="0"/>
|
5989 |
<line num="273" type="stmt" count="0"/>
|
5990 |
<line num="274" type="stmt" count="0"/>
|
5991 |
-
<line num="275" type="stmt" count="0"/>
|
5992 |
<line num="276" type="stmt" count="0"/>
|
5993 |
-
<line num="
|
|
|
5994 |
<line num="280" type="stmt" count="0"/>
|
5995 |
-
<line num="
|
5996 |
<line num="283" type="stmt" count="0"/>
|
5997 |
<line num="284" type="stmt" count="0"/>
|
5998 |
<line num="285" type="stmt" count="0"/>
|
5999 |
<line num="286" type="stmt" count="0"/>
|
6000 |
-
<line num="
|
6001 |
-
<line num="
|
6002 |
<line num="291" type="stmt" count="0"/>
|
6003 |
-
<line num="
|
6004 |
-
<line num="
|
6005 |
-
<line num="
|
6006 |
-
<line num="
|
6007 |
-
<line num="
|
6008 |
-
<line num="
|
6009 |
-
<line num="
|
6010 |
-
<line num="
|
6011 |
-
<line num="
|
|
|
|
|
6012 |
<line num="324" type="stmt" count="0"/>
|
6013 |
-
<line num="325" type="stmt" count="0"/>
|
6014 |
-
<line num="326" type="stmt" count="0"/>
|
6015 |
<line num="327" type="stmt" count="0"/>
|
6016 |
-
<line num="328" type="stmt" count="0"/>
|
6017 |
<line num="329" type="stmt" count="0"/>
|
6018 |
-
<line num="
|
|
|
6019 |
<line num="333" type="stmt" count="0"/>
|
6020 |
-
<line num="334" type="stmt" count="0"/>
|
6021 |
<line num="335" type="stmt" count="0"/>
|
6022 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6023 |
</file>
|
6024 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-plugin-notices.php">
|
6025 |
<class name="Boldgrid_Backup_Admin_Plugin_Notices" namespace="global" fullPackage="Boldgrid.Backup.Admin.Plugin">
|
@@ -9988,11 +9991,11 @@
|
|
9988 |
<line num="315" type="stmt" count="0"/>
|
9989 |
<line num="316" type="stmt" count="0"/>
|
9990 |
<line num="317" type="stmt" count="0"/>
|
9991 |
-
<line num="318" type="stmt" count="0"/>
|
9992 |
<line num="319" type="stmt" count="0"/>
|
9993 |
<line num="320" type="stmt" count="0"/>
|
9994 |
<line num="321" type="stmt" count="0"/>
|
9995 |
<line num="322" type="stmt" count="0"/>
|
|
|
9996 |
<line num="324" type="stmt" count="0"/>
|
9997 |
<line num="325" type="stmt" count="0"/>
|
9998 |
<line num="326" type="stmt" count="0"/>
|
@@ -10004,8 +10007,8 @@
|
|
10004 |
<line num="332" type="stmt" count="0"/>
|
10005 |
<line num="333" type="stmt" count="0"/>
|
10006 |
<line num="334" type="stmt" count="0"/>
|
10007 |
-
<line num="335" type="stmt" count="0"/>
|
10008 |
<line num="336" type="stmt" count="0"/>
|
|
|
10009 |
<line num="338" type="stmt" count="0"/>
|
10010 |
<line num="339" type="stmt" count="0"/>
|
10011 |
<line num="340" type="stmt" count="0"/>
|
@@ -10013,10 +10016,10 @@
|
|
10013 |
<line num="342" type="stmt" count="0"/>
|
10014 |
<line num="343" type="stmt" count="0"/>
|
10015 |
<line num="344" type="stmt" count="0"/>
|
|
|
10016 |
<line num="346" type="stmt" count="0"/>
|
10017 |
<line num="347" type="stmt" count="0"/>
|
10018 |
<line num="348" type="stmt" count="0"/>
|
10019 |
-
<line num="349" type="stmt" count="0"/>
|
10020 |
<line num="350" type="stmt" count="0"/>
|
10021 |
<line num="351" type="stmt" count="0"/>
|
10022 |
<line num="352" type="stmt" count="0"/>
|
@@ -10024,7 +10027,6 @@
|
|
10024 |
<line num="354" type="stmt" count="0"/>
|
10025 |
<line num="355" type="stmt" count="0"/>
|
10026 |
<line num="356" type="stmt" count="0"/>
|
10027 |
-
<line num="357" type="stmt" count="0"/>
|
10028 |
<line num="358" type="stmt" count="0"/>
|
10029 |
<line num="359" type="stmt" count="0"/>
|
10030 |
<line num="360" type="stmt" count="0"/>
|
@@ -10041,21 +10043,23 @@
|
|
10041 |
<line num="371" type="stmt" count="0"/>
|
10042 |
<line num="372" type="stmt" count="0"/>
|
10043 |
<line num="373" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10044 |
<line num="381" type="stmt" count="0"/>
|
10045 |
<line num="382" type="stmt" count="0"/>
|
10046 |
<line num="383" type="stmt" count="0"/>
|
10047 |
<line num="384" type="stmt" count="0"/>
|
10048 |
<line num="385" type="stmt" count="0"/>
|
10049 |
-
<line num="386" type="stmt" count="0"/>
|
10050 |
-
<line num="387" type="stmt" count="0"/>
|
10051 |
-
<line num="388" type="stmt" count="0"/>
|
10052 |
-
<line num="389" type="stmt" count="0"/>
|
10053 |
-
<line num="390" type="stmt" count="0"/>
|
10054 |
-
<line num="391" type="stmt" count="0"/>
|
10055 |
-
<line num="392" type="stmt" count="0"/>
|
10056 |
<line num="393" type="stmt" count="0"/>
|
10057 |
<line num="394" type="stmt" count="0"/>
|
|
|
10058 |
<line num="396" type="stmt" count="0"/>
|
|
|
10059 |
<line num="398" type="stmt" count="0"/>
|
10060 |
<line num="399" type="stmt" count="0"/>
|
10061 |
<line num="400" type="stmt" count="0"/>
|
@@ -10065,12 +10069,11 @@
|
|
10065 |
<line num="404" type="stmt" count="0"/>
|
10066 |
<line num="405" type="stmt" count="0"/>
|
10067 |
<line num="406" type="stmt" count="0"/>
|
10068 |
-
<line num="407" type="stmt" count="0"/>
|
10069 |
<line num="408" type="stmt" count="0"/>
|
10070 |
-
<line num="409" type="stmt" count="0"/>
|
10071 |
<line num="410" type="stmt" count="0"/>
|
10072 |
<line num="411" type="stmt" count="0"/>
|
10073 |
<line num="412" type="stmt" count="0"/>
|
|
|
10074 |
<line num="414" type="stmt" count="0"/>
|
10075 |
<line num="415" type="stmt" count="0"/>
|
10076 |
<line num="416" type="stmt" count="0"/>
|
@@ -10080,6 +10083,7 @@
|
|
10080 |
<line num="420" type="stmt" count="0"/>
|
10081 |
<line num="421" type="stmt" count="0"/>
|
10082 |
<line num="422" type="stmt" count="0"/>
|
|
|
10083 |
<line num="424" type="stmt" count="0"/>
|
10084 |
<line num="426" type="stmt" count="0"/>
|
10085 |
<line num="427" type="stmt" count="0"/>
|
@@ -10090,13 +10094,23 @@
|
|
10090 |
<line num="432" type="stmt" count="0"/>
|
10091 |
<line num="433" type="stmt" count="0"/>
|
10092 |
<line num="434" type="stmt" count="0"/>
|
10093 |
-
<line num="435" type="stmt" count="0"/>
|
10094 |
<line num="436" type="stmt" count="0"/>
|
10095 |
-
<line num="437" type="stmt" count="0"/>
|
10096 |
<line num="438" type="stmt" count="0"/>
|
|
|
10097 |
<line num="440" type="stmt" count="0"/>
|
|
|
10098 |
<line num="442" type="stmt" count="0"/>
|
10099 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10100 |
</file>
|
10101 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-button.php">
|
10102 |
<line num="19" type="stmt" count="0"/>
|
@@ -13265,7 +13279,7 @@
|
|
13265 |
</file>
|
13266 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/remote/class-boldgrid-backup-admin-ftp.php">
|
13267 |
<class name="Boldgrid_Backup_Admin_Ftp" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
13268 |
-
<metrics complexity="135" methods="22" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="
|
13269 |
</class>
|
13270 |
<line num="247" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
13271 |
<line num="248" type="stmt" count="29"/>
|
@@ -13730,65 +13744,45 @@
|
|
13730 |
<line num="1087" type="stmt" count="0"/>
|
13731 |
<line num="1089" type="stmt" count="0"/>
|
13732 |
<line num="1100" type="method" name="upload" visibility="public" complexity="11" crap="132" count="0"/>
|
13733 |
-
<line num="1101" type="stmt" count="0"/>
|
13734 |
<line num="1102" type="stmt" count="0"/>
|
13735 |
<line num="1103" type="stmt" count="0"/>
|
13736 |
-
<line num="
|
13737 |
<line num="1107" type="stmt" count="0"/>
|
13738 |
<line num="1108" type="stmt" count="0"/>
|
13739 |
-
<line num="
|
13740 |
-
<line num="1112" type="stmt" count="0"/>
|
13741 |
<line num="1113" type="stmt" count="0"/>
|
13742 |
-
<line num="
|
|
|
13743 |
<line num="1117" type="stmt" count="0"/>
|
|
|
13744 |
<line num="1119" type="stmt" count="0"/>
|
13745 |
-
<line num="1120" type="stmt" count="0"/>
|
13746 |
<line num="1122" type="stmt" count="0"/>
|
|
|
13747 |
<line num="1124" type="stmt" count="0"/>
|
13748 |
-
<line num="1125" type="stmt" count="0"/>
|
13749 |
-
<line num="1126" type="stmt" count="0"/>
|
13750 |
<line num="1127" type="stmt" count="0"/>
|
13751 |
<line num="1128" type="stmt" count="0"/>
|
13752 |
<line num="1129" type="stmt" count="0"/>
|
13753 |
<line num="1130" type="stmt" count="0"/>
|
13754 |
-
<line num="1131" type="stmt" count="0"/>
|
13755 |
-
<line num="1132" type="stmt" count="0"/>
|
13756 |
-
<line num="1135" type="stmt" count="0"/>
|
13757 |
-
<line num="1136" type="stmt" count="0"/>
|
13758 |
-
<line num="1137" type="stmt" count="0"/>
|
13759 |
<line num="1138" type="stmt" count="0"/>
|
|
|
|
|
13760 |
<line num="1141" type="stmt" count="0"/>
|
13761 |
-
<line num="
|
13762 |
-
<line num="1144" type="stmt" count="0"/>
|
13763 |
<line num="1145" type="stmt" count="0"/>
|
13764 |
<line num="1146" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
13765 |
<line num="1154" type="stmt" count="0"/>
|
13766 |
-
<line num="1155" type="stmt" count="0"/>
|
13767 |
-
<line num="1156" type="stmt" count="0"/>
|
13768 |
-
<line num="1157" type="stmt" count="0"/>
|
13769 |
-
<line num="1158" type="stmt" count="0"/>
|
13770 |
<line num="1161" type="stmt" count="0"/>
|
13771 |
<line num="1162" type="stmt" count="0"/>
|
13772 |
<line num="1163" type="stmt" count="0"/>
|
13773 |
-
<line num="1164" type="stmt" count="0"/>
|
13774 |
<line num="1165" type="stmt" count="0"/>
|
13775 |
-
<line num="
|
13776 |
-
<line num="1169" type="stmt" count="0"/>
|
13777 |
<line num="1170" type="stmt" count="0"/>
|
13778 |
-
<
|
13779 |
-
<line num="1179" type="stmt" count="0"/>
|
13780 |
-
<line num="1180" type="stmt" count="0"/>
|
13781 |
-
<line num="1181" type="stmt" count="0"/>
|
13782 |
-
<line num="1183" type="stmt" count="0"/>
|
13783 |
-
<line num="1186" type="stmt" count="0"/>
|
13784 |
-
<line num="1187" type="stmt" count="0"/>
|
13785 |
-
<line num="1188" type="stmt" count="0"/>
|
13786 |
-
<line num="1190" type="stmt" count="0"/>
|
13787 |
-
<line num="1191" type="stmt" count="0"/>
|
13788 |
-
<line num="1192" type="stmt" count="0"/>
|
13789 |
-
<line num="1194" type="stmt" count="0"/>
|
13790 |
-
<line num="1195" type="stmt" count="0"/>
|
13791 |
-
<metrics loc="1197" ncloc="744" classes="1" methods="22" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="499" coveredstatements="14" elements="521" coveredelements="16"/>
|
13792 |
</file>
|
13793 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/remote/class-boldgrid-backup-admin-remote-settings.php">
|
13794 |
<class name="Boldgrid_Backup_Admin_Remote_Settings" namespace="global" fullPackage="Boldgrid.Backup.Admin.Remote">
|
@@ -76788,7 +76782,7 @@
|
|
76788 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
76789 |
</file>
|
76790 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
76791 |
-
<class name="
|
76792 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
76793 |
</class>
|
76794 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -76880,7 +76874,7 @@
|
|
76880 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
76881 |
</file>
|
76882 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
76883 |
-
<class name="
|
76884 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
76885 |
</class>
|
76886 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -96100,6 +96094,6 @@
|
|
96100 |
<line num="16" type="stmt" count="0"/>
|
96101 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
96102 |
</file>
|
96103 |
-
<metrics files="961" loc="
|
96104 |
</project>
|
96105 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1598443190">
|
3 |
+
<project timestamp="1598443190">
|
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">
|
1007 |
<line num="190" type="stmt" count="0"/>
|
1008 |
<line num="194" type="stmt" count="0"/>
|
1009 |
<line num="195" type="stmt" count="0"/>
|
1010 |
+
<line num="212" type="method" name="validate_nonce" visibility="public" complexity="2" crap="6" count="0"/>
|
1011 |
+
<line num="213" type="stmt" count="0"/>
|
1012 |
+
<line num="214" type="stmt" count="0"/>
|
1013 |
+
<line num="222" type="method" name="wp_ajax_update" visibility="public" complexity="11" crap="132" count="0"/>
|
|
|
|
|
|
|
1014 |
<line num="223" type="stmt" count="0"/>
|
1015 |
<line num="224" type="stmt" count="0"/>
|
1016 |
<line num="225" type="stmt" count="0"/>
|
1018 |
<line num="228" type="stmt" count="0"/>
|
1019 |
<line num="229" type="stmt" count="0"/>
|
1020 |
<line num="231" type="stmt" count="0"/>
|
1021 |
+
<line num="232" type="stmt" count="0"/>
|
1022 |
<line num="233" type="stmt" count="0"/>
|
|
|
1023 |
<line num="235" type="stmt" count="0"/>
|
1024 |
+
<line num="237" type="stmt" count="0"/>
|
1025 |
<line num="238" type="stmt" count="0"/>
|
1026 |
+
<line num="239" type="stmt" count="0"/>
|
|
|
1027 |
<line num="242" type="stmt" count="0"/>
|
1028 |
<line num="244" type="stmt" count="0"/>
|
1029 |
<line num="245" type="stmt" count="0"/>
|
1030 |
+
<line num="246" type="stmt" count="0"/>
|
1031 |
+
<line num="248" type="stmt" count="0"/>
|
1032 |
+
<line num="249" type="stmt" count="0"/>
|
1033 |
+
<metrics loc="250" ncloc="151" classes="1" methods="6" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="101" coveredstatements="2" elements="107" coveredelements="3"/>
|
1034 |
</file>
|
1035 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-archive-fail.php">
|
1036 |
<class name="Boldgrid_Backup_Admin_Archive_Fail" namespace="global" fullPackage="Boldgrid.Backup.Admin.Archive">
|
5885 |
</file>
|
5886 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
|
5887 |
<class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
5888 |
+
<metrics complexity="30" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="124" coveredstatements="2" elements="135" coveredelements="3"/>
|
5889 |
</class>
|
5890 |
<line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
5891 |
<line num="59" type="stmt" count="29"/>
|
5956 |
<line num="226" type="stmt" count="0"/>
|
5957 |
<line num="228" type="stmt" count="0"/>
|
5958 |
<line num="230" type="stmt" count="0"/>
|
5959 |
+
<line num="238" type="method" name="display_autoupdate_notice" visibility="public" complexity="9" crap="90" count="0"/>
|
5960 |
+
<line num="239" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
5961 |
<line num="246" type="stmt" count="0"/>
|
5962 |
<line num="247" type="stmt" count="0"/>
|
|
|
|
|
|
|
5963 |
<line num="251" type="stmt" count="0"/>
|
5964 |
<line num="252" type="stmt" count="0"/>
|
5965 |
<line num="253" type="stmt" count="0"/>
|
5966 |
+
<line num="254" type="stmt" count="0"/>
|
5967 |
<line num="255" type="stmt" count="0"/>
|
5968 |
<line num="256" type="stmt" count="0"/>
|
5969 |
<line num="257" type="stmt" count="0"/>
|
5973 |
<line num="261" type="stmt" count="0"/>
|
5974 |
<line num="262" type="stmt" count="0"/>
|
5975 |
<line num="263" type="stmt" count="0"/>
|
5976 |
+
<line num="264" type="stmt" count="0"/>
|
5977 |
<line num="266" type="stmt" count="0"/>
|
5978 |
+
<line num="267" type="stmt" count="0"/>
|
5979 |
<line num="268" type="stmt" count="0"/>
|
5980 |
<line num="269" type="stmt" count="0"/>
|
5981 |
+
<line num="270" type="stmt" count="0"/>
|
5982 |
<line num="271" type="stmt" count="0"/>
|
5983 |
<line num="272" type="stmt" count="0"/>
|
5984 |
<line num="273" type="stmt" count="0"/>
|
5985 |
<line num="274" type="stmt" count="0"/>
|
|
|
5986 |
<line num="276" type="stmt" count="0"/>
|
5987 |
+
<line num="277" type="stmt" count="0"/>
|
5988 |
+
<line num="279" type="stmt" count="0"/>
|
5989 |
<line num="280" type="stmt" count="0"/>
|
5990 |
+
<line num="282" type="stmt" count="0"/>
|
5991 |
<line num="283" type="stmt" count="0"/>
|
5992 |
<line num="284" type="stmt" count="0"/>
|
5993 |
<line num="285" type="stmt" count="0"/>
|
5994 |
<line num="286" type="stmt" count="0"/>
|
5995 |
+
<line num="287" type="stmt" count="0"/>
|
5996 |
+
<line num="289" type="stmt" count="0"/>
|
5997 |
<line num="291" type="stmt" count="0"/>
|
5998 |
+
<line num="292" type="stmt" count="0"/>
|
5999 |
+
<line num="294" type="stmt" count="0"/>
|
6000 |
+
<line num="295" type="stmt" count="0"/>
|
6001 |
+
<line num="296" type="stmt" count="0"/>
|
6002 |
+
<line num="297" type="stmt" count="0"/>
|
6003 |
+
<line num="299" type="stmt" count="0"/>
|
6004 |
+
<line num="301" type="stmt" count="0"/>
|
6005 |
+
<line num="302" type="stmt" count="0"/>
|
6006 |
+
<line num="314" type="method" name="plugin_renamed_notice" visibility="public" complexity="3" crap="12" count="0"/>
|
6007 |
+
<line num="315" type="stmt" count="0"/>
|
6008 |
+
<line num="323" type="stmt" count="0"/>
|
6009 |
<line num="324" type="stmt" count="0"/>
|
|
|
|
|
6010 |
<line num="327" type="stmt" count="0"/>
|
|
|
6011 |
<line num="329" type="stmt" count="0"/>
|
6012 |
+
<line num="330" type="stmt" count="0"/>
|
6013 |
+
<line num="332" type="stmt" count="0"/>
|
6014 |
<line num="333" type="stmt" count="0"/>
|
|
|
6015 |
<line num="335" type="stmt" count="0"/>
|
6016 |
+
<line num="336" type="stmt" count="0"/>
|
6017 |
+
<line num="337" type="stmt" count="0"/>
|
6018 |
+
<line num="338" type="stmt" count="0"/>
|
6019 |
+
<line num="339" type="stmt" count="0"/>
|
6020 |
+
<line num="340" type="stmt" count="0"/>
|
6021 |
+
<line num="342" type="stmt" count="0"/>
|
6022 |
+
<line num="344" type="stmt" count="0"/>
|
6023 |
+
<line num="345" type="stmt" count="0"/>
|
6024 |
+
<line num="346" type="stmt" count="0"/>
|
6025 |
+
<metrics loc="347" ncloc="197" classes="1" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="124" coveredstatements="2" elements="135" coveredelements="3"/>
|
6026 |
</file>
|
6027 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-plugin-notices.php">
|
6028 |
<class name="Boldgrid_Backup_Admin_Plugin_Notices" namespace="global" fullPackage="Boldgrid.Backup.Admin.Plugin">
|
9991 |
<line num="315" type="stmt" count="0"/>
|
9992 |
<line num="316" type="stmt" count="0"/>
|
9993 |
<line num="317" type="stmt" count="0"/>
|
|
|
9994 |
<line num="319" type="stmt" count="0"/>
|
9995 |
<line num="320" type="stmt" count="0"/>
|
9996 |
<line num="321" type="stmt" count="0"/>
|
9997 |
<line num="322" type="stmt" count="0"/>
|
9998 |
+
<line num="323" type="stmt" count="0"/>
|
9999 |
<line num="324" type="stmt" count="0"/>
|
10000 |
<line num="325" type="stmt" count="0"/>
|
10001 |
<line num="326" type="stmt" count="0"/>
|
10007 |
<line num="332" type="stmt" count="0"/>
|
10008 |
<line num="333" type="stmt" count="0"/>
|
10009 |
<line num="334" type="stmt" count="0"/>
|
|
|
10010 |
<line num="336" type="stmt" count="0"/>
|
10011 |
+
<line num="337" type="stmt" count="0"/>
|
10012 |
<line num="338" type="stmt" count="0"/>
|
10013 |
<line num="339" type="stmt" count="0"/>
|
10014 |
<line num="340" type="stmt" count="0"/>
|
10016 |
<line num="342" type="stmt" count="0"/>
|
10017 |
<line num="343" type="stmt" count="0"/>
|
10018 |
<line num="344" type="stmt" count="0"/>
|
10019 |
+
<line num="345" type="stmt" count="0"/>
|
10020 |
<line num="346" type="stmt" count="0"/>
|
10021 |
<line num="347" type="stmt" count="0"/>
|
10022 |
<line num="348" type="stmt" count="0"/>
|
|
|
10023 |
<line num="350" type="stmt" count="0"/>
|
10024 |
<line num="351" type="stmt" count="0"/>
|
10025 |
<line num="352" type="stmt" count="0"/>
|
10027 |
<line num="354" type="stmt" count="0"/>
|
10028 |
<line num="355" type="stmt" count="0"/>
|
10029 |
<line num="356" type="stmt" count="0"/>
|
|
|
10030 |
<line num="358" type="stmt" count="0"/>
|
10031 |
<line num="359" type="stmt" count="0"/>
|
10032 |
<line num="360" type="stmt" count="0"/>
|
10043 |
<line num="371" type="stmt" count="0"/>
|
10044 |
<line num="372" type="stmt" count="0"/>
|
10045 |
<line num="373" type="stmt" count="0"/>
|
10046 |
+
<line num="374" type="stmt" count="0"/>
|
10047 |
+
<line num="375" type="stmt" count="0"/>
|
10048 |
+
<line num="376" type="stmt" count="0"/>
|
10049 |
+
<line num="377" type="stmt" count="0"/>
|
10050 |
+
<line num="378" type="stmt" count="0"/>
|
10051 |
+
<line num="379" type="stmt" count="0"/>
|
10052 |
+
<line num="380" type="stmt" count="0"/>
|
10053 |
<line num="381" type="stmt" count="0"/>
|
10054 |
<line num="382" type="stmt" count="0"/>
|
10055 |
<line num="383" type="stmt" count="0"/>
|
10056 |
<line num="384" type="stmt" count="0"/>
|
10057 |
<line num="385" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10058 |
<line num="393" type="stmt" count="0"/>
|
10059 |
<line num="394" type="stmt" count="0"/>
|
10060 |
+
<line num="395" type="stmt" count="0"/>
|
10061 |
<line num="396" type="stmt" count="0"/>
|
10062 |
+
<line num="397" type="stmt" count="0"/>
|
10063 |
<line num="398" type="stmt" count="0"/>
|
10064 |
<line num="399" type="stmt" count="0"/>
|
10065 |
<line num="400" type="stmt" count="0"/>
|
10069 |
<line num="404" type="stmt" count="0"/>
|
10070 |
<line num="405" type="stmt" count="0"/>
|
10071 |
<line num="406" type="stmt" count="0"/>
|
|
|
10072 |
<line num="408" type="stmt" count="0"/>
|
|
|
10073 |
<line num="410" type="stmt" count="0"/>
|
10074 |
<line num="411" type="stmt" count="0"/>
|
10075 |
<line num="412" type="stmt" count="0"/>
|
10076 |
+
<line num="413" type="stmt" count="0"/>
|
10077 |
<line num="414" type="stmt" count="0"/>
|
10078 |
<line num="415" type="stmt" count="0"/>
|
10079 |
<line num="416" type="stmt" count="0"/>
|
10083 |
<line num="420" type="stmt" count="0"/>
|
10084 |
<line num="421" type="stmt" count="0"/>
|
10085 |
<line num="422" type="stmt" count="0"/>
|
10086 |
+
<line num="423" type="stmt" count="0"/>
|
10087 |
<line num="424" type="stmt" count="0"/>
|
10088 |
<line num="426" type="stmt" count="0"/>
|
10089 |
<line num="427" type="stmt" count="0"/>
|
10094 |
<line num="432" type="stmt" count="0"/>
|
10095 |
<line num="433" type="stmt" count="0"/>
|
10096 |
<line num="434" type="stmt" count="0"/>
|
|
|
10097 |
<line num="436" type="stmt" count="0"/>
|
|
|
10098 |
<line num="438" type="stmt" count="0"/>
|
10099 |
+
<line num="439" type="stmt" count="0"/>
|
10100 |
<line num="440" type="stmt" count="0"/>
|
10101 |
+
<line num="441" type="stmt" count="0"/>
|
10102 |
<line num="442" type="stmt" count="0"/>
|
10103 |
+
<line num="443" type="stmt" count="0"/>
|
10104 |
+
<line num="444" type="stmt" count="0"/>
|
10105 |
+
<line num="445" type="stmt" count="0"/>
|
10106 |
+
<line num="446" type="stmt" count="0"/>
|
10107 |
+
<line num="447" type="stmt" count="0"/>
|
10108 |
+
<line num="448" type="stmt" count="0"/>
|
10109 |
+
<line num="449" type="stmt" count="0"/>
|
10110 |
+
<line num="450" type="stmt" count="0"/>
|
10111 |
+
<line num="452" type="stmt" count="0"/>
|
10112 |
+
<line num="454" type="stmt" count="0"/>
|
10113 |
+
<metrics loc="454" ncloc="369" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="378" coveredstatements="0" elements="378" coveredelements="0"/>
|
10114 |
</file>
|
10115 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-button.php">
|
10116 |
<line num="19" type="stmt" count="0"/>
|
13279 |
</file>
|
13280 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/remote/class-boldgrid-backup-admin-ftp.php">
|
13281 |
<class name="Boldgrid_Backup_Admin_Ftp" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
13282 |
+
<metrics complexity="135" methods="22" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="475" coveredstatements="14" elements="497" coveredelements="16"/>
|
13283 |
</class>
|
13284 |
<line num="247" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/>
|
13285 |
<line num="248" type="stmt" count="29"/>
|
13744 |
<line num="1087" type="stmt" count="0"/>
|
13745 |
<line num="1089" type="stmt" count="0"/>
|
13746 |
<line num="1100" type="method" name="upload" visibility="public" complexity="11" crap="132" count="0"/>
|
|
|
13747 |
<line num="1102" type="stmt" count="0"/>
|
13748 |
<line num="1103" type="stmt" count="0"/>
|
13749 |
+
<line num="1105" type="stmt" count="0"/>
|
13750 |
<line num="1107" type="stmt" count="0"/>
|
13751 |
<line num="1108" type="stmt" count="0"/>
|
13752 |
+
<line num="1111" type="stmt" count="0"/>
|
|
|
13753 |
<line num="1113" type="stmt" count="0"/>
|
13754 |
+
<line num="1115" type="stmt" count="0"/>
|
13755 |
+
<line num="1116" type="stmt" count="0"/>
|
13756 |
<line num="1117" type="stmt" count="0"/>
|
13757 |
+
<line num="1118" type="stmt" count="0"/>
|
13758 |
<line num="1119" type="stmt" count="0"/>
|
|
|
13759 |
<line num="1122" type="stmt" count="0"/>
|
13760 |
+
<line num="1123" type="stmt" count="0"/>
|
13761 |
<line num="1124" type="stmt" count="0"/>
|
|
|
|
|
13762 |
<line num="1127" type="stmt" count="0"/>
|
13763 |
<line num="1128" type="stmt" count="0"/>
|
13764 |
<line num="1129" type="stmt" count="0"/>
|
13765 |
<line num="1130" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
|
|
13766 |
<line num="1138" type="stmt" count="0"/>
|
13767 |
+
<line num="1139" type="stmt" count="0"/>
|
13768 |
+
<line num="1140" type="stmt" count="0"/>
|
13769 |
<line num="1141" type="stmt" count="0"/>
|
13770 |
+
<line num="1142" type="stmt" count="0"/>
|
|
|
13771 |
<line num="1145" type="stmt" count="0"/>
|
13772 |
<line num="1146" type="stmt" count="0"/>
|
13773 |
+
<line num="1147" type="stmt" count="0"/>
|
13774 |
+
<line num="1148" type="stmt" count="0"/>
|
13775 |
+
<line num="1149" type="stmt" count="0"/>
|
13776 |
+
<line num="1151" type="stmt" count="0"/>
|
13777 |
+
<line num="1152" type="stmt" count="0"/>
|
13778 |
<line num="1154" type="stmt" count="0"/>
|
|
|
|
|
|
|
|
|
13779 |
<line num="1161" type="stmt" count="0"/>
|
13780 |
<line num="1162" type="stmt" count="0"/>
|
13781 |
<line num="1163" type="stmt" count="0"/>
|
|
|
13782 |
<line num="1165" type="stmt" count="0"/>
|
13783 |
+
<line num="1168" type="stmt" count="0"/>
|
|
|
13784 |
<line num="1170" type="stmt" count="0"/>
|
13785 |
+
<metrics loc="1172" ncloc="723" classes="1" methods="22" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="479" coveredstatements="14" elements="501" coveredelements="16"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13786 |
</file>
|
13787 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/remote/class-boldgrid-backup-admin-remote-settings.php">
|
13788 |
<class name="Boldgrid_Backup_Admin_Remote_Settings" namespace="global" fullPackage="Boldgrid.Backup.Admin.Remote">
|
76782 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
76783 |
</file>
|
76784 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
76785 |
+
<class name="ComposerStaticInit64e607af5155660f38e8d7f6ce585a59" namespace="Composer\Autoload">
|
76786 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
76787 |
</class>
|
76788 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
76874 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
76875 |
</file>
|
76876 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
76877 |
+
<class name="ComposerAutoloaderInit64e607af5155660f38e8d7f6ce585a59" namespace="global">
|
76878 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
76879 |
</class>
|
76880 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
96094 |
<line num="16" type="stmt" count="0"/>
|
96095 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
96096 |
</file>
|
96097 |
+
<metrics files="961" loc="192967" ncloc="117652" classes="870" methods="3587" coveredmethods="306" conditionals="0" coveredconditionals="0" statements="86599" coveredstatements="4561" elements="90186" coveredelements="4867"/>
|
96098 |
</project>
|
96099 |
</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.5
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.14.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -132,6 +132,14 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
= 1.14.3 =
|
136 |
|
137 |
Release date: August 12th, 2020
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.5
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.14.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 1.14.4 =
|
136 |
+
|
137 |
+
Release date: August 26th, 2020
|
138 |
+
|
139 |
+
* Bug fix: Invalid nonce when one click uploading to remote storage providers.
|
140 |
+
* Bug fix: Escaping / translation of "Remote Storage" help text on Archive Details page.
|
141 |
+
* Update: Allow auto update notice on updates page to be permanently dismissible.
|
142 |
+
|
143 |
= 1.14.3 =
|
144 |
|
145 |
Release date: August 12th, 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 ComposerAutoloaderInit64e607af5155660f38e8d7f6ce585a59::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 ComposerAutoloaderInitd4656ad0cc856dae2482119553341bc8
|
|
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 ComposerAutoloaderInitd4656ad0cc856dae2482119553341bc8
|
|
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 ComposerAutoloaderInit64e607af5155660f38e8d7f6ce585a59
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit64e607af5155660f38e8d7f6ce585a59', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit64e607af5155660f38e8d7f6ce585a59', '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\ComposerStaticInit64e607af5155660f38e8d7f6ce585a59::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\ComposerStaticInit64e607af5155660f38e8d7f6ce585a59::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequire64e607af5155660f38e8d7f6ce585a59($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequire64e607af5155660f38e8d7f6ce585a59($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 ComposerStaticInitd4656ad0cc856dae2482119553341bc8
|
|
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 ComposerStaticInit64e607af5155660f38e8d7f6ce585a59
|
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 = ComposerStaticInit64e607af5155660f38e8d7f6ce585a59::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit64e607af5155660f38e8d7f6ce585a59::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInit64e607af5155660f38e8d7f6ce585a59::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|