Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version 1.14.9

Version Description

Release date: December 8th, 2020

  • Bug fix: Fixed reset link for backup all tables.
  • Bug fix: Fixed pagination buttons for file exclusion tool.
  • Bug fix: Fixed several html escaping issues.
  • Bug fix: Fixed file exclusion preview filter input.
  • Bug fix: Fixed various jqmigrate warnings.
Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version 1.14.9
Comparing to
See all releases

Code changes from version branch.issue-407.202012010946 to 1.14.9

admin/js/boldgrid-backup-admin-archive-actions.js CHANGED
@@ -226,7 +226,7 @@ BOLDGRID.BACKUP.ACTIONS = function( $ ) {
226
  .always( function() {
227
  $downloadLink.show();
228
  $spinner.removeClass( 'inline' );
229
- $this.removeAttr( 'disabled' );
230
  } );
231
  };
232
 
@@ -246,7 +246,7 @@ BOLDGRID.BACKUP.ACTIONS = function( $ ) {
246
 
247
  setTimeout( function() {
248
  $this.html( oldHtml );
249
- $this.removeAttr( 'disabled' );
250
  }, 3000 );
251
  };
252
 
226
  .always( function() {
227
  $downloadLink.show();
228
  $spinner.removeClass( 'inline' );
229
+ $this.prop( 'disabled', false );
230
  } );
231
  };
232
 
246
 
247
  setTimeout( function() {
248
  $this.html( oldHtml );
249
+ $this.prop( 'disabled', false );
250
  }, 3000 );
251
  };
252
 
admin/js/boldgrid-backup-admin-folder-exclude.js CHANGED
@@ -171,7 +171,7 @@ BoldGrid.FolderExclude = function( $ ) {
171
  * @summary Process any key downs.
172
  *
173
  * The preview area's pagination has in input box where you can specify a
174
- * page to jump to. When you enter a number and hit enter, it the browser is
175
  * actually clicking the preview button (which we don't want it to do). This
176
  * seems like a stange approach to take, but what we're doing in this
177
  * function is listening to all key downs on the page. If you're not in the
@@ -181,10 +181,12 @@ BoldGrid.FolderExclude = function( $ ) {
181
  * @since 1.6.0
182
  */
183
  self.onKeyDown = function( e ) {
184
- var isCurrentPage = $( e.target ).hasClass( 'current-page' );
 
185
 
186
  if ( isCurrentPage && 13 === e.keyCode ) {
187
- self.onSubmitPagination();
 
188
  e.preventDefault();
189
  return false;
190
  }
@@ -196,9 +198,11 @@ BoldGrid.FolderExclude = function( $ ) {
196
  * @summary Handle pagination.
197
  *
198
  * @since 1.6.0
 
 
199
  */
200
- self.onSubmitPagination = function() {
201
- var page = parseInt( $excludeFoldersPreview.find( '.current-page' ).val() ),
202
  totalPages = parseInt( $container.find( '.total-pages' ).html() );
203
 
204
  page = 1 > page || page > totalPages ? 1 : page;
@@ -221,6 +225,13 @@ BoldGrid.FolderExclude = function( $ ) {
221
  * @todo Possibly move this toward a template system. For now, it works.
222
  *
223
  * @param int page The page of results to render.
 
 
 
 
 
 
 
224
  */
225
  self.renderList = function( page ) {
226
  var startKey,
@@ -229,9 +240,20 @@ BoldGrid.FolderExclude = function( $ ) {
229
  lastAvailableKey = exclusionList.length - 1,
230
  markup = '',
231
  x,
232
- filterVal = $filter.val(),
233
  filteredNoResults,
234
- file;
 
 
 
 
 
 
 
 
 
 
 
235
 
236
  page = isNaN( page ) ? 1 : page;
237
 
@@ -305,15 +327,15 @@ BoldGrid.FolderExclude = function( $ ) {
305
  '<span class="pagination-links">';
306
 
307
  if ( 1 >= page ) {
308
- markup += '<span class="tablenav-pages-navspan">«</span> ';
309
  } else {
310
- markup += '<a class="first" href="#"><span>«</span></a> ';
311
  }
312
 
313
  if ( 1 >= page ) {
314
- markup += '<span class="tablenav-pages-navspan">‹</span> ';
315
  } else {
316
- markup += '<a class="prev" href="#"><span>‹</span></a> ';
317
  }
318
 
319
  markup +=
@@ -329,15 +351,15 @@ BoldGrid.FolderExclude = function( $ ) {
329
  '</span> ';
330
 
331
  if ( page < totalPages ) {
332
- markup += '<a class="next" href="#"><span>›</span></a> ';
333
  } else {
334
- markup += '<span class="tablenav-pages-navspan">›</span> ';
335
  }
336
 
337
  if ( page < totalPages ) {
338
- markup += '<a class="last" href="#"><span>»</span></a> ';
339
  } else {
340
- markup += '<span class="tablenav-pages-navspan">»</span> ';
341
  }
342
 
343
  markup += '</span>';
@@ -430,7 +452,7 @@ BoldGrid.FolderExclude = function( $ ) {
430
 
431
  $( 'body' )
432
  .on( 'click', '#exclude_folders_preview .pagination-links a', self.onClickPagination )
433
- .keydown( self.onKeyDown );
434
 
435
  $( '.folder_exclude_sample' ).on( 'click', self.onClickSample );
436
 
171
  * @summary Process any key downs.
172
  *
173
  * The preview area's pagination has in input box where you can specify a
174
+ * page to jump to. When you enter a number and hit enter, the browser is
175
  * actually clicking the preview button (which we don't want it to do). This
176
  * seems like a stange approach to take, but what we're doing in this
177
  * function is listening to all key downs on the page. If you're not in the
181
  * @since 1.6.0
182
  */
183
  self.onKeyDown = function( e ) {
184
+ var isCurrentPage = $( e.target ).hasClass( 'current-page' ),
185
+ page;
186
 
187
  if ( isCurrentPage && 13 === e.keyCode ) {
188
+ page = $( e.target ).val();
189
+ self.onSubmitPagination( page );
190
  e.preventDefault();
191
  return false;
192
  }
198
  * @summary Handle pagination.
199
  *
200
  * @since 1.6.0
201
+ *
202
+ * @param int page The page of results to render.
203
  */
204
+ self.onSubmitPagination = function( page ) {
205
+ var page = parseInt( page ),
206
  totalPages = parseInt( $container.find( '.total-pages' ).html() );
207
 
208
  page = 1 > page || page > totalPages ? 1 : page;
225
  * @todo Possibly move this toward a template system. For now, it works.
226
  *
227
  * @param int page The page of results to render.
228
+ * The way this method was initially written, you could pass in a page number or
229
+ * leave it blank to show the first page. PLEASE NOTE however that this method was
230
+ * also added onload via --- $filter.on( 'keyup', self.renderList ); --- meaning
231
+ * that "page" could also be an event. We can use this to our advantage because on
232
+ * the settings page the filelist filter is shown BOTH within the settings AND when
233
+ * the user clicks "Backup Site Now", and if this method is sent an event, then
234
+ * we can pinpoint which item specfically is being interacted with.
235
  */
236
  self.renderList = function( page ) {
237
  var startKey,
240
  lastAvailableKey = exclusionList.length - 1,
241
  markup = '',
242
  x,
243
+ filterVal,
244
  filteredNoResults,
245
+ file,
246
+ // See docblock definition of "page" var to know more about checking if this is an event.
247
+ isEvent = 'object' === typeof page && page.target !== undefined;
248
+
249
+ /*
250
+ * The filelist preview can be filtered by typing in a search string. If this is an event, the
251
+ * user is typing in text to use as a filter.
252
+ *
253
+ * @todo this is still buggy on the settings page, but this will do for now. Please see the
254
+ * "page" var's docblock for more info.
255
+ */
256
+ filterVal = isEvent ? $( page.target ).val() : $filter.val();
257
 
258
  page = isNaN( page ) ? 1 : page;
259
 
327
  '<span class="pagination-links">';
328
 
329
  if ( 1 >= page ) {
330
+ markup += '<span class="tablenav-pages-navspan button disabled">«</span> ';
331
  } else {
332
+ markup += '<a class="first button" href="#"><span>«</span></a> ';
333
  }
334
 
335
  if ( 1 >= page ) {
336
+ markup += '<span class="tablenav-pages-navspan button disabled">‹</span> ';
337
  } else {
338
+ markup += '<a class="prev button" href="#"><span>‹</span></a> ';
339
  }
340
 
341
  markup +=
351
  '</span> ';
352
 
353
  if ( page < totalPages ) {
354
+ markup += '<a class="next button" href="#"><span>›</span></a> ';
355
  } else {
356
+ markup += '<span class="tablenav-pages-navspan button disabled">›</span> ';
357
  }
358
 
359
  if ( page < totalPages ) {
360
+ markup += '<a class="last button" href="#"><span>»</span></a> ';
361
  } else {
362
+ markup += '<span class="tablenav-pages-navspan button disabled">»</span> ';
363
  }
364
 
365
  markup += '</span>';
452
 
453
  $( 'body' )
454
  .on( 'click', '#exclude_folders_preview .pagination-links a', self.onClickPagination )
455
+ .on( 'keydown', self.onKeyDown );
456
 
457
  $( '.folder_exclude_sample' ).on( 'click', self.onClickSample );
458
 
admin/js/boldgrid-backup-admin-home.js CHANGED
@@ -48,10 +48,14 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
48
  $mineCountHelp.bgbuDrawAttention();
49
  } );
50
 
 
 
 
 
51
  $urlImportSection
52
  .find( 'input' )
53
  .first()
54
- .keypress( function( e ) {
55
  if ( 13 === e.which ) {
56
  self.urlUpload( e );
57
  }
@@ -200,11 +204,15 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
200
  */
201
  self.urlUpload = function( e ) {
202
  var jqxhr,
203
- $this = $( this ),
 
 
 
 
 
 
204
  $spinner = $this.next(),
205
- $notice = $( this )
206
- .parent()
207
- .find( 'div#url-import-notice' ),
208
  wpnonce = $( this )
209
  .parent()
210
  .find( 'input#_wpnonce' )
@@ -275,14 +283,14 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
275
  .addClass( 'notice-error' )
276
  .html( response.data.error );
277
 
278
- $this.removeAttr( 'disabled' );
279
  } else {
280
  $notice
281
  .removeClass( 'notice-success' )
282
  .addClass( 'notice-error' )
283
  .html( lang.unknownError );
284
 
285
- $this.removeAttr( 'disabled' );
286
  }
287
  } )
288
  .error( function() {
@@ -291,7 +299,7 @@ BOLDGRID.BACKUP.HOME = function( $ ) {
291
  .addClass( 'notice-error' )
292
  .html( lang.ajaxError + jqxhr.status + ' (' + jqxhr.statusText + ')' );
293
 
294
- $this.removeAttr( 'disabled' );
295
  } )
296
  .always( function() {
297
  $notice.wrapInner( '<p></p>' ).show();
48
  $mineCountHelp.bgbuDrawAttention();
49
  } );
50
 
51
+ /*
52
+ * When importing an archive via url, it can be done by (1) clicking the submit button, or by
53
+ * (2) having your mouse in the input box and pressing enter. This handles the latter.
54
+ */
55
  $urlImportSection
56
  .find( 'input' )
57
  .first()
58
+ .on( 'keypress', function( e ) {
59
  if ( 13 === e.which ) {
60
  self.urlUpload( e );
61
  }
204
  */
205
  self.urlUpload = function( e ) {
206
  var jqxhr,
207
+
208
+ /*
209
+ * Get the target / $this. It will be a "click" if user clicked submit, and an "event" if
210
+ * the user's mouse is in the text input and they hit enter.
211
+ */
212
+ $this =
213
+ 'object' === typeof e && e.type !== undefined && 'click' === e.type ? $( this ) : $( e.target ),
214
  $spinner = $this.next(),
215
+ $notice = $this.parent().find( 'div#url-import-notice' ),
 
 
216
  wpnonce = $( this )
217
  .parent()
218
  .find( 'input#_wpnonce' )
283
  .addClass( 'notice-error' )
284
  .html( response.data.error );
285
 
286
+ $this.prop( 'disabled', false );
287
  } else {
288
  $notice
289
  .removeClass( 'notice-success' )
290
  .addClass( 'notice-error' )
291
  .html( lang.unknownError );
292
 
293
+ $this.prop( 'disabled', false );
294
  }
295
  } )
296
  .error( function() {
299
  .addClass( 'notice-error' )
300
  .html( lang.ajaxError + jqxhr.status + ' (' + jqxhr.statusText + ')' );
301
 
302
+ $this.prop( 'disabled', false );
303
  } )
304
  .always( function() {
305
  $notice.wrapInner( '<p></p>' ).show();
admin/js/boldgrid-backup-admin-logs.js CHANGED
@@ -73,10 +73,17 @@ BOLDGRID.BACKUP = BOLDGRID.BACKUP || {};
73
 
74
  $.post( ajaxurl, data, function( response ) {
75
  $( '#TB_ajaxContent' ).html( response.data );
76
- } ).error( function() {
77
- $( '#TB_ajaxConent' ).html(
78
- '<div class="notice notice-error"><p>' + unknownError + '<p></div>'
79
- );
 
 
 
 
 
 
 
80
  } );
81
  },
82
 
73
 
74
  $.post( ajaxurl, data, function( response ) {
75
  $( '#TB_ajaxContent' ).html( response.data );
76
+ } ).fail( function( jqXHR ) {
77
+
78
+ /*
79
+ * @todo This error message could use some work. For 500 errors, WordPress will return
80
+ * "There has been a critical error on this website. Learn more about debugging in WordPress."
81
+ * Show an "unknown error" and have the user contact BoldGrid for help rather than send
82
+ * the user off learning about debugging.
83
+ */
84
+ var error = jqXHR.status + ' ' + jqXHR.statusText + ': ' + self.i18n.unknownError;
85
+
86
+ $( '#TB_ajaxContent' ).html( '<div class="notice notice-error"><p>' + error + '</p></div>' );
87
  } );
88
  },
89
 
admin/js/boldgrid-backup-admin-settings-autoupdate.js CHANGED
@@ -80,16 +80,6 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
80
  } );
81
  },
82
 
83
- _onInputChange: function( toggle, input ) {
84
- toggle.change( function() {
85
- if ( true == $this.prop( 'checked' ) ) {
86
- input.val( '1' );
87
- } else {
88
- input.val( '0' );
89
- }
90
- } );
91
- },
92
-
93
  /**
94
  * Set inputs for toggles.
95
  *
@@ -118,7 +108,6 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
118
  .next( 'input' )
119
  .attr( 'name', 'auto_update[wpcore][' + $this.data( 'wpcore' ) + ']' )
120
  .val( $this.data( 'toggles' ).active ? 1 : 0 );
121
- self._onInputChange( $this, $thisInput );
122
  } );
123
 
124
  $pluginToggles.each( function() {
@@ -128,7 +117,6 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
128
  .next( 'input' )
129
  .attr( 'name', 'auto_update[plugins][' + $this.data( 'plugin' ) + ']' )
130
  .val( $this.data( 'toggles' ).active ? 1 : 0 );
131
- self._onInputChange( $this, $thisInput );
132
  } );
133
 
134
  $themeToggles.each( function() {
@@ -138,7 +126,6 @@ BOLDGRID.SETTINGS = BOLDGRID.SETTINGS || {};
138
  .next( 'input' )
139
  .attr( 'name', 'auto_update[themes][' + $this.data( 'stylesheet' ) + ']' )
140
  .val( $this.data( 'toggles' ).active ? 1 : 0 );
141
- self._onInputChange( $this, $thisInput );
142
  } );
143
 
144
  $pluginsDefault.next( 'input' ).val( $pluginsDefault.data( 'toggles' ).active ? 1 : 0 );
80
  } );
81
  },
82
 
 
 
 
 
 
 
 
 
 
 
83
  /**
84
  * Set inputs for toggles.
85
  *
108
  .next( 'input' )
109
  .attr( 'name', 'auto_update[wpcore][' + $this.data( 'wpcore' ) + ']' )
110
  .val( $this.data( 'toggles' ).active ? 1 : 0 );
 
111
  } );
112
 
113
  $pluginToggles.each( function() {
117
  .next( 'input' )
118
  .attr( 'name', 'auto_update[plugins][' + $this.data( 'plugin' ) + ']' )
119
  .val( $this.data( 'toggles' ).active ? 1 : 0 );
 
120
  } );
121
 
122
  $themeToggles.each( function() {
126
  .next( 'input' )
127
  .attr( 'name', 'auto_update[themes][' + $this.data( 'stylesheet' ) + ']' )
128
  .val( $this.data( 'toggles' ).active ? 1 : 0 );
 
129
  } );
130
 
131
  $pluginsDefault.next( 'input' ).val( $pluginsDefault.data( 'toggles' ).active ? 1 : 0 );
admin/js/boldgrid-backup-admin-settings.js CHANGED
@@ -267,17 +267,17 @@ BoldGrid.Settings = function( $ ) {
267
  if ( '1' === $siteCheck.filter( ':checked' ).val() ) {
268
 
269
  // Site Check is enabled.
270
- $( '#site-check-interval' ).removeAttr( 'disabled' );
271
- $( 'input[name="site_check_logger"]' ).removeAttr( 'disabled' );
272
- $( 'input[name="auto_recovery"]' ).removeAttr( 'disabled' );
273
- $( '#notification-site-check' ).removeAttr( 'disabled' );
274
  } else {
275
 
276
  // Site Check is disabled.
277
- $( '#site-check-interval' ).attr( 'disabled', true );
278
- $( 'input[name="site_check_logger"]' ).attr( 'disabled', true );
279
- $( 'input[name="auto_recovery"]' ).attr( 'disabled', true );
280
- $( '#notification-site-check' ).attr( 'disabled', true );
281
  }
282
  };
283
 
@@ -322,7 +322,7 @@ BoldGrid.Settings = function( $ ) {
322
  self.toggleSiteCheck();
323
  $body.on( 'click', $siteCheck, self.toggleSiteCheck );
324
 
325
- $( 'select[name="compressor"]' ).change( self.toggleCompressionInfo );
326
  } );
327
  };
328
 
267
  if ( '1' === $siteCheck.filter( ':checked' ).val() ) {
268
 
269
  // Site Check is enabled.
270
+ $( '#site-check-interval' ).prop( 'disabled', false );
271
+ $( 'input[name="site_check_logger"]' ).prop( 'disabled', false );
272
+ $( 'input[name="auto_recovery"]' ).prop( 'disabled', false );
273
+ $( '#notification-site-check' ).prop( 'disabled', false );
274
  } else {
275
 
276
  // Site Check is disabled.
277
+ $( '#site-check-interval' ).prop( 'disabled', true );
278
+ $( 'input[name="site_check_logger"]' ).prop( 'disabled', true );
279
+ $( 'input[name="auto_recovery"]' ).prop( 'disabled', true );
280
+ $( '#notification-site-check' ).prop( 'disabled', true );
281
  }
282
  };
283
 
322
  self.toggleSiteCheck();
323
  $body.on( 'click', $siteCheck, self.toggleSiteCheck );
324
 
325
+ $( 'select[name="compressor"]' ).on( 'change', self.toggleCompressionInfo );
326
  } );
327
  };
328
 
admin/js/boldgrid-backup-admin-table-includes.js CHANGED
@@ -47,7 +47,7 @@ BoldGrid.TableInclude = function( $ ) {
47
  */
48
  self.toggleAll = function() {
49
  $includeTables.bgbuDrawAttention();
50
- $includeTables.attr( 'checked', true );
51
  self.toggleStatus();
52
 
53
  return false;
@@ -79,7 +79,7 @@ BoldGrid.TableInclude = function( $ ) {
79
  */
80
  self.toggleNone = function() {
81
  $includeTables.bgbuDrawAttention();
82
- $includeTables.attr( 'checked', false );
83
  self.toggleStatus();
84
 
85
  return false;
47
  */
48
  self.toggleAll = function() {
49
  $includeTables.bgbuDrawAttention();
50
+ $includeTables.prop( 'checked', true );
51
  self.toggleStatus();
52
 
53
  return false;
79
  */
80
  self.toggleNone = function() {
81
  $includeTables.bgbuDrawAttention();
82
+ $includeTables.prop( 'checked', false );
83
  self.toggleStatus();
84
 
85
  return false;
admin/partials/boldgrid-backup-admin-archive-details.php CHANGED
@@ -39,9 +39,10 @@ wp_nonce_field( 'bgbkup_archive_details_page', 'bgbkup_archive_details_nonce' );
39
  $separator = '<hr class="separator">';
40
 
41
  $allowed_html = array(
42
- 'a' => array(
43
  'href' => array(),
44
  ),
 
45
  );
46
 
47
  $is_premium = $this->core->config->get_is_premium();
@@ -364,9 +365,27 @@ $main_content = '
364
  </h2>
365
  <p class="help" data-id="download_and_restore">
366
  <strong>' . esc_html__( 'Download to Local Machine', 'boldgrid-backup' ) . '</strong><br />
367
- ' . esc_html__( 'Backup archives generally should be stored in more locations than just your <strong>web server</strong>. Be sure to keep copies on your <strong>local machine</strong> and / or a <strong>remote storage</strong> provider. Learn more about these different locations <a href="admin.php?page=boldgrid-backup-tools&section=section_locations">here</a>.', 'boldgrid-backup' ) . '<br /><br />
 
 
 
 
 
 
 
 
 
 
368
  <strong>' . esc_html__( 'Restore', 'boldgrid-backup' ) . '</strong><br />
369
- ' . esc_html__( 'Restore this backup. This will restore all the files and the database in this backup. Use the <strong>Backup Browser</strong> below to look at the backup archive and see what will be restored.', 'boldgrid-backup' ) . '<br /><br />
 
 
 
 
 
 
 
 
370
  <strong>' . esc_html__( 'Download Link', 'boldgrid-backup' ) . '</strong><br />
371
  ' . esc_html__( 'A public link that is used to download a backup archive file. You can use it to migrate your website to another WordPress installation. Please keep download links private, as the download files contains sensitive data.', 'boldgrid-backup' ) . '
372
  </p>
39
  $separator = '<hr class="separator">';
40
 
41
  $allowed_html = array(
42
+ 'a' => array(
43
  'href' => array(),
44
  ),
45
+ 'strong' => array(),
46
  );
47
 
48
  $is_premium = $this->core->config->get_is_premium();
365
  </h2>
366
  <p class="help" data-id="download_and_restore">
367
  <strong>' . esc_html__( 'Download to Local Machine', 'boldgrid-backup' ) . '</strong><br />
368
+ ' . wp_kses(
369
+ sprintf(
370
+ // translators: 1 the opening anchor tag linking to the locations page, 2 its closing anchor tag, 3 opening strong tag, 4 its closing strong tag.
371
+ __( 'Backup archives generally should be stored in more locations than just your %3$sweb server%4$s. Be sure to keep copies on your %3$slocal machine%4$s and / or a %3$sremote storage%4$s provider. Learn more about these different locations %1$shere%2$s.', 'boldgrid-backup' ),
372
+ '<a href="admin.php?page=boldgrid-backup-tools&section=section_locations">',
373
+ '</a>',
374
+ '<strong>',
375
+ '</strong>'
376
+ ),
377
+ $allowed_html
378
+ ) . '<br /><br />
379
  <strong>' . esc_html__( 'Restore', 'boldgrid-backup' ) . '</strong><br />
380
+ ' . wp_kses(
381
+ sprintf(
382
+ // translators: 1 an opening strong tag, 2 its closing strong tag.
383
+ __( 'Restore this backup. This will restore all the files and the database in this backup. Use the %1$sBackup Browser%2$s below to look at the backup archive and see what will be restored.', 'boldgrid-backup' ),
384
+ '<strong>',
385
+ '</strong>'
386
+ ),
387
+ $allowed_html
388
+ ) . '<br /><br />
389
  <strong>' . esc_html__( 'Download Link', 'boldgrid-backup' ) . '</strong><br />
390
  ' . esc_html__( 'A public link that is used to download a backup archive file. You can use it to migrate your website to another WordPress installation. Please keep download links private, as the download files contains sensitive data.', 'boldgrid-backup' ) . '
391
  </p>
admin/partials/boldgrid-backup-admin-test.php CHANGED
@@ -397,25 +397,6 @@ if ( $is_functional ) {
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.
397
  'v' => $db_collate,
398
  );
399
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
  }
401
 
402
  // If server is not compatible, create fail message.
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.8
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.9
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="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">
@@ -9891,25 +9891,25 @@
9891
  <line num="43" type="stmt" count="0"/>
9892
  <line num="44" type="stmt" count="0"/>
9893
  <line num="45" type="stmt" count="0"/>
9894
- <line num="47" type="stmt" count="0"/>
9895
  <line num="48" type="stmt" count="0"/>
9896
  <line num="49" type="stmt" count="0"/>
9897
  <line num="50" type="stmt" count="0"/>
9898
- <line num="52" type="stmt" count="0"/>
9899
  <line num="53" type="stmt" count="0"/>
9900
  <line num="54" type="stmt" count="0"/>
9901
  <line num="55" type="stmt" count="0"/>
9902
- <line num="58" type="stmt" count="0"/>
9903
  <line num="59" type="stmt" count="0"/>
9904
- <line num="61" type="stmt" count="0"/>
9905
  <line num="62" type="stmt" count="0"/>
9906
  <line num="63" type="stmt" count="0"/>
9907
  <line num="64" type="stmt" count="0"/>
9908
- <line num="67" type="stmt" count="0"/>
9909
  <line num="68" type="stmt" count="0"/>
9910
  <line num="69" type="stmt" count="0"/>
9911
  <line num="70" type="stmt" count="0"/>
9912
- <line num="72" type="stmt" count="0"/>
9913
  <line num="73" type="stmt" count="0"/>
9914
  <line num="74" type="stmt" count="0"/>
9915
  <line num="75" type="stmt" count="0"/>
@@ -9922,13 +9922,13 @@
9922
  <line num="82" type="stmt" count="0"/>
9923
  <line num="83" type="stmt" count="0"/>
9924
  <line num="84" type="stmt" count="0"/>
9925
- <line num="87" type="stmt" count="0"/>
9926
  <line num="88" type="stmt" count="0"/>
9927
  <line num="89" type="stmt" count="0"/>
9928
  <line num="90" type="stmt" count="0"/>
9929
  <line num="91" type="stmt" count="0"/>
9930
  <line num="92" type="stmt" count="0"/>
9931
- <line num="94" type="stmt" count="0"/>
9932
  <line num="95" type="stmt" count="0"/>
9933
  <line num="96" type="stmt" count="0"/>
9934
  <line num="97" type="stmt" count="0"/>
@@ -9939,7 +9939,7 @@
9939
  <line num="102" type="stmt" count="0"/>
9940
  <line num="103" type="stmt" count="0"/>
9941
  <line num="104" type="stmt" count="0"/>
9942
- <line num="106" type="stmt" count="0"/>
9943
  <line num="107" type="stmt" count="0"/>
9944
  <line num="108" type="stmt" count="0"/>
9945
  <line num="109" type="stmt" count="0"/>
@@ -9954,7 +9954,7 @@
9954
  <line num="118" type="stmt" count="0"/>
9955
  <line num="119" type="stmt" count="0"/>
9956
  <line num="120" type="stmt" count="0"/>
9957
- <line num="122" type="stmt" count="0"/>
9958
  <line num="123" type="stmt" count="0"/>
9959
  <line num="124" type="stmt" count="0"/>
9960
  <line num="125" type="stmt" count="0"/>
@@ -9967,7 +9967,7 @@
9967
  <line num="132" type="stmt" count="0"/>
9968
  <line num="133" type="stmt" count="0"/>
9969
  <line num="134" type="stmt" count="0"/>
9970
- <line num="136" type="stmt" count="0"/>
9971
  <line num="137" type="stmt" count="0"/>
9972
  <line num="138" type="stmt" count="0"/>
9973
  <line num="139" type="stmt" count="0"/>
@@ -9987,7 +9987,7 @@
9987
  <line num="153" type="stmt" count="0"/>
9988
  <line num="154" type="stmt" count="0"/>
9989
  <line num="155" type="stmt" count="0"/>
9990
- <line num="158" type="stmt" count="0"/>
9991
  <line num="159" type="stmt" count="0"/>
9992
  <line num="160" type="stmt" count="0"/>
9993
  <line num="161" type="stmt" count="0"/>
@@ -10021,7 +10021,7 @@
10021
  <line num="189" type="stmt" count="0"/>
10022
  <line num="190" type="stmt" count="0"/>
10023
  <line num="191" type="stmt" count="0"/>
10024
- <line num="193" type="stmt" count="0"/>
10025
  <line num="194" type="stmt" count="0"/>
10026
  <line num="195" type="stmt" count="0"/>
10027
  <line num="196" type="stmt" count="0"/>
@@ -10036,7 +10036,7 @@
10036
  <line num="205" type="stmt" count="0"/>
10037
  <line num="206" type="stmt" count="0"/>
10038
  <line num="207" type="stmt" count="0"/>
10039
- <line num="209" type="stmt" count="0"/>
10040
  <line num="210" type="stmt" count="0"/>
10041
  <line num="211" type="stmt" count="0"/>
10042
  <line num="212" type="stmt" count="0"/>
@@ -10049,7 +10049,7 @@
10049
  <line num="219" type="stmt" count="0"/>
10050
  <line num="220" type="stmt" count="0"/>
10051
  <line num="221" type="stmt" count="0"/>
10052
- <line num="223" type="stmt" count="0"/>
10053
  <line num="224" type="stmt" count="0"/>
10054
  <line num="225" type="stmt" count="0"/>
10055
  <line num="226" type="stmt" count="0"/>
@@ -10073,7 +10073,7 @@
10073
  <line num="244" type="stmt" count="0"/>
10074
  <line num="245" type="stmt" count="0"/>
10075
  <line num="246" type="stmt" count="0"/>
10076
- <line num="248" type="stmt" count="0"/>
10077
  <line num="249" type="stmt" count="0"/>
10078
  <line num="250" type="stmt" count="0"/>
10079
  <line num="251" type="stmt" count="0"/>
@@ -10097,7 +10097,7 @@
10097
  <line num="269" type="stmt" count="0"/>
10098
  <line num="270" type="stmt" count="0"/>
10099
  <line num="271" type="stmt" count="0"/>
10100
- <line num="273" type="stmt" count="0"/>
10101
  <line num="274" type="stmt" count="0"/>
10102
  <line num="275" type="stmt" count="0"/>
10103
  <line num="276" type="stmt" count="0"/>
@@ -10121,7 +10121,7 @@
10121
  <line num="294" type="stmt" count="0"/>
10122
  <line num="295" type="stmt" count="0"/>
10123
  <line num="296" type="stmt" count="0"/>
10124
- <line num="298" type="stmt" count="0"/>
10125
  <line num="299" type="stmt" count="0"/>
10126
  <line num="300" type="stmt" count="0"/>
10127
  <line num="301" type="stmt" count="0"/>
@@ -10129,7 +10129,7 @@
10129
  <line num="303" type="stmt" count="0"/>
10130
  <line num="304" type="stmt" count="0"/>
10131
  <line num="305" type="stmt" count="0"/>
10132
- <line num="307" type="stmt" count="0"/>
10133
  <line num="308" type="stmt" count="0"/>
10134
  <line num="309" type="stmt" count="0"/>
10135
  <line num="310" type="stmt" count="0"/>
@@ -10140,7 +10140,7 @@
10140
  <line num="315" type="stmt" count="0"/>
10141
  <line num="316" type="stmt" count="0"/>
10142
  <line num="317" type="stmt" count="0"/>
10143
- <line num="319" type="stmt" count="0"/>
10144
  <line num="320" type="stmt" count="0"/>
10145
  <line num="321" type="stmt" count="0"/>
10146
  <line num="322" type="stmt" count="0"/>
@@ -10156,7 +10156,7 @@
10156
  <line num="332" type="stmt" count="0"/>
10157
  <line num="333" type="stmt" count="0"/>
10158
  <line num="334" type="stmt" count="0"/>
10159
- <line num="336" type="stmt" count="0"/>
10160
  <line num="337" type="stmt" count="0"/>
10161
  <line num="338" type="stmt" count="0"/>
10162
  <line num="339" type="stmt" count="0"/>
@@ -10169,14 +10169,14 @@
10169
  <line num="346" type="stmt" count="0"/>
10170
  <line num="347" type="stmt" count="0"/>
10171
  <line num="348" type="stmt" count="0"/>
10172
- <line num="350" type="stmt" count="0"/>
10173
  <line num="351" type="stmt" count="0"/>
10174
  <line num="352" type="stmt" count="0"/>
10175
  <line num="353" type="stmt" count="0"/>
10176
  <line num="354" type="stmt" count="0"/>
10177
  <line num="355" type="stmt" count="0"/>
10178
  <line num="356" type="stmt" count="0"/>
10179
- <line num="358" type="stmt" count="0"/>
10180
  <line num="359" type="stmt" count="0"/>
10181
  <line num="360" type="stmt" count="0"/>
10182
  <line num="361" type="stmt" count="0"/>
@@ -10188,7 +10188,6 @@
10188
  <line num="367" type="stmt" count="0"/>
10189
  <line num="368" type="stmt" count="0"/>
10190
  <line num="369" type="stmt" count="0"/>
10191
- <line num="370" type="stmt" count="0"/>
10192
  <line num="371" type="stmt" count="0"/>
10193
  <line num="372" type="stmt" count="0"/>
10194
  <line num="373" type="stmt" count="0"/>
@@ -10200,10 +10199,16 @@
10200
  <line num="379" type="stmt" count="0"/>
10201
  <line num="380" type="stmt" count="0"/>
10202
  <line num="381" type="stmt" count="0"/>
10203
- <line num="382" type="stmt" count="0"/>
10204
  <line num="383" type="stmt" count="0"/>
10205
  <line num="384" type="stmt" count="0"/>
10206
  <line num="385" type="stmt" count="0"/>
 
 
 
 
 
 
 
10207
  <line num="393" type="stmt" count="0"/>
10208
  <line num="394" type="stmt" count="0"/>
10209
  <line num="395" type="stmt" count="0"/>
@@ -10216,11 +10221,6 @@
10216
  <line num="402" type="stmt" count="0"/>
10217
  <line num="403" type="stmt" count="0"/>
10218
  <line num="404" type="stmt" count="0"/>
10219
- <line num="405" type="stmt" count="0"/>
10220
- <line num="406" type="stmt" count="0"/>
10221
- <line num="408" type="stmt" count="0"/>
10222
- <line num="410" type="stmt" count="0"/>
10223
- <line num="411" type="stmt" count="0"/>
10224
  <line num="412" type="stmt" count="0"/>
10225
  <line num="413" type="stmt" count="0"/>
10226
  <line num="414" type="stmt" count="0"/>
@@ -10234,32 +10234,49 @@
10234
  <line num="422" type="stmt" count="0"/>
10235
  <line num="423" type="stmt" count="0"/>
10236
  <line num="424" type="stmt" count="0"/>
10237
- <line num="426" type="stmt" count="0"/>
10238
  <line num="427" type="stmt" count="0"/>
10239
- <line num="428" type="stmt" count="0"/>
10240
  <line num="429" type="stmt" count="0"/>
10241
  <line num="430" type="stmt" count="0"/>
10242
  <line num="431" type="stmt" count="0"/>
10243
  <line num="432" type="stmt" count="0"/>
10244
  <line num="433" type="stmt" count="0"/>
10245
  <line num="434" type="stmt" count="0"/>
 
10246
  <line num="436" type="stmt" count="0"/>
 
10247
  <line num="438" type="stmt" count="0"/>
10248
  <line num="439" type="stmt" count="0"/>
10249
  <line num="440" type="stmt" count="0"/>
10250
  <line num="441" type="stmt" count="0"/>
10251
  <line num="442" type="stmt" count="0"/>
10252
  <line num="443" type="stmt" count="0"/>
10253
- <line num="444" type="stmt" count="0"/>
10254
  <line num="445" type="stmt" count="0"/>
10255
  <line num="446" type="stmt" count="0"/>
10256
  <line num="447" type="stmt" count="0"/>
10257
  <line num="448" type="stmt" count="0"/>
10258
  <line num="449" type="stmt" count="0"/>
10259
  <line num="450" type="stmt" count="0"/>
 
10260
  <line num="452" type="stmt" count="0"/>
10261
- <line num="454" type="stmt" count="0"/>
10262
- <metrics loc="454" ncloc="369" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="378" coveredstatements="0" elements="378" coveredelements="0"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10263
  </file>
10264
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-button.php">
10265
  <line num="19" type="stmt" count="0"/>
@@ -11161,21 +11178,24 @@
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,38 +11210,21 @@
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,7 +77001,7 @@
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,7 +77093,7 @@
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,6 +96338,6 @@
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>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1607461974">
3
+ <project timestamp="1607461974">
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">
9891
  <line num="43" type="stmt" count="0"/>
9892
  <line num="44" type="stmt" count="0"/>
9893
  <line num="45" type="stmt" count="0"/>
9894
+ <line num="46" type="stmt" count="0"/>
9895
  <line num="48" type="stmt" count="0"/>
9896
  <line num="49" type="stmt" count="0"/>
9897
  <line num="50" type="stmt" count="0"/>
9898
+ <line num="51" type="stmt" count="0"/>
9899
  <line num="53" type="stmt" count="0"/>
9900
  <line num="54" type="stmt" count="0"/>
9901
  <line num="55" type="stmt" count="0"/>
9902
+ <line num="56" type="stmt" count="0"/>
9903
  <line num="59" type="stmt" count="0"/>
9904
+ <line num="60" type="stmt" count="0"/>
9905
  <line num="62" type="stmt" count="0"/>
9906
  <line num="63" type="stmt" count="0"/>
9907
  <line num="64" type="stmt" count="0"/>
9908
+ <line num="65" type="stmt" count="0"/>
9909
  <line num="68" type="stmt" count="0"/>
9910
  <line num="69" type="stmt" count="0"/>
9911
  <line num="70" type="stmt" count="0"/>
9912
+ <line num="71" type="stmt" count="0"/>
9913
  <line num="73" type="stmt" count="0"/>
9914
  <line num="74" type="stmt" count="0"/>
9915
  <line num="75" type="stmt" count="0"/>
9922
  <line num="82" type="stmt" count="0"/>
9923
  <line num="83" type="stmt" count="0"/>
9924
  <line num="84" type="stmt" count="0"/>
9925
+ <line num="85" type="stmt" count="0"/>
9926
  <line num="88" type="stmt" count="0"/>
9927
  <line num="89" type="stmt" count="0"/>
9928
  <line num="90" type="stmt" count="0"/>
9929
  <line num="91" type="stmt" count="0"/>
9930
  <line num="92" type="stmt" count="0"/>
9931
+ <line num="93" type="stmt" count="0"/>
9932
  <line num="95" type="stmt" count="0"/>
9933
  <line num="96" type="stmt" count="0"/>
9934
  <line num="97" type="stmt" count="0"/>
9939
  <line num="102" type="stmt" count="0"/>
9940
  <line num="103" type="stmt" count="0"/>
9941
  <line num="104" type="stmt" count="0"/>
9942
+ <line num="105" type="stmt" count="0"/>
9943
  <line num="107" type="stmt" count="0"/>
9944
  <line num="108" type="stmt" count="0"/>
9945
  <line num="109" type="stmt" count="0"/>
9954
  <line num="118" type="stmt" count="0"/>
9955
  <line num="119" type="stmt" count="0"/>
9956
  <line num="120" type="stmt" count="0"/>
9957
+ <line num="121" type="stmt" count="0"/>
9958
  <line num="123" type="stmt" count="0"/>
9959
  <line num="124" type="stmt" count="0"/>
9960
  <line num="125" type="stmt" count="0"/>
9967
  <line num="132" type="stmt" count="0"/>
9968
  <line num="133" type="stmt" count="0"/>
9969
  <line num="134" type="stmt" count="0"/>
9970
+ <line num="135" type="stmt" count="0"/>
9971
  <line num="137" type="stmt" count="0"/>
9972
  <line num="138" type="stmt" count="0"/>
9973
  <line num="139" type="stmt" count="0"/>
9987
  <line num="153" type="stmt" count="0"/>
9988
  <line num="154" type="stmt" count="0"/>
9989
  <line num="155" type="stmt" count="0"/>
9990
+ <line num="156" type="stmt" count="0"/>
9991
  <line num="159" type="stmt" count="0"/>
9992
  <line num="160" type="stmt" count="0"/>
9993
  <line num="161" type="stmt" count="0"/>
10021
  <line num="189" type="stmt" count="0"/>
10022
  <line num="190" type="stmt" count="0"/>
10023
  <line num="191" type="stmt" count="0"/>
10024
+ <line num="192" type="stmt" count="0"/>
10025
  <line num="194" type="stmt" count="0"/>
10026
  <line num="195" type="stmt" count="0"/>
10027
  <line num="196" type="stmt" count="0"/>
10036
  <line num="205" type="stmt" count="0"/>
10037
  <line num="206" type="stmt" count="0"/>
10038
  <line num="207" type="stmt" count="0"/>
10039
+ <line num="208" type="stmt" count="0"/>
10040
  <line num="210" type="stmt" count="0"/>
10041
  <line num="211" type="stmt" count="0"/>
10042
  <line num="212" type="stmt" count="0"/>
10049
  <line num="219" type="stmt" count="0"/>
10050
  <line num="220" type="stmt" count="0"/>
10051
  <line num="221" type="stmt" count="0"/>
10052
+ <line num="222" type="stmt" count="0"/>
10053
  <line num="224" type="stmt" count="0"/>
10054
  <line num="225" type="stmt" count="0"/>
10055
  <line num="226" type="stmt" count="0"/>
10073
  <line num="244" type="stmt" count="0"/>
10074
  <line num="245" type="stmt" count="0"/>
10075
  <line num="246" type="stmt" count="0"/>
10076
+ <line num="247" type="stmt" count="0"/>
10077
  <line num="249" type="stmt" count="0"/>
10078
  <line num="250" type="stmt" count="0"/>
10079
  <line num="251" type="stmt" count="0"/>
10097
  <line num="269" type="stmt" count="0"/>
10098
  <line num="270" type="stmt" count="0"/>
10099
  <line num="271" type="stmt" count="0"/>
10100
+ <line num="272" type="stmt" count="0"/>
10101
  <line num="274" type="stmt" count="0"/>
10102
  <line num="275" type="stmt" count="0"/>
10103
  <line num="276" type="stmt" count="0"/>
10121
  <line num="294" type="stmt" count="0"/>
10122
  <line num="295" type="stmt" count="0"/>
10123
  <line num="296" type="stmt" count="0"/>
10124
+ <line num="297" type="stmt" count="0"/>
10125
  <line num="299" type="stmt" count="0"/>
10126
  <line num="300" type="stmt" count="0"/>
10127
  <line num="301" type="stmt" count="0"/>
10129
  <line num="303" type="stmt" count="0"/>
10130
  <line num="304" type="stmt" count="0"/>
10131
  <line num="305" type="stmt" count="0"/>
10132
+ <line num="306" type="stmt" count="0"/>
10133
  <line num="308" type="stmt" count="0"/>
10134
  <line num="309" type="stmt" count="0"/>
10135
  <line num="310" type="stmt" count="0"/>
10140
  <line num="315" type="stmt" count="0"/>
10141
  <line num="316" type="stmt" count="0"/>
10142
  <line num="317" type="stmt" count="0"/>
10143
+ <line num="318" type="stmt" count="0"/>
10144
  <line num="320" type="stmt" count="0"/>
10145
  <line num="321" type="stmt" count="0"/>
10146
  <line num="322" type="stmt" count="0"/>
10156
  <line num="332" type="stmt" count="0"/>
10157
  <line num="333" type="stmt" count="0"/>
10158
  <line num="334" type="stmt" count="0"/>
10159
+ <line num="335" type="stmt" count="0"/>
10160
  <line num="337" type="stmt" count="0"/>
10161
  <line num="338" type="stmt" count="0"/>
10162
  <line num="339" type="stmt" count="0"/>
10169
  <line num="346" type="stmt" count="0"/>
10170
  <line num="347" type="stmt" count="0"/>
10171
  <line num="348" type="stmt" count="0"/>
10172
+ <line num="349" type="stmt" count="0"/>
10173
  <line num="351" type="stmt" count="0"/>
10174
  <line num="352" type="stmt" count="0"/>
10175
  <line num="353" type="stmt" count="0"/>
10176
  <line num="354" type="stmt" count="0"/>
10177
  <line num="355" type="stmt" count="0"/>
10178
  <line num="356" type="stmt" count="0"/>
10179
+ <line num="357" type="stmt" count="0"/>
10180
  <line num="359" type="stmt" count="0"/>
10181
  <line num="360" type="stmt" count="0"/>
10182
  <line num="361" type="stmt" count="0"/>
10188
  <line num="367" type="stmt" count="0"/>
10189
  <line num="368" type="stmt" count="0"/>
10190
  <line num="369" type="stmt" count="0"/>
 
10191
  <line num="371" type="stmt" count="0"/>
10192
  <line num="372" type="stmt" count="0"/>
10193
  <line num="373" type="stmt" count="0"/>
10199
  <line num="379" type="stmt" count="0"/>
10200
  <line num="380" type="stmt" count="0"/>
10201
  <line num="381" type="stmt" count="0"/>
 
10202
  <line num="383" type="stmt" count="0"/>
10203
  <line num="384" type="stmt" count="0"/>
10204
  <line num="385" type="stmt" count="0"/>
10205
+ <line num="386" type="stmt" count="0"/>
10206
+ <line num="387" type="stmt" count="0"/>
10207
+ <line num="388" type="stmt" count="0"/>
10208
+ <line num="389" type="stmt" count="0"/>
10209
+ <line num="390" type="stmt" count="0"/>
10210
+ <line num="391" type="stmt" count="0"/>
10211
+ <line num="392" type="stmt" count="0"/>
10212
  <line num="393" type="stmt" count="0"/>
10213
  <line num="394" type="stmt" count="0"/>
10214
  <line num="395" type="stmt" count="0"/>
10221
  <line num="402" type="stmt" count="0"/>
10222
  <line num="403" type="stmt" count="0"/>
10223
  <line num="404" type="stmt" count="0"/>
 
 
 
 
 
10224
  <line num="412" type="stmt" count="0"/>
10225
  <line num="413" type="stmt" count="0"/>
10226
  <line num="414" type="stmt" count="0"/>
10234
  <line num="422" type="stmt" count="0"/>
10235
  <line num="423" type="stmt" count="0"/>
10236
  <line num="424" type="stmt" count="0"/>
10237
+ <line num="425" type="stmt" count="0"/>
10238
  <line num="427" type="stmt" count="0"/>
 
10239
  <line num="429" type="stmt" count="0"/>
10240
  <line num="430" type="stmt" count="0"/>
10241
  <line num="431" type="stmt" count="0"/>
10242
  <line num="432" type="stmt" count="0"/>
10243
  <line num="433" type="stmt" count="0"/>
10244
  <line num="434" type="stmt" count="0"/>
10245
+ <line num="435" type="stmt" count="0"/>
10246
  <line num="436" type="stmt" count="0"/>
10247
+ <line num="437" type="stmt" count="0"/>
10248
  <line num="438" type="stmt" count="0"/>
10249
  <line num="439" type="stmt" count="0"/>
10250
  <line num="440" type="stmt" count="0"/>
10251
  <line num="441" type="stmt" count="0"/>
10252
  <line num="442" type="stmt" count="0"/>
10253
  <line num="443" type="stmt" count="0"/>
 
10254
  <line num="445" type="stmt" count="0"/>
10255
  <line num="446" type="stmt" count="0"/>
10256
  <line num="447" type="stmt" count="0"/>
10257
  <line num="448" type="stmt" count="0"/>
10258
  <line num="449" type="stmt" count="0"/>
10259
  <line num="450" type="stmt" count="0"/>
10260
+ <line num="451" type="stmt" count="0"/>
10261
  <line num="452" type="stmt" count="0"/>
10262
+ <line num="453" type="stmt" count="0"/>
10263
+ <line num="455" type="stmt" count="0"/>
10264
+ <line num="457" type="stmt" count="0"/>
10265
+ <line num="458" type="stmt" count="0"/>
10266
+ <line num="459" type="stmt" count="0"/>
10267
+ <line num="460" type="stmt" count="0"/>
10268
+ <line num="461" type="stmt" count="0"/>
10269
+ <line num="462" type="stmt" count="0"/>
10270
+ <line num="463" type="stmt" count="0"/>
10271
+ <line num="464" type="stmt" count="0"/>
10272
+ <line num="465" type="stmt" count="0"/>
10273
+ <line num="466" type="stmt" count="0"/>
10274
+ <line num="467" type="stmt" count="0"/>
10275
+ <line num="468" type="stmt" count="0"/>
10276
+ <line num="469" type="stmt" count="0"/>
10277
+ <line num="471" type="stmt" count="0"/>
10278
+ <line num="473" type="stmt" count="0"/>
10279
+ <metrics loc="473" ncloc="384" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="395" coveredstatements="0" elements="395" coveredelements="0"/>
10280
  </file>
10281
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-backup-button.php">
10282
  <line num="19" type="stmt" count="0"/>
11178
  <line num="397" type="stmt" count="0"/>
11179
  <line num="398" type="stmt" count="0"/>
11180
  <line num="399" type="stmt" count="0"/>
11181
+ <line num="400" type="stmt" count="0"/>
11182
  <line num="403" type="stmt" count="0"/>
11183
+ <line num="404" type="stmt" count="0"/>
11184
  <line num="405" type="stmt" count="0"/>
11185
  <line num="406" type="stmt" count="0"/>
11186
  <line num="407" type="stmt" count="0"/>
11187
  <line num="408" type="stmt" count="0"/>
11188
+ <line num="409" type="stmt" count="0"/>
11189
  <line num="410" type="stmt" count="0"/>
11190
  <line num="411" type="stmt" count="0"/>
11191
  <line num="412" type="stmt" count="0"/>
11192
  <line num="413" type="stmt" count="0"/>
11193
+ <line num="414" type="stmt" count="0"/>
11194
  <line num="415" type="stmt" count="0"/>
11195
  <line num="416" type="stmt" count="0"/>
 
 
11196
  <line num="419" type="stmt" count="0"/>
11197
+ <line num="420" type="stmt" count="0"/>
11198
+ <line num="421" type="stmt" count="0"/>
11199
  <line num="422" type="stmt" count="0"/>
11200
  <line num="423" type="stmt" count="0"/>
11201
  <line num="424" type="stmt" count="0"/>
11210
  <line num="433" type="stmt" count="0"/>
11211
  <line num="434" type="stmt" count="0"/>
11212
  <line num="435" type="stmt" count="0"/>
11213
+ <line num="436" type="stmt" count="0"/>
11214
+ <line num="437" type="stmt" count="0"/>
11215
  <line num="438" type="stmt" count="0"/>
11216
  <line num="439" type="stmt" count="0"/>
11217
  <line num="440" type="stmt" count="0"/>
11218
  <line num="441" type="stmt" count="0"/>
11219
  <line num="442" type="stmt" count="0"/>
 
 
11220
  <line num="445" type="stmt" count="0"/>
 
 
11221
  <line num="448" type="stmt" count="0"/>
11222
  <line num="449" type="stmt" count="0"/>
 
11223
  <line num="451" type="stmt" count="0"/>
 
11224
  <line num="453" type="stmt" count="0"/>
 
11225
  <line num="455" type="stmt" count="0"/>
 
 
11226
  <line num="458" type="stmt" count="0"/>
11227
+ <metrics loc="458" ncloc="422" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="367" coveredstatements="0" elements="367" coveredelements="0"/>
 
 
 
 
 
 
 
 
 
 
11228
  </file>
11229
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/partials/boldgrid-backup-admin-tools.php">
11230
  <line num="15" type="stmt" count="0"/>
77001
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
77002
  </file>
77003
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
77004
+ <class name="ComposerStaticInitc813f76d2c406598733e9ca90b39f208" namespace="Composer\Autoload">
77005
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
77006
  </class>
77007
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
77093
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
77094
  </file>
77095
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
77096
+ <class name="ComposerAutoloaderInitc813f76d2c406598733e9ca90b39f208" namespace="global">
77097
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
77098
  </class>
77099
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
96338
  <line num="16" type="stmt" count="0"/>
96339
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
96340
  </file>
96341
+ <metrics files="964" loc="193625" ncloc="117991" classes="872" methods="3604" coveredmethods="310" conditionals="0" coveredconditionals="0" statements="86811" coveredstatements="4585" elements="90415" coveredelements="4895"/>
96342
  </project>
96343
  </coverage>
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: boldgrid, joemoto, imh_brad, rramo012, bgnicolepaschen, jamesros161
3
  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
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -132,6 +132,16 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
132
 
133
  == Changelog ==
134
 
 
 
 
 
 
 
 
 
 
 
135
  = 1.14.8 =
136
 
137
  Release date: November 13th, 2020
2
  Contributors: boldgrid, joemoto, imh_brad, rramo012, bgnicolepaschen, jamesros161
3
  Tags: backup, cloud backup, database backup, restore, wordpress backup
4
  Requires at least: 4.4
5
+ Tested up to: 5.6
6
  Requires PHP: 5.4
7
+ Stable tag: 1.14.9
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.9 =
136
+
137
+ Release date: December 8th, 2020
138
+
139
+ * Bug fix: Fixed reset link for backup all tables.
140
+ * Bug fix: Fixed pagination buttons for file exclusion tool.
141
+ * Bug fix: Fixed several html escaping issues.
142
+ * Bug fix: Fixed file exclusion preview filter input.
143
+ * Bug fix: Fixed various jqmigrate warnings.
144
+
145
  = 1.14.8 =
146
 
147
  Release date: November 13th, 2020
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitc813f76d2c406598733e9ca90b39f208::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a
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,19 +51,19 @@ class ComposerAutoloaderInit2c6160174d1b0812d59b0ad76055a23a
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;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitc813f76d2c406598733e9ca90b39f208
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInitc813f76d2c406598733e9ca90b39f208', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInitc813f76d2c406598733e9ca90b39f208', '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\ComposerStaticInitc813f76d2c406598733e9ca90b39f208::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\ComposerStaticInitc813f76d2c406598733e9ca90b39f208::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequirec813f76d2c406598733e9ca90b39f208($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequirec813f76d2c406598733e9ca90b39f208($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 ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInit2c6160174d1b0812d59b0ad76055a23a
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
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitc813f76d2c406598733e9ca90b39f208
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 = ComposerStaticInitc813f76d2c406598733e9ca90b39f208::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInitc813f76d2c406598733e9ca90b39f208::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInitc813f76d2c406598733e9ca90b39f208::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }