UpdraftPlus WordPress Backup Plugin - Version 1.16.11

Version Description

Download this release

Release Info

Developer DavidAnderson
Plugin Icon 128x128 UpdraftPlus WordPress Backup Plugin
Version 1.16.11
Comparing to
See all releases

Code changes from version 1.16.10 to 1.16.11

admin.php CHANGED
@@ -4436,15 +4436,15 @@ ENDHERE;
4436
  public function prepare_restore() {
4437
 
4438
  global $updraftplus;
 
 
 
 
 
 
4439
 
4440
  // If this is the start of a restore then get the restore data from the posted data and put it into jobdata.
4441
  if (isset($_REQUEST['action']) && 'updraft_restore' == $_REQUEST['action']) {
4442
-
4443
- // on restore start job_id is empty but if we needed file system permissions then we have already started a job so reuse it
4444
- $restore_job_id = empty($_REQUEST['job_id']) ? false : $_REQUEST['job_id'];
4445
-
4446
- // Set up nonces, log files etc.
4447
- $updraftplus->initiate_restore_job($restore_job_id);
4448
 
4449
  if (empty($restore_job_id)) {
4450
  $jobdata_to_save = array();
4436
  public function prepare_restore() {
4437
 
4438
  global $updraftplus;
4439
+
4440
+ // on restore start job_id is empty but if we needed file system permissions or this is a resumption then we have already started a job so reuse it
4441
+ $restore_job_id = empty($_REQUEST['job_id']) ? false : $_REQUEST['job_id'];
4442
+
4443
+ // Set up nonces, log files etc.
4444
+ $updraftplus->initiate_restore_job($restore_job_id);
4445
 
4446
  // If this is the start of a restore then get the restore data from the posted data and put it into jobdata.
4447
  if (isset($_REQUEST['action']) && 'updraft_restore' == $_REQUEST['action']) {
 
 
 
 
 
 
4448
 
4449
  if (empty($restore_job_id)) {
4450
  $jobdata_to_save = array();
class-updraftplus.php CHANGED
@@ -2976,7 +2976,7 @@ class UpdraftPlus {
2976
  * @param Boolean $allow_email - if this is false, then no email will be sent
2977
  * @param Boolean $force_abort - set to indicate that the user is manually aborting the backup
2978
  */
2979
- private function backup_finish($do_cleanup, $allow_email, $force_abort = false) {
2980
 
2981
  if (!empty($this->semaphore)) $this->semaphore->unlock();
2982
 
2976
  * @param Boolean $allow_email - if this is false, then no email will be sent
2977
  * @param Boolean $force_abort - set to indicate that the user is manually aborting the backup
2978
  */
2979
+ public function backup_finish($do_cleanup, $allow_email, $force_abort = false) {
2980
 
2981
  if (!empty($this->semaphore)) $this->semaphore->unlock();
2982
 
includes/Dropbox2/API.php CHANGED
@@ -83,11 +83,16 @@ class UpdraftPlus_Dropbox_API {
83
 
84
  /**
85
  * Retrieves information about the user's quota
 
86
  * @return object stdClass
87
  */
88
- public function quotaInfo() {
89
  $call = '2/users/get_space_usage';
90
- $params = array('api_v2' => true);
 
 
 
 
91
  $response = $this->fetch('POST', self::API_URL_V2, $call, $params);
92
  return $response;
93
  }
83
 
84
  /**
85
  * Retrieves information about the user's quota
86
+ * @param array $options - valid keys are 'timeout'
87
  * @return object stdClass
88
  */
89
+ public function quotaInfo($options = array()) {
90
  $call = '2/users/get_space_usage';
91
+ // Cases have been seen (Apr 2019) where a response came back (HTTP/2.0 response header - suspected outgoing web hosting proxy, as everyone else seems to get HTTP/1.0 and I'm not aware that current Curl versions would do HTTP/2.0 without specifically being told to) after 180 seconds; a valid response, but took a long time.
92
+ $params = array(
93
+ 'api_v2' => true,
94
+ 'timeout' => isset($options['timeout']) ? $options['timeout'] : 20
95
+ );
96
  $response = $this->fetch('POST', self::API_URL_V2, $call, $params);
97
  return $response;
98
  }
includes/Dropbox2/OAuth/Consumer/Curl.php CHANGED
@@ -149,6 +149,10 @@ class Dropbox_Curl extends Dropbox_ConsumerAbstract
149
  $this->inFile = null;
150
  }
151
 
 
 
 
 
152
  // Set the cURL options at once
153
  curl_setopt_array($handle, $options);
154
  // Execute, get any error and close
@@ -250,14 +254,14 @@ class Dropbox_Curl extends Dropbox_ConsumerAbstract
250
 
251
  // If the status code is 100, the API server must send a final response
252
  // We need to explode the response again to get the actual response
253
- if (preg_match('#^HTTP/1.1 100#i', $lines[0])) {
254
  list($headers, $response) = explode("\r\n\r\n", $response, 2);
255
  $lines = explode("\r\n", $headers);
256
  }
257
 
258
  // Get the HTTP response code from the first line
259
  $first = array_shift($lines);
260
- $pattern = '#^HTTP/1.1 ([0-9]{3})#i';
261
  preg_match($pattern, $first, $matches);
262
  $code = $matches[1];
263
 
@@ -276,7 +280,7 @@ class Dropbox_Curl extends Dropbox_ConsumerAbstract
276
 
277
  if (is_string($body)) {
278
  $body_lines = explode("\r\n", $body);
279
- if (preg_match('#^HTTP/1.1 100#i', $body_lines[0]) && preg_match('#^HTTP/1.#i', $body_lines[2])) {
280
  return $this->parse($body);
281
  }
282
  }
149
  $this->inFile = null;
150
  }
151
 
152
+ if (isset($additional['timeout'])) {
153
+ $options[CURLOPT_TIMEOUT] = $additional['timeout'];
154
+ }
155
+
156
  // Set the cURL options at once
157
  curl_setopt_array($handle, $options);
158
  // Execute, get any error and close
254
 
255
  // If the status code is 100, the API server must send a final response
256
  // We need to explode the response again to get the actual response
257
+ if (preg_match('#^HTTP/[\.\d]+ 100#i', $lines[0])) {
258
  list($headers, $response) = explode("\r\n\r\n", $response, 2);
259
  $lines = explode("\r\n", $headers);
260
  }
261
 
262
  // Get the HTTP response code from the first line
263
  $first = array_shift($lines);
264
+ $pattern = '#^HTTP/[\.\d]+ ([0-9]{3})#i';
265
  preg_match($pattern, $first, $matches);
266
  $code = $matches[1];
267
 
280
 
281
  if (is_string($body)) {
282
  $body_lines = explode("\r\n", $body);
283
+ if (preg_match('#^HTTP/[\.\d]+ 100#i', $body_lines[0]) && preg_match('#^HTTP/\d#i', $body_lines[2])) {
284
  return $this->parse($body);
285
  }
286
  }
includes/updraft-admin-common.js CHANGED
@@ -1358,7 +1358,7 @@ function zip_files_jstree(entity, timestamp, type, findex) {
1358
  * @param {string} what - the file entity
1359
  */
1360
  function remove_updraft_downloader(item, what) {
1361
- jQuery(item).fadeOut().remove();
1362
  if (0 == jQuery('.updraftplus_downloader_container_'+what+' .updraftplus_downloader').length) jQuery('.updraftplus_downloader_container_'+what).remove();
1363
  }
1364
 
1358
  * @param {string} what - the file entity
1359
  */
1360
  function remove_updraft_downloader(item, what) {
1361
+ jQuery(item).closest('.updraftplus_downloader').fadeOut().remove();
1362
  if (0 == jQuery('.updraftplus_downloader_container_'+what+' .updraftplus_downloader').length) jQuery('.updraftplus_downloader_container_'+what).remove();
1363
  }
1364
 
includes/updraft-admin-common.min.js CHANGED
@@ -1,4 +1,4 @@
1
- function updraft_send_command(t,e,a,r){default_options={json_parse:!0,alert_on_error:!0,action:"updraft_ajax",nonce:updraft_credentialtest_nonce,nonce_key:"nonce",timeout:null,async:!0,type:"POST"},"undefined"==typeof r&&(r={});for(var n in default_options)r.hasOwnProperty(n)||(r[n]=default_options[n]);var o={action:r.action,subaction:t};if(o[r.nonce_key]=r.nonce,"object"==typeof e)for(var d in e)o[d]=e[d];else o.action_data=e;var u={type:r.type,url:ajaxurl,data:o,success:function(t,e){if(r.json_parse){try{var n=ud_parse_json(t)}catch(o){return"function"==typeof r.error_callback?r.error_callback(t,o,502,n):(console.log(o),console.log(t),void(r.alert_on_error&&alert(updraftlion.unexpectedresponse+" "+t)))}if(n.hasOwnProperty("fatal_error"))return"function"==typeof r.error_callback?r.error_callback(t,e,500,n):(console.error(n.fatal_error_message),r.alert_on_error&&alert(n.fatal_error_message),!1);"function"==typeof a&&a(n,e,t)}else"function"==typeof a&&a(t,e)},error:function(t,e,a){"function"==typeof r.error_callback?r.error_callback(t,e,a):(console.log("updraft_send_command: error: "+e+" ("+a+")"),console.log(t))},dataType:"text",async:r.async};null!=r.timeout&&(u.timeout=r.timeout),jQuery.ajax(u)}function updraft_delete(t,e,a){jQuery("#updraft_delete_timestamp").val(t),jQuery("#updraft_delete_nonce").val(e),a?jQuery("#updraft-delete-remote-section, #updraft_delete_remote").removeAttr("disabled").show():jQuery("#updraft-delete-remote-section, #updraft_delete_remote").hide().attr("disabled","disabled"),t.indexOf(",")>-1?(jQuery("#updraft_delete_question_singular").hide(),jQuery("#updraft_delete_question_plural").show()):(jQuery("#updraft_delete_question_plural").hide(),jQuery("#updraft_delete_question_singular").show()),jQuery("#updraft-delete-modal").dialog("open")}function updraft_remote_storage_tab_activation(t){jQuery(".updraftplusmethod").hide(),jQuery(".remote-tab").data("active",!1),jQuery(".remote-tab").removeClass("nav-tab-active"),jQuery(".updraftplusmethod."+t).show(),jQuery(".remote-tab-"+t).data("active",!0),jQuery(".remote-tab-"+t).addClass("nav-tab-active")}function updraft_check_overduecrons(){updraft_send_command("check_overdue_crons",null,function(t){t&&t.hasOwnProperty("m")&&jQuery("#updraft-insert-admin-warning").html(t.m)},{alert_on_error:!1})}function updraft_remote_storage_tabs_setup(){var t=0,e=jQuery(".updraft_servicecheckbox:checked");jQuery(e).each(function(a,r){var n=jQuery(r).val();"updraft_servicecheckbox_none"!=jQuery(r).attr("id")&&t++,jQuery(".remote-tab-"+n).show(),a==jQuery(e).length-1&&updraft_remote_storage_tab_activation(n)}),t>0?(jQuery(".updraftplusmethod.none").hide(),jQuery("#remote_storage_tabs").show()):jQuery("#remote_storage_tabs").hide(),jQuery(document).keyup(function(t){if((32===t.keyCode||13===t.keyCode)&&jQuery(document.activeElement).is("input.labelauty + label")){var e=jQuery(document.activeElement).attr("for");e&&jQuery("#"+e).change()}}),jQuery(".updraft_servicecheckbox").change(function(){var e=jQuery(this).attr("id");if("updraft_servicecheckbox_"==e.substring(0,24)){var a=e.substring(24);null!=a&&""!=a&&(jQuery(this).is(":checked")?(t++,jQuery(".remote-tab-"+a).fadeIn(),updraft_remote_storage_tab_activation(a)):(t--,jQuery(".remote-tab-"+a).hide(),1==jQuery(".remote-tab-"+a).data("active")&&updraft_remote_storage_tab_activation(jQuery(".remote-tab:visible").last().attr("name"))))}t<=0?(jQuery(".updraftplusmethod.none").fadeIn(),jQuery("#remote_storage_tabs").hide()):(jQuery(".updraftplusmethod.none").hide(),jQuery("#remote_storage_tabs").show())}),jQuery(".updraft_servicecheckbox:not(.multi)").change(function(){var t=jQuery(this).attr("value");jQuery(this).is(":not(:checked)")?(jQuery(".updraftplusmethod."+t).hide(),jQuery(".updraftplusmethod.none").fadeIn()):jQuery(".updraft_servicecheckbox").not(this).prop("checked",!1)});var a=jQuery(".updraft_servicecheckbox");"function"==typeof a.labelauty&&a.labelauty()}function updraft_remote_storage_test(t,e,a){var r,n;a?(r=jQuery("#updraft-"+t+"-test-"+a),n=".updraftplusmethod."+t+"-"+a):(r=jQuery("#updraft-"+t+"-test"),n=".updraftplusmethod."+t);var o=r.data("method_label");r.html(updraftlion.testing_settings.replace("%s",o));var d={method:t};jQuery("#updraft-navtab-settings-content "+n+" input[data-updraft_settings_test], #updraft-navtab-settings-content .expertmode input[data-updraft_settings_test]").each(function(t,e){var a=jQuery(e).data("updraft_settings_test"),r=jQuery(e).attr("type");if(a){r||(console.log("UpdraftPlus: settings test input item with no type found"),console.log(e),r="text");var n=null;"checkbox"==r?n=jQuery(e).is(":checked")?1:0:"text"==r||"password"==r?n=jQuery(e).val():(console.log("UpdraftPlus: settings test input item with unrecognised type ("+r+") found"),console.log(e)),d[a]=n}}),jQuery("#updraft-navtab-settings-content "+n+" textarea[data-updraft_settings_test], #updraft-navtab-settings-content "+n+" select[data-updraft_settings_test]").each(function(t,e){var a=jQuery(e).data("updraft_settings_test");d[a]=jQuery(e).val()}),updraft_send_command("test_storage_settings",d,function(t,a){r.html(updraftlion.test_settings.replace("%s",o)),"undefined"!=typeof e&&0!=e&&(e=e.call(this,t,a,d)),"undefined"!=typeof e&&!1===e&&(alert(updraftlion.settings_test_result.replace("%s",o)+" "+t.output),t.hasOwnProperty("data")&&console.log(t.data))},{error_callback:function(t,e,a,n){if(r.html(updraftlion.test_settings.replace("%s",o)),"undefined"!=typeof n&&n.hasOwnProperty("fatal_error"))console.error(n.fatal_error_message),alert(n.fatal_error_message);else{var d="updraft_send_command: error: "+e+" ("+a+")";console.log(d),alert(d),console.log(t)}}})}function backupnow_whichfiles_checked(t){return jQuery('#backupnow_includefiles_moreoptions input[type="checkbox"]').each(function(e){if(jQuery(this).is(":checked")){var a=jQuery(this).attr("name");if("updraft_include_"==a.substring(0,16)){var r=a.substring(16);""!=t&&(t+=","),t+=r}}}),t}function backupnow_whichtables_checked(t){var e=!1;return jQuery('#backupnow_database_moreoptions input[type="checkbox"]').each(function(t){if(!jQuery(this).is(":checked"))return void(e=!0)}),t=jQuery("input[name^='updraft_include_tables_']").serializeArray(),!e||t}function updraft_deleteallselected(){var t=0,e="",a="",r=0;jQuery("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row.backuprowselected").each(function(n){t++;var o=jQuery(this).data("nonce");a&&(a+=","),a+=o;var d=jQuery(this).data("key");e&&(e+=","),e+=d;var u=jQuery(this).find(".updraftplus-remove").data("hasremote");u&&r++}),updraft_delete(e,a,r)}function updraft_open_main_tab(t){updraftlion.main_tabs_keys.forEach(function(e){t==e?(jQuery("#updraft-navtab-"+e+"-content").show(),jQuery("#updraft-navtab-"+e).addClass("nav-tab-active")):(jQuery("#updraft-navtab-"+e+"-content").hide(),jQuery("#updraft-navtab-"+e).removeClass("nav-tab-active")),updraft_console_focussed_tab=t})}function updraft_openrestorepanel(t){updraft_historytimertoggle(t),updraft_open_main_tab("backups")}function updraft_delete_old_dirs(){return!0}function updraft_initiate_restore(t){jQuery('#updraft-navtab-backups-content .updraft_existing_backups button[data-backup_timestamp="'+t+'"]').click()}function updraft_restore_setoptions(t){var e=0;jQuery('input[name="updraft_restore[]"]').each(function(a,r){var n=jQuery(r).val(),o=n+"=([0-9,]+)",d=new RegExp(o),u=t.match(d);u?(jQuery(r).removeAttr("disabled").data("howmany",u[1]).parent().show(),e++,"db"==n&&(e+=4.5),jQuery(r).is(":checked")&&jQuery("#updraft_restorer_"+n+"options").show()):jQuery(r).attr("disabled","disabled").parent().hide()});var a=t.match(/dbcrypted=1/);a?(jQuery("#updraft_restore_db").data("encrypted",1),jQuery(".updraft_restore_crypteddb").show()):(jQuery("#updraft_restore_db").data("encrypted",0),jQuery(".updraft_restore_crypteddb").hide()),jQuery("#updraft_restore_db").trigger("change");var r=t.match(/meta_foreign=([12])/);r?jQuery("#updraft_restore_meta_foreign").val(r[1]):jQuery("#updraft_restore_meta_foreign").val("0");var n=336+20*e;jQuery("#updraft-restore-modal").dialog("option","height",n)}function updraft_backup_dialog_open(t){t="undefined"==typeof t?"new":t,0==jQuery("#updraftplus_incremental_backup_link").data("incremental")&&"incremental"==t?(jQuery("#updraft-backupnow-modal .incremental-free-only").show(),t="new"):jQuery("#updraft-backupnow-modal .incremental-backups-only").hide(),jQuery("#backupnow_includefiles_moreoptions").hide(),updraft_settings_form_changed&&!window.confirm(updraftlion.unsavedsettingsbackup)||(jQuery("#backupnow_label").val(""),"incremental"==t?(update_file_entities_checkboxes(!0,impossible_increment_entities),jQuery("#backupnow_includedb").prop("checked",!1),jQuery("#backupnow_includefiles").prop("checked",!0),jQuery("#backupnow_includefiles_label").text(updraftlion.files_incremental_backup),jQuery("#updraft-backupnow-modal .new-backups-only").hide(),jQuery("#updraft-backupnow-modal .incremental-backups-only").show()):(update_file_entities_checkboxes(!1,impossible_increment_entities),jQuery("#backupnow_includedb").prop("checked",!0),jQuery("#backupnow_includefiles_label").text(updraftlion.files_new_backup),jQuery("#updraft-backupnow-modal .new-backups-only").show(),jQuery("#updraft-backupnow-modal .incremental-backups-only").hide()),jQuery("#updraft-backupnow-modal").data("backup-type",t),jQuery("#updraft-backupnow-modal").dialog("open"))}function update_file_entities_checkboxes(t,e){t?jQuery(e).each(function(t,e){jQuery("#backupnow_files_updraft_include_"+e).prop("checked",!1),jQuery("#backupnow_files_updraft_include_"+e).prop("disabled",!0)}):jQuery('#backupnow_includefiles_moreoptions input[type="checkbox"]').each(function(t){var e=jQuery(this).attr("name");if("updraft_include_"==e.substring(0,16)){var a=e.substring(16);jQuery("#backupnow_files_updraft_include_"+a).prop("disabled",!1),jQuery(this).is(":checked")&&jQuery("#backupnow_files_updraft_include_"+a).prop("checked",!0)}})}function updraft_check_page_visibility(t){"hidden"==document.visibilityState?updraft_page_is_visible=0:(updraft_page_is_visible=1,1!==t&&jQuery("#updraft-navtab-backups-content").length&&updraft_activejobs_update(!0))}function setup_migrate_tabs(){jQuery("#updraft_migrate .updraft_migrate_widget_module_content").each(function(t,e){var a=jQuery(e).find("h3").first().html(),r=jQuery(".updraft_migrate_intro"),n=jQuery('<button class="button button-primary button-hero" />').html(a).appendTo(r);n.on("click",function(t){t.preventDefault(),jQuery(e).show(),r.hide()})})}function updraft_backupnow_inpage_go(t,e,a,r,n,o,d){r="undefined"==typeof r?0:r,n="undefined"==typeof n?0:n,o="undefined"==typeof o?0:o,d="undefined"==typeof d?updraftlion.automaticbackupbeforeupdate:d,updraft_console_focussed_tab="backups",updraft_inpage_success_callback=t,updraft_activejobs_update_timer=setInterval(function(){updraft_activejobs_update(!1)},1250);var u={},s=jQuery("#updraft-backupnow-inpage-modal").length;s&&jQuery("#updraft-backupnow-inpage-modal").dialog("option","buttons",u),jQuery("#updraft_inpage_prebackup").hide(),s&&jQuery("#updraft-backupnow-inpage-modal").dialog("open"),jQuery("#updraft_inpage_backup").show(),updraft_activejobslist_backupnownonce_only=1,updraft_inpage_hasbegun=0,updraft_backupnow_go(r,n,o,e,a,d,"")}function updraft_get_downloaders(){var t="";return jQuery(".ud_downloadstatus .updraftplus_downloader, #ud_downloadstatus2 .updraftplus_downloader").each(function(e,a){var r=jQuery(a).data("downloaderfor");"object"==typeof r&&(""!=t&&(t+=":"),t=t+r.base+","+r.nonce+","+r.what+","+r.index)}),t}function updraft_poll_get_parameters(){var t={downloaders:updraft_get_downloaders()};try{jQuery("#updraft-poplog").dialog("isOpen")&&(t.log_fetch=1,t.log_nonce=updraft_poplog_log_nonce,t.log_pointer=updraft_poplog_log_pointer)}catch(e){console.log(e)}return updraft_activejobslist_backupnownonce_only&&"undefined"!=typeof updraft_backupnow_nonce&&""!=updraft_backupnow_nonce&&(t.thisjobonly=updraft_backupnow_nonce),t}function updraft_activejobs_update(t){var e=(jQuery,(new Date).getTime());if(!(0==t&&e<updraft_activejobs_nextupdate)){updraft_activejobs_nextupdate=e+5500;var a=updraft_poll_get_parameters();updraft_send_command("activejobs_list",a,function(t,e,r){updraft_process_status_check(t,r,a)},{type:"GET",error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),!0===updraftplus_activejobs_list_fatal_error_alert&&(updraftplus_activejobs_list_fatal_error_alert=!1,alert(this.alert_done+" "+r.fatal_error_message));else{var n=e==a?a:a+" ("+e+")";console.error(n),console.log(t)}return!1}})}}function updraft_show_success_modal(t){"string"==typeof t&&(t={message:t});var e=jQuery.extend({icon:"yes",close:updraftlion.close,message:"",classes:"success"},t);jQuery.blockUI({css:{width:"300px",border:"none","border-radius":"10px",left:"calc(50% - 150px)"},message:'<div class="updraft_success_popup '+e.classes+'"><span class="dashicons dashicons-'+e.icon+'"></span><div class="updraft_success_popup--message">'+e.message+'</div><button class="button updraft-close-overlay"><span class="dashicons dashicons-no-alt"></span>'+e.close+"</button></div>"}),setTimeout(jQuery.unblockUI,5e3),jQuery(".blockUI .updraft-close-overlay").on("click",function(){jQuery.unblockUI()})}function updraft_popuplog(t){var e=updraftlion.loading_log_file;t&&(e+=" (log."+t+".txt)"),jQuery("#updraft-poplog").dialog("option","title",e),jQuery("#updraft-poplog-content").html("<em>"+e+" ...</em> "),jQuery("#updraft-poplog").dialog("open"),updraft_send_command("get_log",t,function(t){updraft_poplog_log_pointer=t.pointer,updraft_poplog_log_nonce=t.nonce;var e="?page=updraftplus&action=downloadlog&force_download=1&updraftplus_backup_nonce="+t.nonce;jQuery("#updraft-poplog-content").html(t.log);var a={};a[updraftlion.downloadlogfile]=function(){window.location.href=e},a[updraftlion.close]=function(){jQuery(this).dialog("close")},jQuery("#updraft-poplog").dialog("option","buttons",a),jQuery("#updraft-poplog").dialog("option","title","log."+t.nonce+".txt"),updraft_poplog_lastscroll=-1},{type:"GET",timeout:6e4,error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft-poplog-content").append(r.fatal_error_message);else{var n=e==a?a:a+" ("+e+")";jQuery("#updraft-poplog-content").append(n),console.log(t)}}})}function updraft_showlastbackup(){updraft_send_command("get_fragment","last_backup_html",function(t){response=t.output,lastbackup_laststatus==response?setTimeout(function(){updraft_showlastbackup()},7e3):jQuery("#updraft_last_backup").html(response),lastbackup_laststatus=response},{type:"GET"})}function updraft_historytimertoggle(t){updraft_historytimer&&1!=t?(clearTimeout(updraft_historytimer),updraft_historytimer=0):(updraft_updatehistory(0,0),updraft_historytimer=setInterval(function(){updraft_updatehistory(0,0)},3e4),calculated_diskspace||(updraftplus_diskspace(),calculated_diskspace=1))}function updraft_updatehistory(t,e,a){"undefined"==typeof a&&(a=jQuery("#updraft_debug_mode").is(":checked")?1:0);var r=Math.round((new Date).getTime()/1e3);if(1==t||1==e)updraft_historytimer_notbefore=r+30;else if(r<updraft_historytimer_notbefore)return void console.log("Update history skipped: "+r.toString()+" < "+updraft_historytimer_notbefore.toString());1==t&&(1==e?(updraft_history_lastchecksum=!1,jQuery("#updraft-navtab-backups-content .updraft_existing_backups").html('<p style="text-align:center;"><em>'+updraftlion.rescanningremote+"</em></p>")):(updraft_history_lastchecksum=!1,jQuery("#updraft-navtab-backups-content .updraft_existing_backups").html('<p style="text-align:center;"><em>'+updraftlion.rescanning+"</em></p>")));var n=e?"remotescan":!!t&&"rescan",o={operation:n,debug:a};updraft_send_command("rescan",o,function(t){if(t.hasOwnProperty("logs_exist")&&t.logs_exist&&jQuery("#updraft_lastlogmessagerow .updraft-log-link").show(),t.hasOwnProperty("migrate_tab")&&t.migrate_tab&&(jQuery("#updraft-navtab-migrate").hasClass("nav-tab-active")||(jQuery("#updraft_migrate_tab_alt").html(""),jQuery("#updraft_migrate").replaceWith(jQuery(t.migrate_tab).find("#updraft_migrate")),setup_migrate_tabs())),t.hasOwnProperty("web_server_disk_space")&&(""==t.web_server_disk_space?(console.log("UpdraftPlus: web_server_disk_space is empty"),jQuery("#updraft-navtab-backups-content .updraft-server-disk-space").length&&jQuery("#updraft-navtab-backups-content .updraft-server-disk-space").slideUp("slow",function(){jQuery(this).remove()})):jQuery("#updraft-navtab-backups-content .updraft-server-disk-space").length?jQuery("#updraft-navtab-backups-content .updraft-server-disk-space").replaceWith(t.web_server_disk_space):jQuery("#updraft-navtab-backups-content .updraft-disk-space-actions").prepend(t.web_server_disk_space)),update_backupnow_modal(t),t.hasOwnProperty("backupnow_file_entities")&&(impossible_increment_entities=t.backupnow_file_entities),null!=t.n&&jQuery("#updraft-existing-backups-heading").html(t.n),null!=t.t){if(null!=t.cksum){if(t.cksum==updraft_history_lastchecksum)return;updraft_history_lastchecksum=t.cksum}jQuery("#updraft-navtab-backups-content .updraft_existing_backups").html(t.t),updraft_backups_selection.checkSelectionStatus(),t.data&&console.log(t.data)}})}function update_backupnow_modal(t){t.hasOwnProperty("modal_afterfileoptions")&&jQuery(".backupnow_modal_afterfileoptions").html(t.modal_afterfileoptions)}function updraft_exclude_entity_update(t){var e=[];jQuery("#updraft_include_"+t+"_exclude_container .updraft_exclude_entity_wrapper .updraft_exclude_entity_field").each(function(){var t=jQuery.trim(jQuery(this).data("val"));""!=t&&e.push(t)}),jQuery("#updraft_include_"+t+"_exclude").val(e.join(","))}function updraft_is_unique_exclude_rule(t,e){return existing_exclude_rules_str=jQuery("#updraft_include_"+e+"_exclude").val(),existing_exclude_rules=existing_exclude_rules_str.split(","),!(jQuery.inArray(t,existing_exclude_rules)>-1)||(alert(updraftlion.duplicate_exclude_rule_error_msg),!1)}function updraft_intervals_monthly_or_not(t,e){var a="#updraft-navtab-settings-content #"+t,r=jQuery(a+" option").length,n="monthly"==e,o=!1;if(r>10&&(o=!0),n||o){if(n&&o)return void("monthly"==e&&(jQuery(".updraft_monthly_extra_words_"+t).remove(),jQuery(a).before('<span class="updraft_monthly_extra_words_'+t+'">'+updraftlion.day+" </span>").after('<span class="updraft_monthly_extra_words_'+t+'"> '+updraftlion.inthemonth+" </span>")));if(jQuery(".updraft_monthly_extra_words_"+t).remove(),n){updraft_interval_week_val=jQuery(a+" option:selected").val(),jQuery(a).html(updraftlion.mdayselector).before('<span class="updraft_monthly_extra_words_'+t+'">'+updraftlion.day+" </span>").after('<span class="updraft_monthly_extra_words_'+t+'"> '+updraftlion.inthemonth+" </span>");var d=updraft_interval_month_val===!1?1:updraft_interval_month_val;d-=1,jQuery(a+" option:eq("+d+")").prop("selected",!0)}else{updraft_interval_month_val=jQuery(a+" option:selected").val(),jQuery(a).html(updraftlion.dayselector);var u=updraft_interval_week_val===!1?1:updraft_interval_week_val;jQuery(a+" option:eq("+u+")").prop("selected",!0)}}}function updraft_check_same_times(){var t=0,e=jQuery("#updraft-navtab-settings-content .updraft_interval").val();"manual"==e?jQuery("#updraft-navtab-settings-content .updraft_files_timings").hide():jQuery("#updraft-navtab-settings-content .updraft_files_timings").show(),"weekly"==e||"fortnightly"==e||"monthly"==e?(updraft_intervals_monthly_or_not("updraft_startday_files",e),jQuery("#updraft-navtab-settings-content #updraft_startday_files").show()):(jQuery(".updraft_monthly_extra_words_updraft_startday_files").remove(),jQuery("#updraft-navtab-settings-content #updraft_startday_files").hide());var a=jQuery("#updraft-navtab-settings-content .updraft_interval_database").val();"manual"==a&&(t=1,jQuery("#updraft-navtab-settings-content .updraft_db_timings").hide()),"weekly"==a||"fortnightly"==a||"monthly"==a?(updraft_intervals_monthly_or_not("updraft_startday_db",a),jQuery("#updraft-navtab-settings-content #updraft_startday_db").show()):(jQuery(".updraft_monthly_extra_words_updraft_startday_db").remove(),jQuery("#updraft-navtab-settings-content #updraft_startday_db").hide()),a==e?(jQuery("#updraft-navtab-settings-content .updraft_db_timings").hide(),0==t?jQuery("#updraft-navtab-settings-content .updraft_same_schedules_message").show():jQuery("#updraft-navtab-settings-content .updraft_same_schedules_message").hide()):(jQuery("#updraft-navtab-settings-content .updraft_same_schedules_message").hide(),0==t&&jQuery("#updraft-navtab-settings-content .updraft_db_timings").show())}function updraft_activejobs_delete(t){updraft_aborted_jobs[t]=1,jQuery("#updraft-jobid-"+t).closest(".updraft_row").addClass("deleting"),updraft_send_command("activejobs_delete",t,function(e){var a=jQuery("#updraft-jobid-"+t).closest(".updraft_row");a.addClass("deleting"),"Y"==e.ok?(jQuery("#updraft-jobid-"+t).html(e.m),a.remove(),jQuery("#updraft-backupnow-inpage-modal").dialog("isOpen")&&jQuery("#updraft-backupnow-inpage-modal").dialog("close"),updraft_show_success_modal({message:updraft_active_job_is_clone(t)?updraftlion.clone_backup_aborted:updraftlion.backup_aborted,icon:"no-alt",classes:"warning"})):"N"==e.ok?(a.removeClass("deleting"),alert(e.m)):(a.removeClass("deleting"),alert(updraftlion.unexpectedresponse),console.log(e))})}function updraftplus_diskspace_entity(t){jQuery("#updraft_diskspaceused_"+t).html("<em>"+updraftlion.calculating+"</em>"),updraft_send_command("get_fragment",{fragment:"disk_usage",data:t},function(e){jQuery("#updraft_diskspaceused_"+t).html(e.output)},{type:"GET"})}function updraft_active_job_is_clone(t){return updraft_clone_jobs.filter(function(e){return e==t}).length}function updraft_iframe_modal(t,e){var a=780,r=500;jQuery("#updraft-iframe-modal-innards").html('<iframe width="100%" height="430px" src="'+ajaxurl+"?action=updraft_ajax&subaction="+t+"&nonce="+updraft_credentialtest_nonce+'"></iframe>'),jQuery("#updraft-iframe-modal").dialog("option","title",e).dialog("option","width",a).dialog("option","height",r).dialog("open")}function updraft_html_modal(t,e,a,r){jQuery("#updraft-iframe-modal-innards").html(t);var n={};a<450&&(n[updraftlion.close]=function(){jQuery(this).dialog("close")}),jQuery("#updraft-iframe-modal").dialog("option","title",e).dialog("option","width",a).dialog("option","height",r).dialog("option","buttons",n).dialog("open")}function updraftplus_diskspace(){jQuery("#updraft-navtab-backups-content .updraft_diskspaceused").html("<em>"+updraftlion.calculating+"</em>"),updraft_send_command("get_fragment",{fragment:"disk_usage",data:"updraft"},function(t){jQuery("#updraft-navtab-backups-content .updraft_diskspaceused").html(t.output)},{type:"GET"})}function updraftplus_deletefromserver(t,e,a){a||(a=0);var r={stage:"delete",timestamp:t,type:e,findex:a};updraft_send_command("updraft_download_backup",r,null,{action:"updraft_download_backup",nonce:updraft_download_nonce,nonce_key:"_wpnonce"})}function updraftplus_downloadstage2(t,e,a){location.href=ajaxurl+"?_wpnonce="+updraft_download_nonce+"&timestamp="+t+"&type="+e+"&stage=2&findex="+a+"&action=updraft_download_backup"}function updraftplus_show_contents(t,e,a){var r='<div id="updraft_zip_files_container" class="hidden-in-updraftcentral" style="clear:left;"><div id="updraft_zip_info_container" class="updraft_jstree_info_container"><p><span id="updraft_zip_path_text">'+updraftlion.zip_file_contents_info+'</span> - <span id="updraft_zip_size_text"></span></p>'+updraftlion.browse_download_link+'</div><div id="updraft_zip_files_jstree_container"><input type="search" id="zip_files_jstree_search" name="zip_files_jstree_search" placeholder="'+updraftlion.search+'"><div id="updraft_zip_files_jstree" class="updraft_jstree"></div></div></div>';updraft_html_modal(r,updraftlion.zip_file_contents,780,500),zip_files_jstree("zipbrowser",t,e,a)}function zip_files_jstree(t,e,a,r){jQuery("#updraft_zip_files_jstree").jstree({core:{multiple:!1,data:function(n,o){updraft_send_command("get_jstree_directory_nodes",{entity:t,node:n,timestamp:e,type:a,findex:r},function(t){t.hasOwnProperty("error")?alert(t.error):o.call(this,t.nodes)},{error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft_zip_files_jstree").html('<p style="color:red; margin: 5px;">'+r.fatal_error_message+"</p>"),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";jQuery("#updraft_zip_files_jstree").html('<p style="color:red; margin: 5px;">'+n+"</p>"),console.log(n),alert(n),console.log(t)}}})},error:function(t){alert(t),console.log(t)}},search:{show_only_matches:!0},plugins:["search","sort"]}),jQuery("#updraft_zip_files_jstree").on("ready.jstree",function(t,e){jQuery("#updraft-iframe-modal").dialog("option","title",updraftlion.zip_file_contents+": "+e.instance.get_node("#").children[0])});var n=!1;jQuery("#zip_files_jstree_search").keyup(function(){n&&clearTimeout(n),n=setTimeout(function(){var t=jQuery("#zip_files_jstree_search").val();jQuery("#updraft_zip_files_jstree").jstree(!0).search(t)},250)}),jQuery("#updraft_zip_files_jstree").on("changed.jstree",function(t,e){jQuery("#updraft_zip_path_text").text(e.node.li_attr.path),e.node.li_attr.size?(jQuery("#updraft_zip_size_text").text(e.node.li_attr.size),jQuery("#updraft_zip_download_item").show()):(jQuery("#updraft_zip_size_text").text(""),jQuery("#updraft_zip_download_item").hide())}),jQuery("#updraft_zip_download_item").click(function(t){t.preventDefault();var n=jQuery("#updraft_zip_path_text").text();updraft_send_command("get_zipfile_download",{path:n,timestamp:e,type:a,findex:r},function(t){t.hasOwnProperty("error")?alert(t.error):t.hasOwnProperty("path")?location.href=ajaxurl+"?_wpnonce="+updraft_download_nonce+"&timestamp="+e+"&type="+a+"&stage=2&findex="+r+"&filepath="+t.path+"&action=updraft_download_backup":alert(updraftlion.download_timeout)},{error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";console.log(n),alert(n),console.log(t)}}})})}function remove_updraft_downloader(t,e){jQuery(t).fadeOut().remove(),0==jQuery(".updraftplus_downloader_container_"+e+" .updraftplus_downloader").length&&jQuery(".updraftplus_downloader_container_"+e).remove()}function updraft_downloader(t,e,a,r,n,o,d){"string"!=typeof n&&(n=n.toString()),jQuery(".ud_downloadstatus").show();var n=n.split(","),u=o?o:e,s=jQuery("#updraft-navtab-backups-content .uddownloadform_"+a+"_"+e+"_"+n[0]).data("wp_nonce").toString();jQuery(".updraftplus_downloader_container_"+a).length||(jQuery(r).append('<div class="updraftplus_downloader_container_'+a+' postbox"></div>'),jQuery(".updraftplus_downloader_container_"+a).append('<strong style="clear:left; padding: 8px; margin-top: 4px;">'+updraftlion.download+" "+a+" ("+u+"):</strong>"));for(var i=0;i<n.length;i++){var l=t+e+"_"+a+"_"+n[i],p="."+l,_=parseInt(n[i]);_++;var c=0==n[i]?"":" ("+_+")";jQuery(p).length||(jQuery(".updraftplus_downloader_container_"+a).append('<div style="clear:left; padding: 8px; margin-top: 4px;" class="'+l+' updraftplus_downloader"><button onclick="remove_updraft_downloader(this, \''+a+'\');" type="button" style="float:right; margin-bottom: 8px;" class="ud_downloadstatus__close" aria-label="Close"><span class="dashicons dashicons-no-alt"></span></button><strong>'+a+c+'</strong>:<div class="raw">'+updraftlion.begunlooking+'</div><div class="file '+l+'_st"><div class="dlfileprogress" style="width: 0;"></div></div></div>'),jQuery(p).data("downloaderfor",{base:t,nonce:e,what:a,index:n[i]}),setTimeout(function(){updraft_activejobs_update(!0)},1500)),jQuery(p).data("lasttimebegan",(new Date).getTime())}d=!!d;var f={type:a,timestamp:e,findex:n},m={action:"updraft_download_backup",nonce_key:"_wpnonce",nonce:s,timeout:1e4,async:d};return updraft_send_command("updraft_download_backup",f,function(t){},m),!1}function ud_parse_json(t){t.charAt(0),t.charAt(t.length-1);try{var e=JSON.parse(t);return e}catch(a){console.log("UpdraftPlus: Exception when trying to parse JSON (1) - will attempt to fix/re-parse"),console.log(t)}var r=t.indexOf("{"),n=t.lastIndexOf("}");if(r>-1&&n>-1){var o=t.slice(r,n+1);try{var d=JSON.parse(o);return console.log("UpdraftPlus: JSON re-parse successful"),d}catch(a){throw console.log("UpdraftPlus: Exception when trying to parse JSON (2)"),a}}throw"UpdraftPlus: could not parse the JSON"}function updraft_restorer_checkstage2(t){var e=jQuery("#ud_downloadstatus2 .file").length;return e>0?void(t&&alert(updraftlion.stilldownloading)):(jQuery("#updraft-restore-modal-stage2a").html(updraftlion.processing),void updraft_send_command("restore_alldownloaded",{timestamp:jQuery("#updraft_restore_timestamp").val(),restoreopts:jQuery("#updraft_restore_form").serialize()},function(t,e,a){var r=null;jQuery("#updraft_restorer_restore_options").val("");try{if(null==t)return void jQuery("#updraft-restore-modal-stage2a").html(updraftlion.emptyresponse);var n=t.m;if(""!=t.w&&(n=n+"<p><strong>"+updraftlion.warnings+"</strong><br>"+t.w+"</p>"),""!=t.e?n=n+"<p><strong>"+updraftlion.errors+"</strong><br>"+t.e+"</p>":updraft_restore_stage=3,t.hasOwnProperty("i")){try{if(r=ud_parse_json(t.i),r.hasOwnProperty("addui")){console.log("Further UI options are being displayed");var o=r.addui;n+='<div id="updraft_restoreoptions_ui" style="clear:left; padding-top:10px;">'+o+"</div>","object"==typeof JSON&&"function"==typeof JSON.stringify&&(delete r.addui,t.i=JSON.stringify(r))}}catch(d){console.log(d),console.log(t)}jQuery("#updraft_restorer_backup_info").val(t.i)}else jQuery("#updraft_restorer_backup_info").val();jQuery("#updraft-restore-modal-stage2a").html(n),jQuery("#updraft-restore-modal-stage2a .updraft_select2").length>0&&jQuery("#updraft-restore-modal-stage2a .updraft_select2").select2()}catch(d){console.log(a),console.log(d),jQuery("#updraft-restore-modal-stage2a").text(updraftlion.jsonnotunderstood+" "+updraftlion.errordata+": "+a).html()}},{error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft-restore-modal-stage2a").html('<p style="color: red;">'+r.fatal_error_message+"</p>"),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";jQuery("#updraft-restore-modal-stage2a").html('<p style="color: red;">'+n+"</p>"),console.log(n),alert(n),console.log(t)}}}))}function updraft_downloader_status(t,e,a,r){}function updraft_downloader_status_update(t,e){var a=0;return jQuery(t).each(function(t,r){if(""!=r.base){var n=r.base+r.timestamp+"_"+r.what+"_"+r.findex,o="."+n;if(null!=r.e)jQuery(o+" .raw").html("<strong>"+updraftlion.error+"</strong> "+r.e),console.log(r);else if(null!=r.p){if(jQuery(o+"_st .dlfileprogress").width(r.p+"%"),null!=r.a&&r.a>0){var d=(new Date).getTime(),u=jQuery(o).data("lasttimebegan"),s=d-u;if(r.a>90&&s>6e4){console.log(r.timestamp+" "+r.what+" "+r.findex+": restarting download: file_age="+r.a+", sincelastrestart_ms="+s),jQuery(o).data("lasttimebegan",(new Date).getTime());var i=jQuery("#updraft-navtab-backups-content .uddownloadform_"+r.what+"_"+r.timestamp+"_"+r.findex),l={type:r.what,timestamp:r.timestamp,findex:r.findex},p={action:"updraft_download_backup",nonce_key:"_wpnonce",nonce:i.data("wp_nonce").toString(),timeout:1e4};updraft_send_command("updraft_download_backup",l,function(t){},p),jQuery(o).data("lasttimebegan",(new Date).getTime())}}if(null!=r.m)if(r.p>=100&&"udrestoredlstatus_"==r.base)jQuery(o+" .raw").html(r.m),jQuery(o).fadeOut("slow",function(){remove_updraft_downloader(this,r.what),updraft_restorer_checkstage2(0)});else if(r.p<100||"uddlstatus_"!=r.base)jQuery(o+" .raw").html(r.m);else{var _=updraftlion.fileready+" "+updraftlion.actions+': \t\t\t\t<button class="button" type="button" onclick="updraftplus_downloadstage2(\''+r.timestamp+"', '"+r.what+"', '"+r.findex+"')\">"+updraftlion.downloadtocomputer+'</button> \t\t\t\t<button class="button" id="uddownloaddelete_'+r.timestamp+"_"+r.what+'" type="button" onclick="updraftplus_deletefromserver(\''+r.timestamp+"', '"+r.what+"', '"+r.findex+"')\">"+updraftlion.deletefromserver+"</button>";
2
  r.hasOwnProperty("can_show_contents")&&r.can_show_contents&&(_+=' <button class="button" type="button" onclick="updraftplus_show_contents(\''+r.timestamp+"', '"+r.what+"', '"+r.findex+"')\">"+updraftlion.browse_contents+"</button>"),jQuery(o+" .raw").html(_),jQuery(o+"_st").remove()}}else null!=r.m?jQuery(o+" .raw").html(r.m):(jQuery(o+" .raw").html(updraftlion.jsonnotunderstood+" ("+e+")"),a=1)}}),a}function updraft_backupnow_go(t,e,a,r,n,o,d){var u={backupnow_nodb:t,backupnow_nofiles:e,backupnow_nocloud:a,backupnow_label:o,extradata:n};if(""!=r&&(u.onlythisfileentity=r),""!=d&&(u.onlythesetableentities=d),u.always_keep="undefined"!=typeof n.always_keep?n.always_keep:0,delete n.always_keep,u.incremental="undefined"!=typeof n.incremental?n.incremental:0,delete n.incremental,!jQuery(".updraft_requeststart").length){var s=jQuery('<div class="updraft_requeststart" />').html('<span class="spinner"></span>'+updraftlion.requeststart);s.data("remove",!1),setTimeout(function(){s.data("remove",!0)},3e3),setTimeout(function(){s.remove()},75e3),jQuery("#updraft_activejobsrow").before(s)}updraft_activejobslist_backupnownonce_only=1,updraft_send_command("backupnow",u,function(t){return t.hasOwnProperty("error")?(jQuery(".updraft_requeststart").remove(),void alert(t.error)):(jQuery("#updraft_backup_started").html(t.m),t.hasOwnProperty("nonce")&&(updraft_backupnow_nonce=t.nonce,console.log("UpdraftPlus: ID of started job: "+updraft_backupnow_nonce)),void setTimeout(function(){updraft_activejobs_update(!0)},500))})}function updraft_process_status_check(t,e,a){if(t.hasOwnProperty("fatal_error"))return console.error(t.fatal_error_message),void(!0===updraftplus_activejobs_list_fatal_error_alert&&(updraftplus_activejobs_list_fatal_error_alert=!1,alert(this.alert_done+" "+t.fatal_error_message)));try{t.hasOwnProperty("l")&&(t.l?(jQuery("#updraft_lastlogmessagerow").show(),jQuery("#updraft_lastlogcontainer").html(t.l)):(jQuery("#updraft_lastlogmessagerow").hide(),jQuery("#updraft_lastlogcontainer").html("("+updraftlion.nothing_yet_logged+")")));var r=-1,n=jQuery(".updraft_requeststart");t.j&&n.length&&n.data("remove")&&n.remove();var o=jQuery(t.j);o.find(".updraft_jobtimings").each(function(t,e){var a=jQuery(e);if(a.data("jobid")){var r=a.data("jobid"),n=a.closest(".updraft_row");updraft_aborted_jobs[r]&&n.hide()}}),jQuery("#updraft_activejobsrow").html(o);var d=o.find('.job-id[data-isclone="1"]');if(d.length>0){if(0==jQuery(".updraftclone_action_box .updraftclone_network_info").length&&jQuery("#updraft_activejobsrow .job-id .updraft_clone_url").length>0){var u=jQuery("#updraft_activejobsrow .job-id .updraft_clone_url").data("clone_url");updraft_send_command("get_clone_network_info",{clone_url:u},function(t){t.hasOwnProperty("html")&&jQuery(".updraftclone_action_box").html(t.html)})}jQuery("#updraft_clone_activejobsrow").empty(),d.each(function(t,e){var a=jQuery(e);a.closest(".updraft_row").appendTo(jQuery("#updraft_clone_activejobsrow"))})}if(jQuery("#updraft_activejobs .updraft_jobtimings").each(function(t,e){var a=jQuery(e);if(a.data("lastactivity")&&a.data("jobid")){var n=a.data("jobid"),o=a.data("lastactivity");(r==-1||o<r)&&(r=o);var d=a.data("nextresumptionafter"),u=a.data("nextresumption");timenow=(new Date).getTime(),o>50&&u>0&&d<-30&&timenow>updraft_last_forced_when+1e5&&(updraft_last_forced_jobid!=n||u!=updraft_last_forced_resumption)&&(updraft_last_forced_resumption=u,updraft_last_forced_jobid=n,updraft_last_forced_when=timenow,console.log("UpdraftPlus: force resumption: job_id="+n+", resumption="+u),updraft_send_command("forcescheduledresumption",{resumption:u,job_id:n},function(t){console.log(t)},{json_parse:!1,alert_on_error:!1}))}}),timenow=(new Date).getTime(),updraft_activejobs_nextupdate=timenow+18e4,1==updraft_page_is_visible&&"backups"==updraft_console_focussed_tab&&(updraft_activejobs_nextupdate=r>-1?r<5?timenow+1750:timenow+5e3:lastlog_lastdata==e?timenow+7500:timenow+1750),d.length>0&&(updraft_activejobs_nextupdate=timenow+6e3),lastlog_lastdata=e,null!=t.j&&""!=t.j){if(jQuery("#updraft_activejobsrow").show(),d.length>0&&jQuery("#updraft_clone_activejobsrow").show(),a.hasOwnProperty("thisjobonly")&&!updraft_inpage_hasbegun&&jQuery("#updraft-jobid-"+a.thisjobonly).length?(updraft_inpage_hasbegun=1,console.log("UpdraftPlus: the start of the requested backup job has been detected")):!updraft_inpage_hasbegun&&updraft_activejobslist_backupnownonce_only&&jQuery(".updraft_jobtimings.isautobackup").length?(autobackup_nonce=jQuery(".updraft_jobtimings.isautobackup").first().data("jobid"),autobackup_nonce&&(updraft_inpage_hasbegun=1,updraft_backupnow_nonce=autobackup_nonce,a.thisjobonly=autobackup_nonce,console.log("UpdraftPlus: the start of the requested backup job has been detected; id: "+autobackup_nonce))):1==updraft_inpage_hasbegun&&jQuery("#updraft-jobid-"+a.thisjobonly+".updraft_finished").length&&(updraft_inpage_hasbegun=2,console.log("UpdraftPlus: the end of the requested backup job has been detected"),updraft_activejobs_update_timer&&clearInterval(updraft_activejobs_update_timer),"undefined"!=typeof updraft_inpage_success_callback&&""!=updraft_inpage_success_callback?updraft_inpage_success_callback.call(!1):jQuery("#updraft-backupnow-inpage-modal").dialog("close")),""==lastlog_jobs&&setTimeout(function(){jQuery("#updraft_backup_started").slideUp()},3500),a.hasOwnProperty("thisjobonly")&&updraft_backupnow_nonce&&a.thisjobonly===updraft_backupnow_nonce){jQuery(".updraft_requeststart").remove();var s=jQuery("#updraft-jobid-"+updraft_backupnow_nonce);s.is(".updraft_finished")&&(updraft_activejobslist_backupnownonce_only=0,updraft_aborted_jobs[updraft_backupnow_nonce]?updraft_aborted_jobs=updraft_aborted_jobs.filter(function(t,e){return t!=updraft_backupnow_nonce}):updraft_active_job_is_clone(updraft_backupnow_nonce)?(updraft_show_success_modal(updraftlion.clone_backup_complete),updraft_clone_jobs=updraft_clone_jobs.filter(function(t){return t!=updraft_backupnow_nonce})):updraft_show_success_modal(updraftlion.backup_complete),updraft_backupnow_nonce="",updraft_activejobs_update(!0))}}else jQuery("#updraft_activejobsrow").is(":hidden")||("undefined"!=typeof lastbackup_laststatus&&updraft_showlastbackup(),updraft_updatehistory(0,0),jQuery("#updraft_activejobsrow").hide());if(lastlog_jobs=t.j,null!=t.ds&&""!=t.ds&&updraft_downloader_status_update(t.ds,e),null!=t.u&&""!=t.u&&jQuery("#updraft-poplog").dialog("isOpen")){var i=t.u;if(i.nonce==updraft_poplog_log_nonce&&(updraft_poplog_log_pointer=i.pointer,null!=i.log&&""!=i.log)){var l=jQuery("#updraft-poplog").scrollTop();jQuery("#updraft-poplog-content").append(i.log),updraft_poplog_lastscroll!=l&&updraft_poplog_lastscroll!=-1||(jQuery("#updraft-poplog").scrollTop(jQuery("#updraft-poplog-content").prop("scrollHeight")),updraft_poplog_lastscroll=jQuery("#updraft-poplog").scrollTop())}}}catch(p){console.log(updraftlion.unexpectedresponse+" "+e),console.log(p)}}var onlythesefileentities=backupnow_whichfiles_checked("");""==onlythesefileentities?jQuery("#backupnow_includefiles_moreoptions").show():jQuery("#backupnow_includefiles_moreoptions").hide();var impossible_increment_entities,updraft_restore_stage=1,lastlog_lastmessage="",lastlog_lastdata="",lastlog_jobs="",updraft_activejobs_nextupdate=(new Date).getTime()+1e3,updraft_page_is_visible=1,updraft_console_focussed_tab=updraftlion.tab,updraft_settings_form_changed=!1;window.onbeforeunload=function(t){if(updraft_settings_form_changed)return updraftlion.unsavedsettings},"undefined"!=typeof document.hidden&&document.addEventListener("visibilitychange",function(){updraft_check_page_visibility(0)},!1),updraft_check_page_visibility(1);var updraft_poplog_log_nonce,updraft_poplog_log_pointer=0,updraft_poplog_lastscroll=-1,updraft_last_forced_jobid=-1,updraft_last_forced_resumption=-1,updraft_last_forced_when=-1,updraft_backupnow_nonce="",updraft_activejobslist_backupnownonce_only=0,updraft_inpage_hasbegun=0,updraft_activejobs_update_timer,updraft_aborted_jobs=[],updraft_clone_jobs=[],updraft_backups_selection={};!function(t){updraft_backups_selection.toggle=function(e){var a=t(e);a.is(".backuprowselected")?this.deselect(e):this.select(e)},updraft_backups_selection.select=function(e){t(e).addClass("backuprowselected"),t(e).find(".backup-select input").prop("checked",!0),this.checkSelectionStatus()},updraft_backups_selection.deselect=function(e){t(e).removeClass("backuprowselected"),t(e).find(".backup-select input").prop("checked",!1),this.checkSelectionStatus()},updraft_backups_selection.selectAll=function(){t("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row").each(function(t,e){updraft_backups_selection.select(e)})},updraft_backups_selection.deselectAll=function(){t("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row").each(function(t,e){updraft_backups_selection.deselect(e)})},updraft_backups_selection.checkSelectionStatus=function(){var e=t("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row").length,a=t("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row.backuprowselected").length;a>0?(t("#ud_massactions").addClass("active"),t(".js--deselect-all-backups, .js--delete-selected-backups").prop("disabled",!1)):(t("#ud_massactions").removeClass("active"),t(".js--deselect-all-backups, .js--delete-selected-backups").prop("disabled",!0)),e===a?t("#cb-select-all").prop("checked",!0):t("#cb-select-all").prop("checked",!1),e?t("#ud_massactions").show():t("#ud_massactions").hide()}}(jQuery);var updraftplus_activejobs_list_fatal_error_alert=!0,updraft_historytimer=0,calculated_diskspace=0,updraft_historytimer_notbefore=0,updraft_history_lastchecksum=!1,updraft_interval_week_val=!1,updraft_interval_month_val=!1;"undefined"!=typeof updraft_siteurl&&setInterval(function(){jQuery.get(updraft_siteurl+"/wp-cron.php")},21e4);var lastlog_lastmessage="";jQuery(document).ajaxError(function(t,e,a,r){if(null!=r&&""!=r&&null!=e.responseText&&""!=e.responseText&&(console.log("Error caught by UpdraftPlus ajaxError handler (follows) for "+a.url),console.log(r),0==a.url.search(ajaxurl)))if(a.url.search("subaction=downloadstatus")>=0){var n=a.url.match(/timestamp=\d+/),o=a.url.match(/type=[a-z]+/),d=a.url.match(/findex=\d+/),u=a.url.match(/base=[a-z_]+/);if(d=d instanceof Array?parseInt(d[0].substr(7)):0,o=o instanceof Array?o[0].substr(5):"",u=u instanceof Array?u[0].substr(5):"",n=n instanceof Array?parseInt(n[0].substr(10)):0,""!=u&&""!=o&&n>0){var s=u+n+"_"+o+"_"+d;jQuery("."+s+" .raw").html("<strong>"+updraftlion.error+"</strong> "+updraftlion.servererrorcode)}}else a.url.search("subaction=restore_alldownloaded")>=0&&jQuery("#updraft-restore-modal-stage2a").append("<br><strong>"+updraftlion.error+"</strong> "+updraftlion.servererrorcode+": "+r)}),jQuery(document).ready(function(t){function e(e){t('.expertmode .advanced_settings_container .advanced_tools:not(".'+e+'")').hide(),t(".expertmode .advanced_settings_container .advanced_tools."+e).fadeIn("slow"),t(".expertmode .advanced_settings_container .advanced_tools_button:not(#"+e+")").removeClass("active"),t(".expertmode .advanced_settings_container .advanced_tools_button#"+e).addClass("active")}function a(e){t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login_status").html("").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login .updraftplus_spinner.spinner").addClass("visible"),updraft_send_command("process_updraftplus_clone_login",e,function(e){try{if(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login .updraftplus_spinner.spinner").removeClass("visible"),e.hasOwnProperty("status")&&"error"==e.status)return t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login_status").html(e.message).show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .tfa_fields").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .non_tfa_fields").show(),void t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_two_factor_code").val("");e.hasOwnProperty("tfa_enabled")&&1==e.tfa_enabled&&(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .non_tfa_fields").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .tfa_fields").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 input#temporary_clone_options_two_factor_code").focus()),"authenticated"===e.status&&(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .non_tfa_fields").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .tfa_fields").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 input#temporary_clone_options_two_factor_code").val(""),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").html(e.html))}catch(a){console.log(a)}})}function r(e){t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key_status").html("").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key .updraftplus_spinner.spinner").addClass("visible"),updraft_send_command("process_updraftplus_clone_login",e,function(e){try{if(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key .updraftplus_spinner.spinner").removeClass("visible"),e.hasOwnProperty("status")&&"error"==e.status)return void t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key_status").html(e.message).show();"authenticated"===e.status&&(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").html(e.html))}catch(a){console.log(a)}})}function n(t,e,a,r){var n={updraftplus_clone_backup:1,backupnow_nodb:0,backupnow_nofiles:0,backupnow_nocloud:0,backupnow_label:"UpdraftPlus Clone",extradata:"",onlythisfileentity:"plugins,themes,uploads,others",clone_id:t,secret_token:e,clone_url:a,key:r};updraft_activejobslist_backupnownonce_only=1,updraft_send_command("backupnow",n,function(t){jQuery("#updraft_clone_progress .updraftplus_spinner.spinner").removeClass("visible"),jQuery("#updraft_backup_started").html(t.m),t.hasOwnProperty("nonce")&&(updraft_backupnow_nonce=t.nonce,updraft_clone_jobs.push(updraft_backupnow_nonce),updraft_inpage_success_callback=function(){jQuery("#updraft_clone_activejobsrow").hide(),updraft_aborted_jobs[updraft_backupnow_nonce]?jQuery("#updraft_clone_progress").html(updraftlion.clone_backup_aborted):jQuery("#updraft_clone_progress").html(updraftlion.clone_backup_complete)},console.log("UpdraftPlus: ID of started job: "+updraft_backupnow_nonce)),updraft_activejobs_update(!0)})}function o(t){var e=Handlebars.compile(updraftlion.remote_storage_templates[t]),a=updraftlion.remote_storage_options[t]["default"];a.instance_id="s-"+d(32),a.instance_enabled=1;var r=e(a);jQuery(r).hide().insertAfter("."+t+"_add_instance_container:first").show("slow")}function d(t){for(var e="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=0;r<t;r++)e+=a.charAt(Math.floor(Math.random()*a.length));return e}function u(t){var e=!!jQuery("#updraftcentral_mothership_other").is(":checked");e?(jQuery("#updraftcentral_keycreate_mothership").prop("disabled",!1),t?jQuery("#updraftcentral_keycreate_mothership_firewalled_container").show():(jQuery(".updraftcentral_wizard_self_hosted_stage2").show(),jQuery("#updraftcentral_keycreate_mothership_firewalled_container").slideDown(),jQuery("#updraftcentral_keycreate_mothership").focus())):(jQuery("#updraftcentral_keycreate_mothership").prop("disabled",!0),t||(jQuery(".updraftcentral_wizard_self_hosted_stage2").hide(),s()))}function s(){jQuery("#updraftcentral_wizard_stage1_error").text("");var t="";if(jQuery("#updraftcentral_mothership_updraftpluscom").is(":checked"))jQuery(".updraftcentral_keycreate_description").hide(),t="updraftplus.com";else if(jQuery("#updraftcentral_mothership_other").is(":checked")){jQuery(".updraftcentral_keycreate_description").show();var e=jQuery("#updraftcentral_keycreate_mothership").val();if(""==e)return void jQuery("#updraftcentral_wizard_stage1_error").text(updraftlion.updraftcentral_wizard_empty_url);try{var a=new URL(e);t=a.hostname}catch(r){if("undefined"==typeof URL&&(t=jQuery("<a>").prop("href",e).prop("hostname")),!t||"undefined"!=typeof URL)return void jQuery("#updraftcentral_wizard_stage1_error").text(updraftlion.updraftcentral_wizard_invalid_url)}}jQuery("#updraftcentral_keycreate_description").val(t),jQuery(".updraftcentral_wizard_stage1").hide(),jQuery(".updraftcentral_wizard_stage2").show()}function i(e,a,r,n){jQuery("#updraft-delete-modal").dialog("close");var o=e,d=a,u=r,s=n,l=jQuery("#updraft_delete_timestamp").val().split(","),p=jQuery("#updraft_delete_form").serializeArray(),_={};t.each(p,function(){void 0!==_[this.name]?(_[this.name].push||(_[this.name]=[_[this.name]]),_[this.name].push(this.value||"")):_[this.name]=this.value||""}),_.delete_remote?jQuery("#updraft-delete-waitwarning").find(".updraft-deleting-remote").show():jQuery("#updraft-delete-waitwarning").find(".updraft-deleting-remote").hide(),jQuery("#updraft-delete-waitwarning").slideDown().addClass("active"),_.remote_delete_limit=updraftlion.remote_delete_limit,delete _.action,delete _.subaction,delete _.nonce,updraft_send_command("deleteset",_,function(t){if(!t.hasOwnProperty("result")||null==t.result)return void jQuery("#updraft-delete-waitwarning").slideUp();if("error"==t.result)jQuery("#updraft-delete-waitwarning").slideUp(),alert(updraftlion.error+" "+t.message);else if("continue"==t.result){o=o+t.backup_local+t.backup_remote,d+=t.backup_local,u+=t.backup_remote,s+=t.backup_sets;for(var e=t.deleted_timestamps.split(","),a=0;a<e.length;a++){var r=e[a];jQuery("#updraft-navtab-backups-content .updraft_existing_backups_row_"+r).slideUp().remove()}jQuery("#updraft_delete_timestamp").val(t.timestamps),jQuery("#updraft-deleted-files-total").text(o+" "+updraftlion.remote_files_deleted),i(o,d,u,s)}else if("success"==t.result){setTimeout(function(){jQuery("#updraft-deleted-files-total").text(""),jQuery("#updraft-delete-waitwarning").slideUp()},500),update_backupnow_modal(t),t.hasOwnProperty("backupnow_file_entities")&&(impossible_increment_entities=t.backupnow_file_entities),t.hasOwnProperty("count_backups")&&jQuery("#updraft-existing-backups-heading").html(updraftlion.existing_backups+' <span class="updraft_existing_backups_count">'+t.count_backups+"</span>");for(var a=0;a<l.length;a++){var r=l[a];jQuery("#updraft-navtab-backups-content .updraft_existing_backups_row_"+r).slideUp().remove()}updraft_backups_selection.checkSelectionStatus(),updraft_history_lastchecksum=!1,d+=t.backup_local,u+=t.backup_remote,s+=t.backup_sets,setTimeout(function(){alert(t.set_message+" "+s+"\n"+t.local_message+" "+d+"\n"+t.remote_message+" "+u)},900)}})}function l(t,e){jQuery("#updraft-navtab-settings-content #updraft_include_"+t).is(":checked")?e?jQuery("#updraft-navtab-settings-content #updraft_include_"+t+"_exclude_container").show():jQuery("#updraft-navtab-settings-content #updraft_include_"+t+"_exclude_container").slideDown():e?jQuery("#updraft-navtab-settings-content #updraft_include_"+t+"_exclude").hide():jQuery("#updraft-navtab-settings-content #updraft_include_"+t+"_exclude_container").slideUp()}function p(){var t=new plupload.Uploader(updraft_plupload_config);t.bind("Init",function(t){var e=jQuery("#plupload-upload-ui");t.features.dragdrop?(e.addClass("drag-drop"),jQuery("#drag-drop-area").bind("dragover.wp-uploader",function(){e.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){e.removeClass("drag-over")})):(e.removeClass("drag-drop"),jQuery("#drag-drop-area").unbind(".wp-uploader"))}),t.init(),t.bind("FilesAdded",function(e,a){plupload.each(a,function(e){if(!/^backup_([\-0-9]{15})_.*_([0-9a-f]{12})-[\-a-z]+([0-9]+?)?(\.(zip|gz|gz\.crypt))?$/i.test(e.name)&&!/^log\.([0-9a-f]{12})\.txt$/.test(e.name)){for(var a=!1,r=0;r<updraft_accept_archivename.length;r++)if(updraft_accept_archivename[r].test(e.name))var a=!0;if(!a)return/\.(zip|tar|tar\.gz|tar\.bz2)$/i.test(e.name)||/\.sql(\.gz)?$/i.test(e.name)?(jQuery("#updraft-message-modal-innards").html("<p><strong>"+e.name+"</strong></p> "+updraftlion.notarchive2),jQuery("#updraft-message-modal").dialog("open")):alert(e.name+": "+updraftlion.notarchive),void t.removeFile(e)}jQuery("#filelist").append('<div class="file" id="'+e.id+'"><b>'+e.name+"</b> (<span>"+plupload.formatSize(0)+"</span>/"+plupload.formatSize(e.size)+') <div class="fileprogress"></div></div>')}),e.refresh(),e.start()}),t.bind("UploadProgress",function(t,e){jQuery("#"+e.id+" .fileprogress").width(e.percent+"%"),jQuery("#"+e.id+" span").html(plupload.formatSize(parseInt(e.size*e.percent/100))),e.size==e.loaded&&(jQuery("#"+e.id).html('<div class="file" id="'+e.id+'"><b>'+e.name+"</b> (<span>"+plupload.formatSize(parseInt(e.size*e.percent/100))+"</span>/"+plupload.formatSize(e.size)+") - "+updraftlion.complete+"</div>"),jQuery("#"+e.id+" .fileprogress").width(e.percent+"%"))}),t.bind("Error",function(t,e){console.log(e);var a;a="-200"==e.code?"\n"+updraftlion.makesure2:updraftlion.makesure;var r=updraftlion.uploaderr+" (code "+e.code+") : "+e.message;e.hasOwnProperty("status")&&e.status&&(r+=" ("+updraftlion.http_code+" "+e.status+")"),e.hasOwnProperty("response")&&(console.log("UpdraftPlus: plupload error: "+e.response),e.response.length<100&&(r+=" "+updraftlion.error+" "+e.response+"\n")),r+=" "+a,alert(r)}),t.bind("FileUploaded",function(t,e,a){if("200"==a.status)try{resp=ud_parse_json(a.response),resp.e?alert(updraftlion.uploaderror+" "+resp.e):resp.dm?(alert(resp.dm),updraft_updatehistory(1,0)):resp.m?updraft_updatehistory(1,0):alert("Unknown server response: "+a.response)}catch(r){console.log(a),alert(updraftlion.jsonnotunderstood)}else alert("Unknown server response status: "+a.code),console.log(a)})}function _(t){params={uri:jQuery("#updraftplus_httpget_uri").val()},params.curl=t,updraft_send_command("httpget",params,function(t){t.e&&alert(t.e),t.r?jQuery("#updraftplus_httpget_results").html("<pre>"+t.r+"</pre>"):console.log(t)},{type:"GET"})}function c(t,e,a){updraft_restore_setoptions(t),jQuery("#updraft_restore_timestamp").val(e),jQuery(".updraft_restore_date").html(a),updraft_restore_stage=1,jQuery("#updraft-restore-modal").dialog("open"),jQuery("#updraft-restore-modal-stage1").show(),jQuery("#updraft-restore-modal-stage2").hide(),jQuery("#updraft-restore-modal-stage2a").html(""),updraft_activejobs_update(!0)}function f(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e="[\\?&]"+t+"=([^&#]*)",a=new RegExp(e),r=a.exec(window.location.href);return null==r?"":decodeURIComponent(r[1].replace(/\+/g," "))}function m(e,a,r){jQuery("#updraft_upload_timestamp").val(e),jQuery("#updraft_upload_nonce").val(a);var n=r.split(",");jQuery(".updraft_remote_storage_destination").each(function(e){var a=jQuery(this).val();if(jQuery.inArray(a,n)==-1){jQuery(this).prop("checked",!1),jQuery(this).prop("disabled",!0);var r=t(this).prop("labels");jQuery(r).append(" "+updraftlion.already_uploaded)}}),jQuery("#updraft-upload-modal").dialog("open")}if(t(document).on("udp/checkout/done",function(e,a){a.hasOwnProperty("product")&&"updraftpremium"===a.product&&"complete"===a.status&&(t(".premium-upgrade-purchase-success").show(),t(".updraft_feat_table").closest("section").hide(),t(".updraft_premium_cta__action").hide())}),t(".expertmode .advanced_settings_container .advanced_tools_button").click(function(){e(t(this).attr("id"))}),jQuery.ui&&jQuery.ui.dialog&&jQuery.ui.dialog.prototype._allowInteraction){var g=jQuery.ui.dialog.prototype._allowInteraction;jQuery.ui.dialog.prototype._allowInteraction=function(t){return!!jQuery(t.target).closest(".select2-dropdown").length||g.apply(this,arguments)}}t("#updraftcentral_keys").on("click","a.updraftcentral_keys_show",function(e){e.preventDefault(),t(this).remove(),t("#updraftcentral_keys_table").slideDown()}),t("#updraftcentral_keycreate_altmethod_moreinfo_get").click(function(e){e.preventDefault(),t(this).remove(),t("#updraftcentral_keycreate_altmethod_moreinfo").slideDown()}),t("#updraft-navtab-settings-content #remote-storage-holder").on("change keyup paste",".updraft_webdav_settings",function(){var e=[];t(".updraft_webdav_settings").each(function(a,r){var n=t(r).attr("id");if(n&&"updraft_webdav_"==n.substring(0,15)){var o=n.substring(15);id_split=o.split("_"),o=id_split[0];var d=id_split[1];"undefined"==typeof e[d]&&(e[d]=[]),e[d][o]=this.value}});var a="",r="@",n="/",o=":",d=":";for(var u in e)(e[u].host.indexOf("@")>=0||""===e[u].host)&&(r=""),e[u].host.indexOf("/")>=0?t("#updraft_webdav_host_error").show():t("#updraft_webdav_host_error").hide(),0!=e[u].path.indexOf("/")&&""!==e[u].path||(n=""),""!==e[u].user&&""!==e[u].pass||(o=""),""!==e[u].host&&""!==e[u].port||(d=""),a=e[u].webdav+e[u].user+o+e[u].pass+r+encodeURIComponent(e[u].host)+d+e[u].port+n+e[u].path,t("#updraft_webdav_url_"+u).val(a)}),t("#updraft-navtab-backups-content").on("click",".js--delete-selected-backups",function(t){t.preventDefault(),updraft_deleteallselected()}),t("#updraft-navtab-backups-content").on("click",".updraft_existing_backups .backup-select input",function(e){updraft_backups_selection.toggle(t(this).closest(".updraft_existing_backups_row"))}),t("#updraft-navtab-backups-content").on("click","#cb-select-all",function(e){t(this).is(":checked")?updraft_backups_selection.selectAll():updraft_backups_selection.deselectAll()}),t("#updraft-navtab-backups-content").on("click",".js--select-all-backups",function(t){updraft_backups_selection.selectAll()}),t("#updraft-navtab-backups-content").on("click",".js--deselect-all-backups",function(t){updraft_backups_selection.deselectAll()}),t("#updraft-navtab-backups-content").on("click",".updraft_existing_backups .updraft_existing_backups_row",function(t){(t.ctrlKey||t.metaKey)&&updraft_backups_selection.toggle(this)}),updraft_backups_selection.checkSelectionStatus(),t("#updraft-navtab-addons-content .wrap").on("click",".updraftplus_com_login .ud_connectsubmit",function(e){e.preventDefault();var a=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_email").val(),r=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_password").val(),n=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_auto_updates").is(":checked")?1:0,o=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_auto_udc_connect").is(":checked")?1:0,d={email:a,password:r,auto_update:n,auto_udc_connect:o};h.submit(d)}),t("#updraft-navtab-addons-content .wrap").on("keydown",".updraftplus_com_login input",function(e){if(13==e.which){e.preventDefault();var a=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_email").val(),r=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_password").val(),n=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_auto_updates").is(":checked")?1:0,o=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_auto_udc_connect").is(":checked")?1:0,d={email:a,password:r,auto_update:n,auto_udc_connect:o};h.submit(d)}}),t("#updraft-navtab-migrate-content").on("click",".updraftclone_show_step_1",function(e){t(".updraftplus-clone").addClass("opened"),t(".updraftclone_show_step_1").hide(),t(".updraft_migrate_widget_temporary_clone_stage1").show(),t(".updraft_migrate_widget_temporary_clone_stage0").hide()}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_temporary_clone_show_stage0",function(e){e.preventDefault(),t(".updraft_migrate_widget_temporary_clone_stage0").toggle()}),setup_migrate_tabs(),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_module_content .close",function(e){t(".updraft_migrate_intro").show(),t(this).closest(".updraft_migrate_widget_module_content").hide()}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_add_site--trigger",function(e){e.preventDefault(),t(".updraft_migrate_add_site").toggle()}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_module_content .updraftplus_com_login .ud_connectsubmit",function(e){e.preventDefault();var r=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_email").val(),n=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_password").val(),o=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_two_factor_code").val(),d=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login .temporary_clone_terms_and_conditions").is(":checked")?1:0,u={form_data:{email:r,password:n,two_factor_code:o,consent:d}};r&&n?a(u):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login_status").html("<b>"+updraftlion.error+"</b> "+updraftlion.username_password_required).show()}),t("#updraft-navtab-migrate-content").on("keydown",".updraft_migrate_widget_module_content .updraftplus_com_login input",function(e){if(13==e.which){e.preventDefault();var r=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_email").val(),n=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_password").val(),o=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_two_factor_code").val(),d=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login .temporary_clone_terms_and_conditions").is(":checked")?1:0,u={form_data:{email:r,password:n,two_factor_code:o,consent:d}};r&&n?a(u):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login_status").html("<b>"+updraftlion.error+"</b> "+updraftlion.username_password_required).show()}}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_module_content .updraftplus_com_key .ud_key_connectsubmit",function(e){e.preventDefault();var a=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key #temporary_clone_options_key").val(),n=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key .temporary_clone_terms_and_conditions").is(":checked")?1:0,o={
3
  form_data:{clone_key:a,consent:n}};a?r(o):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key_status").html("<b>"+updraftlion.error+"</b> "+updraftlion.clone_key_required).show()}),t("#updraft-navtab-migrate-content").on("keydown",".updraft_migrate_widget_module_content .updraftplus_com_key input",function(e){if(13==e.which){e.preventDefault();var a=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key #temporary_clone_options_key").val(),n=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key .temporary_clone_terms_and_conditions").is(":checked")?1:0,o={form_data:{clone_key:a,consent:n}};a?r(o):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key_status").html("<b>"+updraftlion.error+"</b> "+updraftlion.clone_key_required).show()}}),t("#updraft-navtab-migrate-content").on("change",".updraft_migrate_widget_module_content #updraftplus_clone_php_options",function(){var e=t(this).data("php_version"),a=t(this).val();a<e?t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html(updraftlion.clone_version_warning):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html("")}),t("#updraft-navtab-migrate-content").on("change",".updraft_migrate_widget_module_content #updraftplus_clone_wp_options",function(){var e=t(this).data("wp_version"),a=t(this).val();a<e?t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html(updraftlion.clone_version_warning):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html("")}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_module_content #updraft_migrate_createclone",function(e){e.preventDefault(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraft_migrate_createclone").prop("disabled",!0),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html(""),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_spinner.spinner").addClass("visible");var a=t(this).data("clone_id"),r=t(this).data("secret_token"),o=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_php_options").val(),d=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_wp_options").val(),u=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_region_options").val(),s=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_updraftclone_branch").val(),i=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_updraftplus_branch").val(),l=t(".updraftplus_clone_admin_login_options").is(":checked"),p={form_data:{clone_id:a,secret_token:r,install_info:{php_version:o,wp_version:d,region:u,admin_only:l,updraftclone_branch:"undefined"==typeof s?"":s,updraftplus_branch:"undefined"==typeof i?"":i}}};updraft_send_command("process_updraftplus_clone_create",p,function(e){try{if(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraft_migrate_createclone").prop("disabled",!1),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_spinner.spinner").removeClass("visible"),e.hasOwnProperty("status")&&"error"==e.status)return void t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html(updraftlion.error+" "+e.message).show();"success"===e.status&&(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage3").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage3").html(e.html),jQuery("#updraft_clone_progress .updraftplus_spinner.spinner").addClass("visible"),n(a,r,e.url,e.key))}catch(o){t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraft_migrate_createclone").prop("disabled",!1),console.log("Error when processing the response of process_updraftplus_clone_create (as follows)"),console.log(o)}})});var h={};h.set_status=function(e){t("#updraft-navtab-addons-content .wrap").find(".updraftplus_spinner.spinner").text(e)},h.show_loader=function(){t("#updraft-navtab-addons-content .wrap").find(".updraftplus_spinner.spinner").addClass("visible"),t("#updraft-navtab-addons-content .wrap").find(".ud_connectsubmit").prop("disabled","disabled")},h.hide_loader=function(){t("#updraft-navtab-addons-content .wrap").find(".updraftplus_spinner.spinner").removeClass("visible").text(updraftlion.processing),t("#updraft-navtab-addons-content .wrap").find(".ud_connectsubmit").removeProp("disabled")},h.submit=function(e){if(t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html("").hide(),this.stage)switch(this.stage){case"connect_udc":case"connect_udc_TFA":var a=t("#updraftplus-addons_options_email").val(),r=t("#updraftplus-addons_options_password").val();this.login_data.email=a,this.login_data.password=r,this.connect_udc();break;case"create_key":this.create_key();break;default:this.stage=null,h.submit()}else this.set_status(updraftlion.connecting),this.show_loader(),updraft_send_command("updraftplus_com_login_submit",{data:e},function(a){a.hasOwnProperty("success")?t("#updraftplus-addons_options_auto_udc_connect").is(":checked")?(this.login_data={email:e.email,password:e.password,i_consent:1,two_factor_code:""},h.create_key()):(h.hide_loader(),t("#updraft-navtab-addons-content .wrap .updraftplus_com_login").submit()):a.hasOwnProperty("error")&&(h.hide_loader(),t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(a.message).show())}.bind(this))},h.create_key=function(){this.stage="create_key",this.set_status(updraftlion.udc_cloud_connected),this.show_loader();var e={where_send:"__updraftpluscom",key_description:"",key_size:null,mothership_firewalled:0};updraft_send_command("updraftcentral_create_key",e,function(e){try{var a=ud_parse_json(e);if(a.hasOwnProperty("error"))return void console.log(a);a.hasOwnProperty("bundle")?(console.log("bundle",a.bundle),this.login_data.key=a.bundle,this.stage="connect_udc",h.connect_udc()):(a.hasOwnProperty("r")?(t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(updraftlion.trouble_connecting).show(),alert(a.r)):(t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(updraftlion.trouble_connecting).show(),console.log(a)),h.hide_loader())}catch(r){console.log(r),h.hide_loader()}}.bind(this),{json_parse:!1})},h.connect_udc=function(){var e=t("#updraft-navtab-addons-content .wrap");h.set_status(updraftlion.udc_cloud_key_created),h.show_loader(),"connect_udc_TFA"==this.stage&&(this.login_data.two_factor_code=e.find("input#updraftplus-addons_options_two_factor_code").val(),h.set_status(updraftlion.checking_tfa_code));var a={form_data:this.login_data};a.form_data.addons_options_connect=1,updraft_send_command("process_updraftcentral_login",a,function(a){try{var r=ud_parse_json(a);if(r.hasOwnProperty("error"))return"incorrect_password"===r.code&&(e.find(".tfa_fields").hide(),e.find(".non_tfa_fields").show(),e.find("input#updraftplus-addons_options_two_factor_code").val(""),e.find("input#updraftplus-addons_options_password").val("").focus()),"no_key_found"===r.code&&(this.stage="create_key"),t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(r.message).show(),t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").find("a").attr("target","_blank"),console.log(r),void h.hide_loader();r.hasOwnProperty("tfa_enabled")&&1==r.tfa_enabled&&(t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html("").hide(),e.find(".non_tfa_fields").hide(),e.find(".tfa_fields").show(),e.find("input#updraftplus-addons_options_two_factor_code").focus(),this.stage="connect_udc_TFA"),"authenticated"===r.status&&(e.find(".non_tfa_fields").hide(),e.find(".tfa_fields").hide(),e.find(".updraft-after-form-table").hide(),this.stage=null,t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(updraftlion.login_successful_short).show().addClass("success"),setTimeout(function(){t("#updraft-navtab-addons-content .wrap form.updraftplus_com_login").submit()},1e3))}catch(n){console.log(n)}h.hide_loader()}.bind(this),{json_parse:!1})},t("#updraft-navtab-settings-content #remote-storage-holder").on("click",".updraftplusmethod a.updraft_add_instance",function(e){e.preventDefault(),updraft_settings_form_changed=!0;var a=t(this).data("method");o(a)}),t("#updraft-navtab-settings-content #remote-storage-holder").on("click",".updraftplusmethod a.updraft_delete_instance",function(e){e.preventDefault(),updraft_settings_form_changed=!0;var a=t(this).data("method"),r=t(this).data("instance_id");1===t("."+a+"_updraft_remote_storage_border").length&&o(a),t("."+a+"-"+r).hide("slow",function(){t(this).remove()})}),t("#updraft-navtab-settings-content #remote-storage-holder").on("click",".updraftplusmethod .updraft_edit_label_instance",function(e){t(this).find("span").hide(),t(this).attr("contentEditable",!0).focus()}),t("#updraft-navtab-settings-content #remote-storage-holder").on("keyup",".updraftplusmethod .updraft_edit_label_instance",function(e){var a=jQuery(this).data("method"),r=jQuery(this).data("instance_id"),n=jQuery(this).text();t("#updraft_"+a+"_instance_label_"+r).val(n)}),t("#updraft-navtab-settings-content #remote-storage-holder").on("blur",".updraftplusmethod .updraft_edit_label_instance",function(e){t(this).attr("contentEditable",!1),t(this).find("span").show()}),t("#updraft-navtab-settings-content #remote-storage-holder").on("keypress",".updraftplusmethod .updraft_edit_label_instance",function(e){13===e.which&&(t(this).attr("contentEditable",!1),t(this).find("span").show(),t(this).blur())}),jQuery("#updraft-navtab-settings-content #remote-storage-holder").on("change","input[class='updraft_instance_toggle']",function(){updraft_settings_form_changed=!0,jQuery(this).is(":checked")?jQuery(this).siblings("label").html(updraftlion.instance_enabled):jQuery(this).siblings("label").html(updraftlion.instance_disabled)}),jQuery("#updraft-navtab-settings-content #remote-storage-holder").on("click",".updraftplusmethod button.updraft-test-button",function(){var e=jQuery(this).data("method"),a=jQuery(this).data("instance_id");updraft_remote_storage_test(e,function(r,n,o){return"sftp"==e&&(o.hasOwnProperty("scp")&&o.scp?alert(updraftlion.settings_test_result.replace("%s","SCP")+" "+r.output):alert(updraftlion.settings_test_result.replace("%s","SFTP")+" "+r.output),r.hasOwnProperty("data")&&r.data&&r.data.hasOwnProperty("valid_md5_fingerprint")&&r.data.valid_md5_fingerprint&&t("#updraft_sftp_fingerprint_"+a).val(r.data.valid_md5_fingerprint),!0)},a)}),t("#updraft-navtab-settings-content select.updraft_interval, #updraft-navtab-settings-content select.updraft_interval_database").change(function(){updraft_check_same_times()}),t("#backupnow_includefiles_showmoreoptions").click(function(e){e.preventDefault(),t("#backupnow_includefiles_moreoptions").toggle()}),t("#backupnow_database_showmoreoptions").click(function(e){e.preventDefault(),t("#backupnow_database_moreoptions").toggle()}),t("#updraft-navtab-backups-content").on("click","a.updraft_diskspaceused_update",function(t){t.preventDefault(),updraftplus_diskspace()}),t(".advanced_settings_content a.updraft_diskspaceused_update").click(function(t){t.preventDefault(),jQuery(".advanced_settings_content .updraft_diskspaceused").html("<em>"+updraftlion.calculating+"</em>"),updraft_send_command("get_fragment",{fragment:"disk_usage",data:"updraft"},function(t){jQuery(".advanced_settings_content .updraft_diskspaceused").html(t.output)},{type:"GET"})}),t("#updraft-navtab-backups-content a.updraft_uploader_toggle").click(function(e){e.preventDefault(),t("#updraft-plupload-modal").slideToggle()}),t("#updraft-navtab-backups-content a.updraft_rescan_local").click(function(t){t.preventDefault(),updraft_updatehistory(1,0)}),t("#updraft-navtab-backups-content a.updraft_rescan_remote").click(function(t){t.preventDefault(),updraft_updatehistory(1,1)}),t("#updraftplus-remote-rescan-debug").click(function(t){t.preventDefault(),updraft_updatehistory(1,1,1)}),jQuery("#updraftcentral_keys").on("click",'input[type="radio"]',function(){u(!1)}),u(!0),jQuery("#updraftcentral_keys").on("click","#updraftcentral_view_log",function(t){t.preventDefault(),jQuery("#updraftcentral_view_log_container").block({message:'<div style="margin: 8px; font-size:150%;"><img src="'+updraftlion.ud_url+'/images/udlogo-rotating.gif" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.fetching+"</div>"});try{updraft_send_command("updraftcentral_get_log",null,function(t){jQuery("#updraftcentral_view_log_container").unblock(),t.hasOwnProperty("log_contents")?jQuery("#updraftcentral_view_log_contents").html('<div style="border:1px solid;padding: 2px;max-height: 400px; overflow-y:scroll;">'+t.log_contents+"</div>"):console.response(resp)},{error_callback:function(t,e,a,r){if(jQuery("#updraftcentral_view_log_container").unblock(),"undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";console.log(n),alert(n),console.log(t)}}})}catch(e){jQuery("#updraft_central_key").html(),console.log(e)}}),jQuery("#updraftcentral_keys").on("click","#updraftcentral_wizard_go",function(t){jQuery("#updraftcentral_wizard_go").hide(),jQuery(".updraftcentral_wizard_success").remove(),jQuery(".create_key_container").show()}),jQuery("#updraftcentral_keys").on("click","#updraftcentral_stage1_go",function(t){t.preventDefault(),jQuery(".updraftcentral_wizard_stage2").hide(),jQuery(".updraftcentral_wizard_stage1").show()}),jQuery("#updraftcentral_keys").on("click","#updraftcentral_stage2_go",function(t){t.preventDefault(),s()}),jQuery("#updraftcentral_keys").on("click","#updraftcentral_keycreate_go",function(t){t.preventDefault();var e=!!jQuery("#updraftcentral_mothership_other").is(":checked"),a=jQuery("#updraftcentral_keycreate_description").val(),r=jQuery("#updraftcentral_keycreate_keysize").val(),n="__updraftpluscom";if(data={key_description:a,key_size:r},e&&(n=jQuery("#updraftcentral_keycreate_mothership").val(),"http"!=n.substring(0,4)))return void alert(updraftlion.enter_mothership_url);data.mothership_firewalled=jQuery("#updraftcentral_keycreate_mothership_firewalled").is(":checked")?1:0,data.where_send=n,jQuery(".create_key_container").hide(),jQuery(".updraftcentral_wizard_stage1").show(),jQuery(".updraftcentral_wizard_stage2").hide(),jQuery("#updraftcentral_keys").block({message:'<div style="margin: 8px; font-size:150%;"><img src="'+updraftlion.ud_url+'/images/udlogo-rotating.gif" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.creating_please_allow+"</div>"});try{updraft_send_command("updraftcentral_create_key",data,function(t){jQuery("#updraftcentral_keys").unblock();try{if(t.hasOwnProperty("error"))return alert(t.error),void console.log(t);alert(t.r),t.hasOwnProperty("bundle")&&t.hasOwnProperty("keys_guide")?(jQuery("#updraftcentral_keys_content").html(t.keys_guide),jQuery("#updraftcentral_keys_content").append('<div class="updraftcentral_wizard_success">'+t.r+'<br><textarea onclick="this.select();" style="width:620px; height:165px; word-wrap:break-word; border: 1px solid #aaa; border-radius: 3px; padding:4px;">'+t.bundle+"</textarea></div>")):console.log(t),t.hasOwnProperty("keys_table")&&jQuery("#updraftcentral_keys_content").append(t.keys_table),jQuery("#updraftcentral_wizard_go").show()}catch(e){alert(updraftlion.unexpectedresponse+" "+response),console.log(e)}},{error_callback:function(t,e,a,r){if(jQuery("#updraftcentral_keys").unblock(),"undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";console.log(n),alert(n),console.log(t)}}})}catch(o){jQuery("#updraft_central_key").html(),console.log(o)}}),jQuery("#updraftcentral_keys").on("click",".updraftcentral_key_delete",function(t){t.preventDefault();var e=jQuery(this).data("key_id");return"undefined"==typeof e?void console.log("UpdraftPlus: .updraftcentral_key_delete clicked, but no key ID found"):(jQuery("#updraftcentral_keys").block({message:'<div style="margin: 8px; font-size:150%;"><img src="'+updraftlion.ud_url+'/images/udlogo-rotating.gif" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.deleting+"</div>"}),void updraft_send_command("updraftcentral_delete_key",{key_id:e},function(t){jQuery("#updraftcentral_keys").unblock(),t.hasOwnProperty("keys_table")&&jQuery("#updraftcentral_keys_content").html(t.keys_table)},{error_callback:function(t,e,a,r){if(jQuery("#updraftcentral_keys").unblock(),"undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";console.log(n),alert(n),console.log(t)}}}))}),jQuery("#updraft_reset_sid").click(function(t){t.preventDefault(),updraft_send_command("reset_site_id",null,function(t){jQuery("#updraft_show_sid").html(t)},{json_parse:!1})}),jQuery("#updraft-navtab-settings-content form input:not('.udignorechange'), #updraft-navtab-settings-content form select").change(function(t){updraft_settings_form_changed=!0}),jQuery("#updraft-navtab-settings-content form input[type='submit']").click(function(t){updraft_settings_form_changed=!1});var y=180;jQuery(".updraft-bigbutton").each(function(t,e){var a=jQuery(e).width();a>y&&(y=a)}),y>180&&jQuery(".updraft-bigbutton").width(y),jQuery("#updraft-navtab-backups-content").length&&setInterval(function(){updraft_activejobs_update(!1)},1250),setTimeout(function(){jQuery("#setting-error-settings_updated").slideUp()},5e3),jQuery("#updraft_restore_db").change(function(){jQuery("#updraft_restore_db").is(":checked")&&1==jQuery(this).data("encrypted")?jQuery("#updraft_restorer_dboptions").slideDown():jQuery("#updraft_restorer_dboptions").slideUp()}),updraft_check_same_times();var b={};b[updraftlion.close]=function(){jQuery(this).dialog("close")},jQuery("#updraft-message-modal").dialog({autoOpen:!1,height:350,width:520,modal:!0,buttons:b});var v={};v[updraftlion.deletebutton]=function(){i(0,0,0,0)},v[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-delete-modal").dialog({autoOpen:!1,height:322,width:430,modal:!0,buttons:v});var w={};w[updraftlion.restore]=function(){var t=0,e=[],a=0,r=jQuery("#updraft_restore_meta_foreign").val();if(jQuery('input[name="updraft_restore[]"]').each(function(n,o){if(jQuery(o).is(":checked")&&!jQuery(o).is(":disabled")){t=1;var d=jQuery(o).data("howmany"),u=jQuery(o).val();if((1==r||2==r&&"db"!=u)&&("wpcore"!=u&&(d=jQuery("#updraft_restore_form #updraft_restore_wpcore").data("howmany")),u="wpcore"),"wpcore"!=u||0==a){var s=[u,d];e.push(s),"wpcore"==u&&(a=1)}}}),1==t){if(1==updraft_restore_stage){jQuery("#updraft-restore-modal-stage1").slideUp("slow"),jQuery("#updraft-restore-modal-stage2").show(),updraft_restore_stage=2;var n=jQuery(".updraft_restore_date").first().text(),o=e,d=jQuery("#updraft_restore_timestamp").val();try{updraft_send_command("whichdownloadsneeded",{downloads:e,timestamp:d},function(t){if(t.hasOwnProperty("downloads")&&(console.log("UpdraftPlus: items which still require downloading follow"),o=t.downloads,console.log(o)),0==o.length)updraft_restorer_checkstage2(0);else for(var e=0;e<o.length;e++)updraft_downloader("udrestoredlstatus_",d,o[e][0],"#ud_downloadstatus2",o[e][1],n,!1)},{alert_on_error:!1,error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft-restore-modal-stage2a").html('<p style="color:red;">'+r.fatal_error_message+"</p>");else{var n="updraft_send_command: error: "+e+" ("+a+")";jQuery("#updraft-restore-modal-stage2a").html('<p style="color:red; margin: 5px;">'+n+"</p>"),console.log(n),console.log(t)}}})}catch(u){console.log("UpdraftPlus: error (follows) when looking for items needing downloading"),console.log(u),alert(updraftlion.jsonnotunderstood)}}else if(2==updraft_restore_stage)updraft_restorer_checkstage2(1);else if(3==updraft_restore_stage){var s=1;if(jQuery("#updraft_restoreoptions_ui input.required").each(function(t){if(0!=s){var e=jQuery(this).val();if(""==e)alert(updraftlion.pleasefillinrequired),s=0;else if(""!=jQuery(this).attr("pattern")){var a=jQuery(this).attr("pattern"),r=new RegExp(a,"g");r.test(e)||(alert(jQuery(this).data("invalidpattern")),s=0)}}}),!s)return;var i=jQuery("#updraft_restoreoptions_ui select, #updraft_restoreoptions_ui input").serialize();console.log("Restore options: "+i),jQuery("#updraft_restorer_restore_options").val(i),jQuery("#updraft-restore-modal-stage2a").html(updraftlion.restore_proceeding),jQuery("#updraft_restore_form").submit(),updraft_restore_stage=4}}else alert(updraftlion.youdidnotselectany)},w[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-restore-modal").dialog({autoOpen:!1,height:505,width:590,modal:!0,buttons:w}),jQuery("#updraft-iframe-modal").dialog({autoOpen:!1,height:500,width:780,modal:!0}),jQuery("#updraft-backupnow-inpage-modal").dialog({autoOpen:!1,height:380,width:580,modal:!0});var j={};j[updraftlion.backupnow]=function(){var t=jQuery("#backupnow_includedb").is(":checked")?0:1,e=jQuery("#backupnow_includefiles").is(":checked")?0:1,a=jQuery("#backupnow_includecloud").is(":checked")?0:1,r=backupnow_whichtables_checked(""),n=jQuery("#always_keep").is(":checked")?1:0,o="incremental"==jQuery("#updraft-backupnow-modal").data("backup-type")?1:0;if(""==r&&0==t)return alert(updraftlion.notableschosen),void jQuery("#backupnow_includefiles_moreoptions").show();"boolean"==typeof r&&(r=null);var d=backupnow_whichfiles_checked("");return""==d&&0==e?(alert(updraftlion.nofileschosen),void jQuery("#backupnow_includefiles_moreoptions").show()):t&&e?void alert(updraftlion.excludedeverything):(jQuery(this).dialog("close"),setTimeout(function(){jQuery("#updraft_lastlogmessagerow").fadeOut("slow",function(){jQuery(this).fadeIn("slow")})},1700),void updraft_backupnow_go(t,e,a,d,{always_keep:n,incremental:o},jQuery("#backupnow_label").val(),r))},j[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-backupnow-modal").dialog({autoOpen:!1,height:472,width:610,modal:!0,buttons:j,create:function(){t(this).closest(".ui-dialog").find(".ui-dialog-buttonpane .ui-button:first").addClass("js-tour-backup-now-button")}}),jQuery("#updraft-poplog").dialog({autoOpen:!1,height:600,width:"75%",modal:!0}),jQuery("#updraft-navtab-settings-content .enableexpertmode").click(function(){return jQuery("#updraft-navtab-settings-content .expertmode").fadeIn(),jQuery("#updraft-navtab-settings-content .enableexpertmode").off("click"),!1}),jQuery("#updraft-navtab-settings-content .backupdirrow").on("click","a.updraft_backup_dir_reset",function(){return jQuery("#updraft_dir").val("updraft"),!1}),jQuery("#updraft-navtab-settings-content .updraft_include_entity").click(function(){var t=jQuery(this).data("toggle_exclude_field");t&&l(t,!1)}),jQuery(".updraft_exclude_entity_container").on("click",".updraft_exclude_entity_delete",function(t){if(t.preventDefault(),confirm(updraftlion.exclude_rule_remove_conformation_msg)){var e=jQuery(this).data("include-backup-file");jQuery.when(jQuery(this).closest(".updraft_exclude_entity_wrapper").remove()).then(updraft_exclude_entity_update(e))}}),jQuery(".updraft_exclude_entity_container").on("click",".updraft_exclude_entity_edit",function(t){t.preventDefault();var e=jQuery(this).hide().closest(".updraft_exclude_entity_wrapper"),a=e.find("input");a.removeProp("readonly").focus();var r=a.val();a.val(""),a.val(r),e.find(".updraft_exclude_entity_update").addClass("is-active").show()}),jQuery(".updraft_exclude_entity_container").on("click",".updraft_exclude_entity_update",function(t){t.preventDefault();var e=jQuery(this).closest(".updraft_exclude_entity_wrapper"),a=jQuery(this).data("include-backup-file"),r=jQuery.trim(e.find("input").val()),n=!1;r==e.find("input").data("val")?n=!0:updraft_is_unique_exclude_rule(r,a)&&(n=!0),n&&(jQuery(this).hide().removeClass("is-active"),jQuery.when(e.find("input").prop("readonly","readonly").data("val",r)).then(function(){e.find(".updraft_exclude_entity_edit").show(),updraft_exclude_entity_update(a)}))}),jQuery("#updraft_exclude_modal").dialog({autoOpen:!1,modal:!0,width:520,height:"auto",open:function(e,a){t(this).parent().focus()}}),jQuery(".updraft_exclude_container .updraft_add_exclude_item").click(function(t){t.preventDefault();var e=jQuery(this).data("include-backup-file");jQuery("#updraft_exclude_modal_for").val(e),jQuery("#updraft_exclude_modal_path").val(jQuery(this).data("path")),"uploads"==e&&jQuery("#updraft-exclude-file-dir-prefix").html(jQuery("#updraft-exclude-upload-base-dir").val()),jQuery(".updraft-exclude-modal-reset").trigger("click"),jQuery("#updraft_exclude_modal").dialog("open")}),jQuery(".updraft-exclude-link").click(function(t){t.preventDefault();var e=jQuery(this).data("panel");"file-dir"==e&&jQuery("#updraft_exclude_files_folders_jstree").jstree({core:{multiple:!1,data:function(t,e){updraft_send_command("get_jstree_directory_nodes",{entity:"filebrowser",node:t,path:jQuery("#updraft_exclude_modal_path").val(),findex:0,skip_root_node:!0},function(t){t.hasOwnProperty("error")?alert(t.error):e.call(this,t.nodes)},{error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft_zip_files_jstree").html('<p style="color:red; margin: 5px;">'+r.fatal_error_message+"</p>"),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";jQuery("#updraft_zip_files_jstree").html('<p style="color:red; margin: 5px;">'+n+"</p>"),console.log(n),alert(n),console.log(t)}}})},error:function(t){alert(t),console.log(t)}},search:{show_only_matches:!0},plugins:["sort"]}),jQuery("#updraft_exclude_modal_main").slideUp(),jQuery(".updraft-exclude-panel").hide(),jQuery(".updraft-exclude-panel[data-panel="+e+"]").slideDown()}),jQuery(".updraft-exclude-modal-reset").click(function(t){t.preventDefault(),jQuery("#updraft_exclude_files_folders_jstree").jstree("destroy"),jQuery("#updraft_exclude_extension_field").val(""),jQuery("#updraft_exclude_prefix_field").val(""),jQuery(".updraft-exclude-panel").slideUp(),jQuery("#updraft_exclude_modal_main").slideDown()}),jQuery(".updraft-exclude-submit").click(function(){var t=jQuery(this).data("panel"),e="";switch(t){case"file-dir":var a=jQuery("#updraft_exclude_files_folders_jstree").jstree("get_selected");if(0==a.length)return void alert(updraftlion.exclude_select_file_or_folder_msg);var r=a[0],n=jQuery("#updraft_exclude_modal_path").val();r.substr(0,n.length)==n&&(r=r.substr(n.length,r.length)),"/"==r.charAt(0)&&(r=r.substr(1)),"/"==r.charAt(r.length-1)&&(r=r.substr(0,r.length-1)),e=r;break;case"extension":var o=jQuery("#updraft_exclude_extension_field").val();if(""==o)return void alert(updraftlion.exclude_type_ext_msg);if(!o.match(/^[0-9a-zA-Z]+$/))return void alert(updraftlion.exclude_ext_error_msg);e="ext:"+o;break;case"begin-with":var d=jQuery("#updraft_exclude_prefix_field").val();if(""==d)return void alert(updraftlion.exclude_type_prefix_msg);if(!d.match(/^\s*[a-z-_\d,\s]+\s*$/i))return void alert(updraftlion.exclude_prefix_error_msg);e="prefix:"+d;break;default:return}var u=jQuery("#updraft_exclude_modal_for").val();if(updraft_is_unique_exclude_rule(e,u)){var s='<div class="updraft_exclude_entity_wrapper"><input type="text" class="updraft_exclude_entity_field updraft_include_'+u+'_exclude_entity" name="updraft_include_'+u+'_exclude_entity[]" value="'+e+'" data-val="'+e+'" data-include-backup-file="'+u+'" readonly="readonly"><a href="#" class="updraft_exclude_entity_edit dashicons dashicons-edit" data-include-backup-file="'+u+'"></a><a href="#" class="updraft_exclude_entity_update dashicons dashicons-yes" data-include-backup-file="'+u+'" style="display: none;"></a><a href="#" class="updraft_exclude_entity_delete dashicons dashicons-no" data-include-backup-file="'+u+'"></a></div>';jQuery('.updraft_exclude_entity_container[data-include-backup-file="'+u+'"]').append(s),updraft_exclude_entity_update(u),jQuery("#updraft_exclude_modal").dialog("close")}}),jQuery("#updraft-navtab-settings-content .updraft-service").change(function(){var t=jQuery(this).val();jQuery("#updraft-navtab-settings-content .updraftplusmethod").hide(),jQuery("#updraft-navtab-settings-content ."+t).show()}),jQuery("#updraft-navtab-settings-content a.updraft_show_decryption_widget").click(function(t){t.preventDefault(),jQuery("#updraftplus_db_decrypt").val(jQuery("#updraft_encryptionphrase").val()),jQuery("#updraft-manualdecrypt-modal").slideToggle()}),jQuery("#updraftplus-phpinfo").click(function(t){t.preventDefault(),updraft_iframe_modal("phpinfo",updraftlion.phpinfo)}),jQuery("#updraftplus-rawbackuphistory").click(function(t){t.preventDefault(),updraft_iframe_modal("rawbackuphistory",updraftlion.raw)}),jQuery("#updraft-navtab-status").click(function(t){t.preventDefault(),updraft_open_main_tab("status"),updraft_page_is_visible=1,updraft_console_focussed_tab="status",updraft_activejobs_update(!0)}),jQuery("#updraft-navtab-expert").click(function(t){t.preventDefault(),updraft_open_main_tab("expert"),updraft_page_is_visible=1}),jQuery("#updraft-navtab-settings, #updraft-navtab-settings2, #updraft_backupnow_gotosettings").click(function(t){t.preventDefault(),jQuery(this).parents(".updraftmessage").remove(),jQuery("#updraft-backupnow-modal").dialog("close"),updraft_open_main_tab("settings"),updraft_page_is_visible=1}),jQuery("#updraft-navtab-addons").click(function(t){t.preventDefault(),jQuery(this).addClass("b#nav-tab-active"),updraft_open_main_tab("addons"),updraft_page_is_visible=1}),jQuery("#updraft-navtab-backups").click(function(t){t.preventDefault(),updraft_console_focussed_tab="backups",updraft_historytimertoggle(1),updraft_open_main_tab("backups")}),jQuery("#updraft-navtab-migrate").click(function(t){t.preventDefault(),jQuery("#updraft_migrate_tab_alt").html("").hide(),updraft_open_main_tab("migrate"),updraft_page_is_visible=1,jQuery("#updraft_migrate .updraft_migrate_widget_module_content").is(":visible")||jQuery(".updraft_migrate_intro").show()}),"migrate"==updraftlion.tab&&jQuery("#updraft-navtab-migrate").trigger("click"),updraft_send_command("ping",null,function(t,e){"success"==e&&"pong"!=t&&t.indexOf("pong")>=0&&(jQuery("#updraft-navtab-backups-content .ud-whitespace-warning").show(),console.log("UpdraftPlus: Extra output warning: response (which should be just (string)'pong') follows."),console.log(t))},{json_parse:!1,type:"GET"});try{"undefined"!=typeof updraft_plupload_config&&p()}catch(k){console.log(k)}if(jQuery("#updraftplus_httpget_go").click(function(t){t.preventDefault(),_(0)}),jQuery("#updraftplus_httpget_gocurl").click(function(t){t.preventDefault(),_(1)}),jQuery("#updraftplus_callwpaction_go").click(function(t){t.preventDefault(),params={wpaction:jQuery("#updraftplus_callwpaction").val()},updraft_send_command("call_wordpress_action",params,function(t){t.e?alert(t.e):t.s||(t.r?jQuery("#updraftplus_callwpaction_results").html(t.r):(console.log(t),alert(updraftlion.jsonnotunderstood)))})}),jQuery("#updraft_activejobs_table, #updraft-navtab-migrate-content").on("click",".updraft_jobinfo_delete",function(e){
4
  e.preventDefault();var a=jQuery(this).data("jobid");a?(t(this).addClass("disabled"),updraft_activejobs_delete(a)):console.log("UpdraftPlus: A stop job link was clicked, but the Job ID could not be found")}),jQuery("#updraft_activejobs_table, #updraft-navtab-backups-content .updraft_existing_backups, #updraft-backupnow-inpage-modal, #updraft-navtab-migrate-content").on("click",".updraft-log-link",function(t){t.preventDefault();var e=jQuery(this).data("fileid"),a=jQuery(this).data("jobid");e?updraft_popuplog(e):a?updraft_popuplog(a):console.log("UpdraftPlus: A log link was clicked, but the Job ID could not be found")}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("click","button.choose-components-button",function(t){var e=jQuery(this).data("entities"),a=jQuery(this).data("backup_timestamp"),r=jQuery(this).data("showdata");c(e,a,r)}),"initiate_restore"==f("udaction")){var Q=f("entities"),x=f("backup_timestamp"),O=f("showdata");c(Q,x,O)}var P={};P[updraftlion.uploadbutton]=function(){var t=jQuery("#updraft_upload_timestamp").val(),e=jQuery("#updraft_upload_nonce").val(),a="",r=!1;return jQuery(".updraft_remote_storage_destination").each(function(t){jQuery(this).is(":checked")&&(r=!0)}),r?(a=jQuery("input[name^='updraft_remote_storage_destination_']").serializeArray(),jQuery(this).dialog("close"),alert(updraftlion.local_upload_started),void updraft_send_command("upload_local_backup",{use_nonce:e,use_timestamp:t,services:a},function(t){})):void jQuery("#updraft-upload-modal-error").html(updraftlion.local_upload_error)},P[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-upload-modal").dialog({autoOpen:!1,height:322,width:430,modal:!0,buttons:P}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("click","button.updraft-upload-link",function(t){t.preventDefault();var e=jQuery(this).data("nonce").toString(),a=jQuery(this).data("key").toString(),r=jQuery(this).data("services").toString();e?m(a,e,r):console.log("UpdraftPlus: A upload link was clicked, but the Job ID could not be found")}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("click",".updraft-delete-link",function(t){t.preventDefault();var e=jQuery(this).data("hasremote"),a=jQuery(this).data("nonce").toString(),r=jQuery(this).data("key").toString();a?updraft_delete(r,a,e):console.log("UpdraftPlus: A delete link was clicked, but the Job ID could not be found")}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("click","button.updraft_download_button",function(t){t.preventDefault();var e="uddlstatus_",a=jQuery(this).data("backup_timestamp"),r=jQuery(this).data("what"),n=".ud_downloadstatus",o=jQuery(this).data("set_contents"),d=jQuery(this).data("prettydate"),u=!0;updraft_downloader(e,a,r,n,o,d,u)}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("dblclick",".updraft_existingbackup_date",function(t){t.preventDefault();var e=jQuery(this).data("rawbackup");null!=e&&""!=e&&updraft_html_modal(e,updraftlion.raw,780,500)})}),jQuery(document).ready(function(t){var e="#updraft-navtab-settings-content ";t(e+"#remote-storage-holder").on("click",".updraftvault_backtostart",function(a){a.preventDefault(),t(e+"#updraftvault_settings_showoptions").slideUp(),t(e+"#updraftvault_settings_connect").slideUp(),t(e+"#updraftvault_settings_connected").slideUp(),t(e+"#updraftvault_settings_default").slideDown()}),t(e).on("keypress","#updraftvault_settings_connect input",function(a){if(13==a.which)return t(e+"#updraftvault_connect_go").click(),!1}),t(e+"#remote-storage-holder").on("click","#updraftvault_recountquota",function(a){a.preventDefault(),t(e+"#updraftvault_recountquota").html(updraftlion.counting);try{updraft_send_command("vault_recountquota",{instance_id:t("#updraftvault_settings_connect").data("instance_id")},function(a){t(e+"#updraftvault_recountquota").html(updraftlion.updatequotacount),a.hasOwnProperty("html")&&(t(e+"#updraftvault_settings_connected").html(a.html),a.hasOwnProperty("connected")&&(a.connected?(t(e+"#updraftvault_settings_default").hide(),t(e+"#updraftvault_settings_connected").show()):(t(e+"#updraftvault_settings_connected").hide(),t(e+"#updraftvault_settings_default").show())))},{error_callback:function(a,r,n,o){if(t(e+"#updraftvault_recountquota").html(updraftlion.updatequotacount),"undefined"!=typeof o&&o.hasOwnProperty("fatal_error"))console.error(o.fatal_error_message),alert(o.fatal_error_message);else{var d="updraft_send_command: error: "+r+" ("+n+")";console.log(d),alert(d),console.log(a)}}})}catch(r){t(e+"#updraftvault_recountquota").html(updraftlion.updatequotacount),console.log(r)}}),t(e+"#remote-storage-holder").on("click","#updraftvault_disconnect",function(a){a.preventDefault(),t(e+"#updraftvault_disconnect").html(updraftlion.disconnecting);try{updraft_send_command("vault_disconnect",{immediate_echo:!0,instance_id:t("#updraftvault_settings_connect").data("instance_id")},function(a){t(e+"#updraftvault_disconnect").html(updraftlion.disconnect),a.hasOwnProperty("html")&&(t(e+"#updraftvault_settings_connected").html(a.html).slideUp(),t(e+"#updraftvault_settings_default").slideDown())},{error_callback:function(a,r,n,o){if(t(e+"#updraftvault_disconnect").html(updraftlion.disconnect),"undefined"!=typeof o&&o.hasOwnProperty("fatal_error"))console.error(o.fatal_error_message),alert(o.fatal_error_message);else{var d="updraft_send_command: error: "+r+" ("+n+")";console.log(d),alert(d),console.log(a)}}})}catch(r){t(e+"#updraftvault_disconnect").html(updraftlion.disconnect),console.log(r)}}),t(e+"#remote-storage-holder").on("click","#updraftvault_connect",function(a){a.preventDefault(),t(e+"#updraftvault_settings_default").slideUp(),t(e+"#updraftvault_settings_connect").slideDown()}),t(e+"#remote-storage-holder").on("click","#updraftvault_showoptions",function(a){a.preventDefault(),t(e+"#updraftvault_settings_default").slideUp(),t(e+"#updraftvault_settings_showoptions").slideDown()}),t("#remote-storage-holder").on("keyup",".updraftplus_onedrive_folder_input",function(e){var a=t(this).val(),r=t(this).closest("td");0==a.indexOf("https:")||0==a.indexOf("http:")?r.find(".onedrive_folder_error").length||r.append('<div class="onedrive_folder_error">'+updraftlion.onedrive_folder_url_warning+"</div>"):r.find(".onedrive_folder_error").slideUp("slow",function(){r.find(".onedrive_folder_error").remove()})}),t(e+"#remote-storage-holder").on("click","#updraftvault_connect_go",function(a){return t(e+"#updraftvault_connect_go").html(updraftlion.connecting),updraft_send_command("vault_connect",{email:t("#updraftvault_email").val(),pass:t("#updraftvault_pass").val(),instance_id:t("#updraftvault_settings_connect").data("instance_id")},function(a,r,n){t(e+"#updraftvault_connect_go").html(updraftlion.connect),a.hasOwnProperty("e")?(updraft_html_modal('<h4 style="margin-top:0px; padding-top:0px;">'+updraftlion.errornocolon+"</h4><p>"+a.e+"</p>",updraftlion.disconnect,400,250),a.hasOwnProperty("code")&&"no_quota"==a.code&&(t(e+"#updraftvault_settings_connect").slideUp(),t(e+"#updraftvault_settings_default").slideDown())):a.hasOwnProperty("connected")&&a.connected&&a.hasOwnProperty("html")?(t(e+"#updraftvault_settings_connect").slideUp(),t(e+"#updraftvault_settings_connected").html(a.html).slideDown()):(console.log(a),alert(updraftlion.unexpectedresponse+" "+n))},{error_callback:function(a,r,n,o){if(t(e+"#updraftvault_connect_go").html(updraftlion.connect),"undefined"!=typeof o&&o.hasOwnProperty("fatal_error"))console.error(o.fatal_error_message),alert(o.fatal_error_message);else{var d="updraft_send_command: error: "+r+" ("+n+")";console.log(d),alert(d),console.log(a)}}}),!1}),t("#updraft-iframe-modal").on("change","#always_keep_this_backup",function(){var e=t(this).data("backup_key"),a={backup_key:e,always_keep:t(this).is(":checked")?1:0};updraft_send_command("always_keep_this_backup",a,function(t){t.hasOwnProperty("rawbackup")&&(jQuery("#updraft-iframe-modal").dialog("close"),jQuery(".updraft_existing_backups_row_"+e+" .updraft_existingbackup_date").data("rawbackup",t.rawbackup),updraft_html_modal(jQuery(".updraft_existing_backups_row_"+e+" .updraft_existingbackup_date").data("rawbackup"),updraftlion.raw,780,500))})})}),jQuery(document).ready(function(t){function e(){var t=new plupload.Uploader(updraft_plupload_config2);t.bind("Init",function(t){var e=jQuery("#plupload-upload-ui2");t.features.dragdrop?(e.addClass("drag-drop"),jQuery("#drag-drop-area2").bind("dragover.wp-uploader",function(){e.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){e.removeClass("drag-over")})):(e.removeClass("drag-drop"),jQuery("#drag-drop-area2").unbind(".wp-uploader"))}),t.init(),t.bind("FilesAdded",function(e,a){plupload.each(a,function(e){return/^backup_([\-0-9]{15})_.*_([0-9a-f]{12})-db([0-9]+)?\.(gz\.crypt)$/i.test(e.name)?void jQuery("#filelist2").append('<div class="file" id="'+e.id+'"><b>'+e.name+"</b> (<span>"+plupload.formatSize(0)+"</span>/"+plupload.formatSize(e.size)+') <div class="fileprogress"></div></div>'):(alert(e.name+": "+updraftlion.notdba),void t.removeFile(e))}),e.refresh(),e.start()}),t.bind("UploadProgress",function(t,e){jQuery("#"+e.id+" .fileprogress").width(e.percent+"%"),jQuery("#"+e.id+" span").html(plupload.formatSize(parseInt(e.size*e.percent/100)))}),t.bind("Error",function(t,e){"-200"==e.code?err_makesure="\n"+updraftlion.makesure2:err_makesure=updraftlion.makesure,alert(updraftlion.uploaderr+" (code "+e.code+") : "+e.message+" "+err_makesure)}),t.bind("FileUploaded",function(t,e,a){"200"==a.status?"ERROR:"==a.response.substring(0,6)?alert(updraftlion.uploaderror+" "+a.response.substring(6)):"OK:"==a.response.substring(0,3)?(bkey=a.response.substring(3),jQuery("#"+e.id+" .fileprogress").hide(),jQuery("#"+e.id).append(updraftlion.uploaded+' <a href="?page=updraftplus&action=downloadfile&updraftplus_file='+bkey+"&decrypt_key="+encodeURIComponent(jQuery("#updraftplus_db_decrypt").val())+'">'+updraftlion.followlink+"</a> "+updraftlion.thiskey+" "+jQuery("#updraftplus_db_decrypt").val().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"))):alert(updraftlion.unknownresp+" "+a.response):alert(updraftlion.ukrespstatus+" "+a.code)})}try{"undefined"!=typeof updraft_plupload_config2&&e()}catch(a){console.log(a)}if(jQuery("#updraft-hidethis").remove(),Handlebars.registerHelper("ifeq",function(t,e,a){return"string"!=typeof t&&"undefined"!=typeof t&&null!==t&&(t=t.toString()),"string"!=typeof e&&"undefined"!=typeof e&&null!==e&&(e=e.toString()),t===e?a.fn(this):a.inverse(this)}),t("#remote-storage-holder").length){var r="";for(var n in updraftlion.remote_storage_templates)if("undefined"!=typeof updraftlion.remote_storage_options[n]&&1<Object.keys(updraftlion.remote_storage_options[n]).length){var o=Handlebars.compile(updraftlion.remote_storage_templates[n]),d=!0;for(var u in updraftlion.remote_storage_options[n])if("default"!==u){var s=updraftlion.remote_storage_options[n][u];s.first_instance=d,"undefined"==typeof s.instance_enabled&&(s.instance_enabled=1),r+=o(s),d=!1}}else r+=updraftlion.remote_storage_templates[n];t("#remote-storage-holder").append(r).ready(function(){t(".updraftplusmethod").not(".none").hide(),updraft_remote_storage_tabs_setup(),t("#remote-storage-holder .updraftplus_onedrive_folder_input").trigger("keyup")})}}),jQuery(document).ready(function(t){function e(){var t=r("object"),e=new Date;t=JSON.stringify({version:"1.12.40",epoch_date:e.getTime(),local_date:e.toLocaleString(),network_site_url:updraftlion.network_site_url,data:t});var a=document.body.appendChild(document.createElement("a"));a.setAttribute("download",updraftlion.export_settings_file_name),a.setAttribute("style","display:none;"),a.setAttribute("href","data:text/json;charset=UTF-8,"+encodeURIComponent(t)),a.click()}function a(e){var a,r=decodeURIComponent(e);try{a=ud_parse_json(r)}catch(o){return t.unblockUI(),jQuery("#import_settings").val(""),console.log(r),console.log(o),void alert(updraftlion.import_invalid_json_file)}if(window.confirm(updraftlion.importing_data_from+" "+r.network_site_url+"\n"+updraftlion.exported_on+" "+r.local_date+"\n"+updraftlion.continue_import)){var d=JSON.stringify(a.data);updraft_send_command("importsettings",{settings:d,updraftplus_version:updraftlion.updraftplus_version},function(e,a,r){var o=n(e);!o.hasOwnProperty("saved")||o.saved?(updraft_settings_form_changed=!1,location.replace(updraftlion.updraft_settings_url)):(t.unblockUI(),o.hasOwnProperty("error_message")&&o.error_message&&alert(o.error_message))},{action:"updraft_importsettings",nonce:updraftplus_settings_nonce,error_callback:function(e,a,r,n){if(t.unblockUI(),"undefined"!=typeof n&&n.hasOwnProperty("fatal_error"))console.error(n.fatal_error_message),alert(n.fatal_error_message);else{var o="updraft_send_command: error: "+a+" ("+r+")";console.log(o),console.log(e),alert(o)}}})}else t.unblockUI()}function r(e){var a="",e="undefined"==typeof e?"string":e;return"object"==e?a=t("#updraft-navtab-settings-content form input[name!='action'][name!='option_page'][name!='_wpnonce'][name!='_wp_http_referer'], #updraft-navtab-settings-content form textarea, #updraft-navtab-settings-content form select, #updraft-navtab-settings-content form input[type=checkbox]").serializeJSON({checkboxUncheckedValue:"0",useIntKeysAsArrayIndex:!0}):(a=t("#updraft-navtab-settings-content form input[name!='action'], #updraft-navtab-settings-content form textarea, #updraft-navtab-settings-content form select").serialize(),t.each(t("#updraft-navtab-settings-content form input[type=checkbox]").filter(function(e){return 0==t(this).prop("checked")}),function(e,r){var n="0";a+="&"+t(r).attr("name")+"="+n})),a}function n(e,a){try{var r=(e.messages,e.backup_dir.writable),n=e.backup_dir.message,o=e.backup_dir.button_title}catch(d){return console.log(d),console.log(a),alert(updraftlion.jsonnotunderstood),t.unblockUI(),{}}if(e.hasOwnProperty("changed")){console.log("UpdraftPlus: savesettings: some values were changed after being filtered"),console.log(e.changed);for(prop in e.changed)if("object"==typeof e.changed[prop])for(innerprop in e.changed[prop])t("[name='"+innerprop+"']").is(":checkbox")||t("[name='"+prop+"["+innerprop+"]']").val(e.changed[prop][innerprop]);else t("[name='"+prop+"']").is(":checkbox")||t("[name='"+prop+"']").val(e.changed[prop])}return t("#updraft_writable_mess").html(n),0==r?(t("#updraft-backupnow-button").attr("disabled","disabled"),t("#updraft-backupnow-button").attr("title",o),t(".backupdirrow").css("display","table-row")):(t("#updraft-backupnow-button").removeAttr("disabled"),t("#updraft-backupnow-button").removeAttr("title")),e.hasOwnProperty("updraft_include_more_path")&&t("#backupnow_includefiles_moreoptions").html(e.updraft_include_more_path),e.hasOwnProperty("backup_now_message")&&t("#backupnow_remote_container").html(e.backup_now_message),t(".updraftmessage").remove(),t("#updraft_backup_started").before(e.messages),console.log(e),t("#updraft-next-files-backup-inner").html(e.files_scheduled),t("#updraft-next-database-backup-inner").html(e.database_scheduled),e}function o(){var t=!1;if(jQuery("#updraft-authenticate-modal-innards").html(""),jQuery("div[class*=updraft_authenticate_] a.updraft_authlink").each(function(){jQuery("#updraft-authenticate-modal-innards").append('<p><a href="'+jQuery(this).attr("href")+'">'+jQuery(this).html()+"</a></p>"),t=!0}),t){var e={};e[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-authenticate-modal").dialog({autoOpen:!0,modal:!0,resizable:!1,draggable:!1,buttons:e,width:"auto"}).dialog("open")}}var d=new Image;d.src=updraftlion.ud_url+"/images/notices/updraft_logo.png",t("#updraft-navtab-settings-content input.updraft_include_entity").change(function(e){var a=t(this).attr("id"),r=t(this).is(":checked"),n="#backupnow_files_"+a;t(n).prop("checked",r)}),t("#updraftplus-settings-save").click(function(e){e.preventDefault(),t.blockUI({css:{width:"300px",border:"none","border-radius":"10px",left:"calc(50% - 150px)",padding:"20px"},message:'<div style="margin: 8px; font-size:150%;" class="updraft_saving_popup"><img src="'+updraftlion.ud_url+'/images/notices/updraft_logo.png" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.saving+"</div>"});var a=r("string");updraft_send_command("savesettings",{settings:a,updraftplus_version:updraftlion.updraftplus_version},function(e,a,r){n(e,r),t("#updraft-wrap .fade").delay(6e3).fadeOut(2e3),window.updraft_main_tour&&!window.updraft_main_tour.canceled?(window.updraft_main_tour.show("settings_saved"),o()):t("html, body").animate({scrollTop:t("#updraft-wrap").offset().top},1e3,function(){o()}),t.unblockUI()},{action:"updraft_savesettings",error_callback:function(e,a,r,n){if(t.unblockUI(),"undefined"!=typeof n&&n.hasOwnProperty("fatal_error"))console.error(n.fatal_error_message),alert(n.fatal_error_message);else{var o="updraft_send_command: error: "+a+" ("+r+")";console.log(o),alert(o),console.log(e)}},nonce:updraftplus_settings_nonce})}),t("#updraftplus-settings-export").click(function(){updraft_settings_form_changed&&alert(updraftlion.unsaved_settings_export),e()}),t("#updraftplus-settings-import").click(function(){t.blockUI({css:{width:"300px",border:"none","border-radius":"10px",left:"calc(50% - 150px)",padding:"20px"},message:'<div style="margin: 8px; font-size:150%;" class="updraft_saving_popup"><img src="'+updraftlion.ud_url+'/images/notices/updraft_logo.png" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.importing+"</div>"});var e=document.getElementById("import_settings");if(0==e.files.length)return alert(updraftlion.import_select_file),void t.unblockUI();var r=e.files[0],n=new FileReader;n.onload=function(){a(this.result)},n.readAsText(r)}),t(".udp-replace-with-iframe--js").on("click",function(e){e.preventDefault();var a=t(this).prop("href"),r=t('<iframe width="356" height="200" allowfullscreen webkitallowfullscreen mozallowfullscreen>').attr("src",a);r.insertAfter(t(this)),t(this).remove()})}),jQuery(document).ready(function(t){function e(e,n,o,d){if("function"==typeof o){var u=t(d).find("#updraftcentral_cloud_form"),s=u.find('.form_hidden_fields input[name="key"]');if(s.length&&""!==s.val())return void o.apply(this,[s.val()]);var i={where_send:"__updraftpluscom",key_description:"",key_size:e,mothership_firewalled:n};a(d),updraft_send_command("updraftcentral_create_key",i,function(e){r(d);try{if(i=ud_parse_json(e),i.hasOwnProperty("error"))return void console.log(i);i.hasOwnProperty("bundle")?o.apply(this,[i.bundle]):i.hasOwnProperty("r")?(t(d).find(".updraftcentral_cloud_notices").html(updraftlion.trouble_connecting).addClass("updraftcentral_cloud_info"),alert(i.r)):console.log(i)}catch(a){console.log(a)}},{json_parse:!1})}}function a(e){t(e).find(".updraftplus_spinner.spinner").addClass("visible")}function r(e){t(e).find(".updraftplus_spinner.spinner").removeClass("visible")}function n(e,n){a(n),updraft_send_command("process_updraftcentral_registration",e,function(a){r(n);try{if(e=ud_parse_json(a),e.hasOwnProperty("error")){var o=e.message,u=["existing_user_email","email_exists"];return-1!==t.inArray(e.code,u)&&(o=e.message+" "+updraftlion.perhaps_login),t(n).find(".updraftcentral_cloud_notices").html(o).addClass("updraftcentral_cloud_error"),t(n).find(".updraftcentral_cloud_notices a").attr("target","_blank"),void console.log(e)}"registered"===e.status&&(t(n).find(".updraftcentral_cloud_form_container").hide(),t(n).find(".updraftcentral-subheading").hide(),t(n).find(".updraftcentral_cloud_notices").removeClass("updraftcentral_cloud_error"),d(n,e,updraftlion.registration_successful))}catch(s){console.log(s)}},{json_parse:!1})}function o(e,o){a(o),updraft_send_command("process_updraftcentral_login",e,function(a){r(o);try{if(data=ud_parse_json(a),data.hasOwnProperty("error")){if("incorrect_password"===data.code&&(t(o).find(".updraftcentral_cloud_form_container .tfa_fields").hide(),t(o).find(".updraftcentral_cloud_form_container .non_tfa_fields").show(),t(o).find("input#two_factor_code").val(""),t(o).find("input#password").val("").focus()),"email_not_registered"!==data.code)return t(o).find(".updraftcentral_cloud_notices").html(data.message).addClass("updraftcentral_cloud_error"),t(o).find(".updraftcentral_cloud_notices a").attr("target","_blank"),void console.log(data);n(e,o)}data.hasOwnProperty("tfa_enabled")&&1==data.tfa_enabled&&(t(o).find(".updraftcentral_cloud_notices").html("").removeClass("updraftcentral_cloud_error"),t(o).find(".updraftcentral_cloud_form_container .non_tfa_fields").hide(),t(o).find(".updraftcentral_cloud_form_container .tfa_fields").show(),t(o).find("input#two_factor_code").focus()),"authenticated"===data.status&&(t(o).find(".updraftcentral_cloud_form_container").hide(),t(o).find(".updraftcentral_cloud_notices").removeClass("updraftcentral_cloud_error"),d(o,data,updraftlion.login_successful))}catch(u){console.log(u)}},{json_parse:!1})}function d(e,a,r){var n=t(e).find("form#updraftcentral_cloud_redirect_form");n.attr("action",a.redirect_url),n.attr("target","_blank"),"undefined"!=typeof a.redirect_token&&n.append('<input type="hidden" name="redirect_token" value="'+a.redirect_token+'">'),a.hasOwnProperty("keys_table")&&a.keys_table&&t("#updraftcentral_keys_content").html(a.keys_table),t(".updraftplus-addons-connect-to-udc").remove(),$redirect_lnk='<a href="'+updraftlion.current_clean_url+'" class="updraftcentral_cloud_redirect_link">'+updraftlion.updraftcentral_cloud+"</a>",$close_lnk='<a href="'+updraftlion.current_clean_url+'" class="updraftcentral_cloud_close_link">'+updraftlion.close_wizard+"</a>",t(e).find(".updraftcentral_cloud_notices").html(r.replace("%s",$redirect_lnk)+" "+$close_lnk+"<br/><br/>"+updraftlion.control_udc_connections),t(e).find(".updraftcentral_cloud_notices .updraftcentral_cloud_redirect_link").off("click").on("click",function(a){a.preventDefault(),n.submit(),t(e).find(".updraftcentral_cloud_notices .updraftcentral_cloud_close_link").trigger("click")}),t(e).find(".updraftcentral_cloud_notices .updraftcentral_cloud_close_link").off("click").on("click",function(a){a.preventDefault(),t(e).dialog("close"),t("#updraftcentral_cloud_connect_container").hide()})}function u(e){var a=t(e).find("#updraftcentral_cloud_form"),r=a.find("input#email").val(),n=a.find("input#password").val(),o=/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;t(e).find(".updraftcentral_cloud_notices").html("").removeClass("updraftcentral_cloud_error updraftcentral_cloud_info");var d=a.find('.updraftcentral-data-consent > input[name="i_consent"]').is(":checked");return d?0===r.length||0===n.length?(t(e).find(".updraftcentral_cloud_notices").html(updraftlion.username_password_required).addClass("updraftcentral_cloud_error"),!1):null!==r.match(o)||(t(e).find(".updraftcentral_cloud_notices").html(updraftlion.valid_email_required).addClass("updraftcentral_cloud_error"),!1):(t(e).find(".updraftcentral_cloud_notices").html(updraftlion.data_consent_required).addClass("updraftcentral_cloud_error"),!1)}function s(a,r){var d=t(a).find("#updraft_central_keysize").val(),u=t(a).find("#updraft_central_firewalled").is(":checked")?1:0;e(d,u,function(e){var d=t(a).find("#updraftcentral_cloud_form"),u=d.find('.form_hidden_fields input[name="key"]');0===u.length&&d.find(".form_hidden_fields").append('<input type="hidden" name="key" value="'+e+'">');var s=d.find("input").serialize(),i={form_data:s};"undefined"!=typeof r&&r?n(i,a):o(i,a)},a)}function i(){var e=t("#updraftcentral_cloud_login_form");if(e.length){t("#updraft-iframe-modal-innards").html(e.html());var a=t("#updraft-iframe-modal").dialog("option","title",updraftlion.updraftcentral_cloud).dialog("option","width",520).dialog("option","height",450).dialog("option","buttons",{});a.dialog("open");var r=a.find(".updraftcentral-data-consent"),n=r.find("input").attr("name");"undefined"!=typeof n&&n&&(r.find("input").attr("id",n),r.find("label").attr("for",n))}}jQuery("#updraft-restore-modal").on("change","#updraft_restorer_charset",function(e){if(t("#updraft_restorer_charset").length&&t("#updraft_restorer_collate").length&&t("#collate_change_on_charset_selection_data").length){var a=t("#updraft_restorer_charset").val();t("#updraft_restorer_collate option").show(),t("#updraft_restorer_collate option[data-charset!="+a+"]").hide(),updraft_send_command("collate_change_on_charset_selection",{collate_change_on_charset_selection_data:t("#collate_change_on_charset_selection_data").val(),updraft_restorer_charset:a,updraft_restorer_collate:t("#updraft_restorer_collate").val()},function(e){e.hasOwnProperty("is_action_required")&&1==e.is_action_required&&e.hasOwnProperty("similar_type_collate")&&t("#updraft_restorer_collate").val(e.similar_type_collate)})}}),t("#updraft-wrap #btn_cloud_connect").on("click",function(){i()}),t("#updraft-wrap a#self_hosted_connect").on("click",function(e){e.preventDefault(),t("h2.nav-tab-wrapper > a#updraft-navtab-expert").trigger("click"),t("div.advanced_settings_menu > #updraft_central").trigger("click")}),t("#updraft-iframe-modal").on("click","#updraftcentral_cloud_login",function(e){e.preventDefault();var a=t(this).closest("#updraft-iframe-modal");u(a)&&s(a)});var l={};t(document).on("heartbeat-send",function(t,e){l=updraft_poll_get_parameters(),e.updraftplus=l}),t(document).on("heartbeat-tick",function(t,e){if(null!==e&&e.hasOwnProperty("updraftplus")){var a=e.updraftplus,r=JSON.stringify(a);updraft_process_status_check(a,r,l)}})});
1
+ function updraft_send_command(t,e,a,r){default_options={json_parse:!0,alert_on_error:!0,action:"updraft_ajax",nonce:updraft_credentialtest_nonce,nonce_key:"nonce",timeout:null,async:!0,type:"POST"},"undefined"==typeof r&&(r={});for(var n in default_options)r.hasOwnProperty(n)||(r[n]=default_options[n]);var o={action:r.action,subaction:t};if(o[r.nonce_key]=r.nonce,"object"==typeof e)for(var d in e)o[d]=e[d];else o.action_data=e;var u={type:r.type,url:ajaxurl,data:o,success:function(t,e){if(r.json_parse){try{var n=ud_parse_json(t)}catch(o){return"function"==typeof r.error_callback?r.error_callback(t,o,502,n):(console.log(o),console.log(t),void(r.alert_on_error&&alert(updraftlion.unexpectedresponse+" "+t)))}if(n.hasOwnProperty("fatal_error"))return"function"==typeof r.error_callback?r.error_callback(t,e,500,n):(console.error(n.fatal_error_message),r.alert_on_error&&alert(n.fatal_error_message),!1);"function"==typeof a&&a(n,e,t)}else"function"==typeof a&&a(t,e)},error:function(t,e,a){"function"==typeof r.error_callback?r.error_callback(t,e,a):(console.log("updraft_send_command: error: "+e+" ("+a+")"),console.log(t))},dataType:"text",async:r.async};null!=r.timeout&&(u.timeout=r.timeout),jQuery.ajax(u)}function updraft_delete(t,e,a){jQuery("#updraft_delete_timestamp").val(t),jQuery("#updraft_delete_nonce").val(e),a?jQuery("#updraft-delete-remote-section, #updraft_delete_remote").removeAttr("disabled").show():jQuery("#updraft-delete-remote-section, #updraft_delete_remote").hide().attr("disabled","disabled"),t.indexOf(",")>-1?(jQuery("#updraft_delete_question_singular").hide(),jQuery("#updraft_delete_question_plural").show()):(jQuery("#updraft_delete_question_plural").hide(),jQuery("#updraft_delete_question_singular").show()),jQuery("#updraft-delete-modal").dialog("open")}function updraft_remote_storage_tab_activation(t){jQuery(".updraftplusmethod").hide(),jQuery(".remote-tab").data("active",!1),jQuery(".remote-tab").removeClass("nav-tab-active"),jQuery(".updraftplusmethod."+t).show(),jQuery(".remote-tab-"+t).data("active",!0),jQuery(".remote-tab-"+t).addClass("nav-tab-active")}function updraft_check_overduecrons(){updraft_send_command("check_overdue_crons",null,function(t){t&&t.hasOwnProperty("m")&&jQuery("#updraft-insert-admin-warning").html(t.m)},{alert_on_error:!1})}function updraft_remote_storage_tabs_setup(){var t=0,e=jQuery(".updraft_servicecheckbox:checked");jQuery(e).each(function(a,r){var n=jQuery(r).val();"updraft_servicecheckbox_none"!=jQuery(r).attr("id")&&t++,jQuery(".remote-tab-"+n).show(),a==jQuery(e).length-1&&updraft_remote_storage_tab_activation(n)}),t>0?(jQuery(".updraftplusmethod.none").hide(),jQuery("#remote_storage_tabs").show()):jQuery("#remote_storage_tabs").hide(),jQuery(document).keyup(function(t){if((32===t.keyCode||13===t.keyCode)&&jQuery(document.activeElement).is("input.labelauty + label")){var e=jQuery(document.activeElement).attr("for");e&&jQuery("#"+e).change()}}),jQuery(".updraft_servicecheckbox").change(function(){var e=jQuery(this).attr("id");if("updraft_servicecheckbox_"==e.substring(0,24)){var a=e.substring(24);null!=a&&""!=a&&(jQuery(this).is(":checked")?(t++,jQuery(".remote-tab-"+a).fadeIn(),updraft_remote_storage_tab_activation(a)):(t--,jQuery(".remote-tab-"+a).hide(),1==jQuery(".remote-tab-"+a).data("active")&&updraft_remote_storage_tab_activation(jQuery(".remote-tab:visible").last().attr("name"))))}t<=0?(jQuery(".updraftplusmethod.none").fadeIn(),jQuery("#remote_storage_tabs").hide()):(jQuery(".updraftplusmethod.none").hide(),jQuery("#remote_storage_tabs").show())}),jQuery(".updraft_servicecheckbox:not(.multi)").change(function(){var t=jQuery(this).attr("value");jQuery(this).is(":not(:checked)")?(jQuery(".updraftplusmethod."+t).hide(),jQuery(".updraftplusmethod.none").fadeIn()):jQuery(".updraft_servicecheckbox").not(this).prop("checked",!1)});var a=jQuery(".updraft_servicecheckbox");"function"==typeof a.labelauty&&a.labelauty()}function updraft_remote_storage_test(t,e,a){var r,n;a?(r=jQuery("#updraft-"+t+"-test-"+a),n=".updraftplusmethod."+t+"-"+a):(r=jQuery("#updraft-"+t+"-test"),n=".updraftplusmethod."+t);var o=r.data("method_label");r.html(updraftlion.testing_settings.replace("%s",o));var d={method:t};jQuery("#updraft-navtab-settings-content "+n+" input[data-updraft_settings_test], #updraft-navtab-settings-content .expertmode input[data-updraft_settings_test]").each(function(t,e){var a=jQuery(e).data("updraft_settings_test"),r=jQuery(e).attr("type");if(a){r||(console.log("UpdraftPlus: settings test input item with no type found"),console.log(e),r="text");var n=null;"checkbox"==r?n=jQuery(e).is(":checked")?1:0:"text"==r||"password"==r?n=jQuery(e).val():(console.log("UpdraftPlus: settings test input item with unrecognised type ("+r+") found"),console.log(e)),d[a]=n}}),jQuery("#updraft-navtab-settings-content "+n+" textarea[data-updraft_settings_test], #updraft-navtab-settings-content "+n+" select[data-updraft_settings_test]").each(function(t,e){var a=jQuery(e).data("updraft_settings_test");d[a]=jQuery(e).val()}),updraft_send_command("test_storage_settings",d,function(t,a){r.html(updraftlion.test_settings.replace("%s",o)),"undefined"!=typeof e&&0!=e&&(e=e.call(this,t,a,d)),"undefined"!=typeof e&&!1===e&&(alert(updraftlion.settings_test_result.replace("%s",o)+" "+t.output),t.hasOwnProperty("data")&&console.log(t.data))},{error_callback:function(t,e,a,n){if(r.html(updraftlion.test_settings.replace("%s",o)),"undefined"!=typeof n&&n.hasOwnProperty("fatal_error"))console.error(n.fatal_error_message),alert(n.fatal_error_message);else{var d="updraft_send_command: error: "+e+" ("+a+")";console.log(d),alert(d),console.log(t)}}})}function backupnow_whichfiles_checked(t){return jQuery('#backupnow_includefiles_moreoptions input[type="checkbox"]').each(function(e){if(jQuery(this).is(":checked")){var a=jQuery(this).attr("name");if("updraft_include_"==a.substring(0,16)){var r=a.substring(16);""!=t&&(t+=","),t+=r}}}),t}function backupnow_whichtables_checked(t){var e=!1;return jQuery('#backupnow_database_moreoptions input[type="checkbox"]').each(function(t){if(!jQuery(this).is(":checked"))return void(e=!0)}),t=jQuery("input[name^='updraft_include_tables_']").serializeArray(),!e||t}function updraft_deleteallselected(){var t=0,e="",a="",r=0;jQuery("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row.backuprowselected").each(function(n){t++;var o=jQuery(this).data("nonce");a&&(a+=","),a+=o;var d=jQuery(this).data("key");e&&(e+=","),e+=d;var u=jQuery(this).find(".updraftplus-remove").data("hasremote");u&&r++}),updraft_delete(e,a,r)}function updraft_open_main_tab(t){updraftlion.main_tabs_keys.forEach(function(e){t==e?(jQuery("#updraft-navtab-"+e+"-content").show(),jQuery("#updraft-navtab-"+e).addClass("nav-tab-active")):(jQuery("#updraft-navtab-"+e+"-content").hide(),jQuery("#updraft-navtab-"+e).removeClass("nav-tab-active")),updraft_console_focussed_tab=t})}function updraft_openrestorepanel(t){updraft_historytimertoggle(t),updraft_open_main_tab("backups")}function updraft_delete_old_dirs(){return!0}function updraft_initiate_restore(t){jQuery('#updraft-navtab-backups-content .updraft_existing_backups button[data-backup_timestamp="'+t+'"]').click()}function updraft_restore_setoptions(t){var e=0;jQuery('input[name="updraft_restore[]"]').each(function(a,r){var n=jQuery(r).val(),o=n+"=([0-9,]+)",d=new RegExp(o),u=t.match(d);u?(jQuery(r).removeAttr("disabled").data("howmany",u[1]).parent().show(),e++,"db"==n&&(e+=4.5),jQuery(r).is(":checked")&&jQuery("#updraft_restorer_"+n+"options").show()):jQuery(r).attr("disabled","disabled").parent().hide()});var a=t.match(/dbcrypted=1/);a?(jQuery("#updraft_restore_db").data("encrypted",1),jQuery(".updraft_restore_crypteddb").show()):(jQuery("#updraft_restore_db").data("encrypted",0),jQuery(".updraft_restore_crypteddb").hide()),jQuery("#updraft_restore_db").trigger("change");var r=t.match(/meta_foreign=([12])/);r?jQuery("#updraft_restore_meta_foreign").val(r[1]):jQuery("#updraft_restore_meta_foreign").val("0");var n=336+20*e;jQuery("#updraft-restore-modal").dialog("option","height",n)}function updraft_backup_dialog_open(t){t="undefined"==typeof t?"new":t,0==jQuery("#updraftplus_incremental_backup_link").data("incremental")&&"incremental"==t?(jQuery("#updraft-backupnow-modal .incremental-free-only").show(),t="new"):jQuery("#updraft-backupnow-modal .incremental-backups-only").hide(),jQuery("#backupnow_includefiles_moreoptions").hide(),updraft_settings_form_changed&&!window.confirm(updraftlion.unsavedsettingsbackup)||(jQuery("#backupnow_label").val(""),"incremental"==t?(update_file_entities_checkboxes(!0,impossible_increment_entities),jQuery("#backupnow_includedb").prop("checked",!1),jQuery("#backupnow_includefiles").prop("checked",!0),jQuery("#backupnow_includefiles_label").text(updraftlion.files_incremental_backup),jQuery("#updraft-backupnow-modal .new-backups-only").hide(),jQuery("#updraft-backupnow-modal .incremental-backups-only").show()):(update_file_entities_checkboxes(!1,impossible_increment_entities),jQuery("#backupnow_includedb").prop("checked",!0),jQuery("#backupnow_includefiles_label").text(updraftlion.files_new_backup),jQuery("#updraft-backupnow-modal .new-backups-only").show(),jQuery("#updraft-backupnow-modal .incremental-backups-only").hide()),jQuery("#updraft-backupnow-modal").data("backup-type",t),jQuery("#updraft-backupnow-modal").dialog("open"))}function update_file_entities_checkboxes(t,e){t?jQuery(e).each(function(t,e){jQuery("#backupnow_files_updraft_include_"+e).prop("checked",!1),jQuery("#backupnow_files_updraft_include_"+e).prop("disabled",!0)}):jQuery('#backupnow_includefiles_moreoptions input[type="checkbox"]').each(function(t){var e=jQuery(this).attr("name");if("updraft_include_"==e.substring(0,16)){var a=e.substring(16);jQuery("#backupnow_files_updraft_include_"+a).prop("disabled",!1),jQuery(this).is(":checked")&&jQuery("#backupnow_files_updraft_include_"+a).prop("checked",!0)}})}function updraft_check_page_visibility(t){"hidden"==document.visibilityState?updraft_page_is_visible=0:(updraft_page_is_visible=1,1!==t&&jQuery("#updraft-navtab-backups-content").length&&updraft_activejobs_update(!0))}function setup_migrate_tabs(){jQuery("#updraft_migrate .updraft_migrate_widget_module_content").each(function(t,e){var a=jQuery(e).find("h3").first().html(),r=jQuery(".updraft_migrate_intro"),n=jQuery('<button class="button button-primary button-hero" />').html(a).appendTo(r);n.on("click",function(t){t.preventDefault(),jQuery(e).show(),r.hide()})})}function updraft_backupnow_inpage_go(t,e,a,r,n,o,d){r="undefined"==typeof r?0:r,n="undefined"==typeof n?0:n,o="undefined"==typeof o?0:o,d="undefined"==typeof d?updraftlion.automaticbackupbeforeupdate:d,updraft_console_focussed_tab="backups",updraft_inpage_success_callback=t,updraft_activejobs_update_timer=setInterval(function(){updraft_activejobs_update(!1)},1250);var u={},s=jQuery("#updraft-backupnow-inpage-modal").length;s&&jQuery("#updraft-backupnow-inpage-modal").dialog("option","buttons",u),jQuery("#updraft_inpage_prebackup").hide(),s&&jQuery("#updraft-backupnow-inpage-modal").dialog("open"),jQuery("#updraft_inpage_backup").show(),updraft_activejobslist_backupnownonce_only=1,updraft_inpage_hasbegun=0,updraft_backupnow_go(r,n,o,e,a,d,"")}function updraft_get_downloaders(){var t="";return jQuery(".ud_downloadstatus .updraftplus_downloader, #ud_downloadstatus2 .updraftplus_downloader").each(function(e,a){var r=jQuery(a).data("downloaderfor");"object"==typeof r&&(""!=t&&(t+=":"),t=t+r.base+","+r.nonce+","+r.what+","+r.index)}),t}function updraft_poll_get_parameters(){var t={downloaders:updraft_get_downloaders()};try{jQuery("#updraft-poplog").dialog("isOpen")&&(t.log_fetch=1,t.log_nonce=updraft_poplog_log_nonce,t.log_pointer=updraft_poplog_log_pointer)}catch(e){console.log(e)}return updraft_activejobslist_backupnownonce_only&&"undefined"!=typeof updraft_backupnow_nonce&&""!=updraft_backupnow_nonce&&(t.thisjobonly=updraft_backupnow_nonce),t}function updraft_activejobs_update(t){var e=(jQuery,(new Date).getTime());if(!(0==t&&e<updraft_activejobs_nextupdate)){updraft_activejobs_nextupdate=e+5500;var a=updraft_poll_get_parameters();updraft_send_command("activejobs_list",a,function(t,e,r){updraft_process_status_check(t,r,a)},{type:"GET",error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),!0===updraftplus_activejobs_list_fatal_error_alert&&(updraftplus_activejobs_list_fatal_error_alert=!1,alert(this.alert_done+" "+r.fatal_error_message));else{var n=e==a?a:a+" ("+e+")";console.error(n),console.log(t)}return!1}})}}function updraft_show_success_modal(t){"string"==typeof t&&(t={message:t});var e=jQuery.extend({icon:"yes",close:updraftlion.close,message:"",classes:"success"},t);jQuery.blockUI({css:{width:"300px",border:"none","border-radius":"10px",left:"calc(50% - 150px)"},message:'<div class="updraft_success_popup '+e.classes+'"><span class="dashicons dashicons-'+e.icon+'"></span><div class="updraft_success_popup--message">'+e.message+'</div><button class="button updraft-close-overlay"><span class="dashicons dashicons-no-alt"></span>'+e.close+"</button></div>"}),setTimeout(jQuery.unblockUI,5e3),jQuery(".blockUI .updraft-close-overlay").on("click",function(){jQuery.unblockUI()})}function updraft_popuplog(t){var e=updraftlion.loading_log_file;t&&(e+=" (log."+t+".txt)"),jQuery("#updraft-poplog").dialog("option","title",e),jQuery("#updraft-poplog-content").html("<em>"+e+" ...</em> "),jQuery("#updraft-poplog").dialog("open"),updraft_send_command("get_log",t,function(t){updraft_poplog_log_pointer=t.pointer,updraft_poplog_log_nonce=t.nonce;var e="?page=updraftplus&action=downloadlog&force_download=1&updraftplus_backup_nonce="+t.nonce;jQuery("#updraft-poplog-content").html(t.log);var a={};a[updraftlion.downloadlogfile]=function(){window.location.href=e},a[updraftlion.close]=function(){jQuery(this).dialog("close")},jQuery("#updraft-poplog").dialog("option","buttons",a),jQuery("#updraft-poplog").dialog("option","title","log."+t.nonce+".txt"),updraft_poplog_lastscroll=-1},{type:"GET",timeout:6e4,error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft-poplog-content").append(r.fatal_error_message);else{var n=e==a?a:a+" ("+e+")";jQuery("#updraft-poplog-content").append(n),console.log(t)}}})}function updraft_showlastbackup(){updraft_send_command("get_fragment","last_backup_html",function(t){response=t.output,lastbackup_laststatus==response?setTimeout(function(){updraft_showlastbackup()},7e3):jQuery("#updraft_last_backup").html(response),lastbackup_laststatus=response},{type:"GET"})}function updraft_historytimertoggle(t){updraft_historytimer&&1!=t?(clearTimeout(updraft_historytimer),updraft_historytimer=0):(updraft_updatehistory(0,0),updraft_historytimer=setInterval(function(){updraft_updatehistory(0,0)},3e4),calculated_diskspace||(updraftplus_diskspace(),calculated_diskspace=1))}function updraft_updatehistory(t,e,a){"undefined"==typeof a&&(a=jQuery("#updraft_debug_mode").is(":checked")?1:0);var r=Math.round((new Date).getTime()/1e3);if(1==t||1==e)updraft_historytimer_notbefore=r+30;else if(r<updraft_historytimer_notbefore)return void console.log("Update history skipped: "+r.toString()+" < "+updraft_historytimer_notbefore.toString());1==t&&(1==e?(updraft_history_lastchecksum=!1,jQuery("#updraft-navtab-backups-content .updraft_existing_backups").html('<p style="text-align:center;"><em>'+updraftlion.rescanningremote+"</em></p>")):(updraft_history_lastchecksum=!1,jQuery("#updraft-navtab-backups-content .updraft_existing_backups").html('<p style="text-align:center;"><em>'+updraftlion.rescanning+"</em></p>")));var n=e?"remotescan":!!t&&"rescan",o={operation:n,debug:a};updraft_send_command("rescan",o,function(t){if(t.hasOwnProperty("logs_exist")&&t.logs_exist&&jQuery("#updraft_lastlogmessagerow .updraft-log-link").show(),t.hasOwnProperty("migrate_tab")&&t.migrate_tab&&(jQuery("#updraft-navtab-migrate").hasClass("nav-tab-active")||(jQuery("#updraft_migrate_tab_alt").html(""),jQuery("#updraft_migrate").replaceWith(jQuery(t.migrate_tab).find("#updraft_migrate")),setup_migrate_tabs())),t.hasOwnProperty("web_server_disk_space")&&(""==t.web_server_disk_space?(console.log("UpdraftPlus: web_server_disk_space is empty"),jQuery("#updraft-navtab-backups-content .updraft-server-disk-space").length&&jQuery("#updraft-navtab-backups-content .updraft-server-disk-space").slideUp("slow",function(){jQuery(this).remove()})):jQuery("#updraft-navtab-backups-content .updraft-server-disk-space").length?jQuery("#updraft-navtab-backups-content .updraft-server-disk-space").replaceWith(t.web_server_disk_space):jQuery("#updraft-navtab-backups-content .updraft-disk-space-actions").prepend(t.web_server_disk_space)),update_backupnow_modal(t),t.hasOwnProperty("backupnow_file_entities")&&(impossible_increment_entities=t.backupnow_file_entities),null!=t.n&&jQuery("#updraft-existing-backups-heading").html(t.n),null!=t.t){if(null!=t.cksum){if(t.cksum==updraft_history_lastchecksum)return;updraft_history_lastchecksum=t.cksum}jQuery("#updraft-navtab-backups-content .updraft_existing_backups").html(t.t),updraft_backups_selection.checkSelectionStatus(),t.data&&console.log(t.data)}})}function update_backupnow_modal(t){t.hasOwnProperty("modal_afterfileoptions")&&jQuery(".backupnow_modal_afterfileoptions").html(t.modal_afterfileoptions)}function updraft_exclude_entity_update(t){var e=[];jQuery("#updraft_include_"+t+"_exclude_container .updraft_exclude_entity_wrapper .updraft_exclude_entity_field").each(function(){var t=jQuery.trim(jQuery(this).data("val"));""!=t&&e.push(t)}),jQuery("#updraft_include_"+t+"_exclude").val(e.join(","))}function updraft_is_unique_exclude_rule(t,e){return existing_exclude_rules_str=jQuery("#updraft_include_"+e+"_exclude").val(),existing_exclude_rules=existing_exclude_rules_str.split(","),!(jQuery.inArray(t,existing_exclude_rules)>-1)||(alert(updraftlion.duplicate_exclude_rule_error_msg),!1)}function updraft_intervals_monthly_or_not(t,e){var a="#updraft-navtab-settings-content #"+t,r=jQuery(a+" option").length,n="monthly"==e,o=!1;if(r>10&&(o=!0),n||o){if(n&&o)return void("monthly"==e&&(jQuery(".updraft_monthly_extra_words_"+t).remove(),jQuery(a).before('<span class="updraft_monthly_extra_words_'+t+'">'+updraftlion.day+" </span>").after('<span class="updraft_monthly_extra_words_'+t+'"> '+updraftlion.inthemonth+" </span>")));if(jQuery(".updraft_monthly_extra_words_"+t).remove(),n){updraft_interval_week_val=jQuery(a+" option:selected").val(),jQuery(a).html(updraftlion.mdayselector).before('<span class="updraft_monthly_extra_words_'+t+'">'+updraftlion.day+" </span>").after('<span class="updraft_monthly_extra_words_'+t+'"> '+updraftlion.inthemonth+" </span>");var d=updraft_interval_month_val===!1?1:updraft_interval_month_val;d-=1,jQuery(a+" option:eq("+d+")").prop("selected",!0)}else{updraft_interval_month_val=jQuery(a+" option:selected").val(),jQuery(a).html(updraftlion.dayselector);var u=updraft_interval_week_val===!1?1:updraft_interval_week_val;jQuery(a+" option:eq("+u+")").prop("selected",!0)}}}function updraft_check_same_times(){var t=0,e=jQuery("#updraft-navtab-settings-content .updraft_interval").val();"manual"==e?jQuery("#updraft-navtab-settings-content .updraft_files_timings").hide():jQuery("#updraft-navtab-settings-content .updraft_files_timings").show(),"weekly"==e||"fortnightly"==e||"monthly"==e?(updraft_intervals_monthly_or_not("updraft_startday_files",e),jQuery("#updraft-navtab-settings-content #updraft_startday_files").show()):(jQuery(".updraft_monthly_extra_words_updraft_startday_files").remove(),jQuery("#updraft-navtab-settings-content #updraft_startday_files").hide());var a=jQuery("#updraft-navtab-settings-content .updraft_interval_database").val();"manual"==a&&(t=1,jQuery("#updraft-navtab-settings-content .updraft_db_timings").hide()),"weekly"==a||"fortnightly"==a||"monthly"==a?(updraft_intervals_monthly_or_not("updraft_startday_db",a),jQuery("#updraft-navtab-settings-content #updraft_startday_db").show()):(jQuery(".updraft_monthly_extra_words_updraft_startday_db").remove(),jQuery("#updraft-navtab-settings-content #updraft_startday_db").hide()),a==e?(jQuery("#updraft-navtab-settings-content .updraft_db_timings").hide(),0==t?jQuery("#updraft-navtab-settings-content .updraft_same_schedules_message").show():jQuery("#updraft-navtab-settings-content .updraft_same_schedules_message").hide()):(jQuery("#updraft-navtab-settings-content .updraft_same_schedules_message").hide(),0==t&&jQuery("#updraft-navtab-settings-content .updraft_db_timings").show())}function updraft_activejobs_delete(t){updraft_aborted_jobs[t]=1,jQuery("#updraft-jobid-"+t).closest(".updraft_row").addClass("deleting"),updraft_send_command("activejobs_delete",t,function(e){var a=jQuery("#updraft-jobid-"+t).closest(".updraft_row");a.addClass("deleting"),"Y"==e.ok?(jQuery("#updraft-jobid-"+t).html(e.m),a.remove(),jQuery("#updraft-backupnow-inpage-modal").dialog("isOpen")&&jQuery("#updraft-backupnow-inpage-modal").dialog("close"),updraft_show_success_modal({message:updraft_active_job_is_clone(t)?updraftlion.clone_backup_aborted:updraftlion.backup_aborted,icon:"no-alt",classes:"warning"})):"N"==e.ok?(a.removeClass("deleting"),alert(e.m)):(a.removeClass("deleting"),alert(updraftlion.unexpectedresponse),console.log(e))})}function updraftplus_diskspace_entity(t){jQuery("#updraft_diskspaceused_"+t).html("<em>"+updraftlion.calculating+"</em>"),updraft_send_command("get_fragment",{fragment:"disk_usage",data:t},function(e){jQuery("#updraft_diskspaceused_"+t).html(e.output)},{type:"GET"})}function updraft_active_job_is_clone(t){return updraft_clone_jobs.filter(function(e){return e==t}).length}function updraft_iframe_modal(t,e){var a=780,r=500;jQuery("#updraft-iframe-modal-innards").html('<iframe width="100%" height="430px" src="'+ajaxurl+"?action=updraft_ajax&subaction="+t+"&nonce="+updraft_credentialtest_nonce+'"></iframe>'),jQuery("#updraft-iframe-modal").dialog("option","title",e).dialog("option","width",a).dialog("option","height",r).dialog("open")}function updraft_html_modal(t,e,a,r){jQuery("#updraft-iframe-modal-innards").html(t);var n={};a<450&&(n[updraftlion.close]=function(){jQuery(this).dialog("close")}),jQuery("#updraft-iframe-modal").dialog("option","title",e).dialog("option","width",a).dialog("option","height",r).dialog("option","buttons",n).dialog("open")}function updraftplus_diskspace(){jQuery("#updraft-navtab-backups-content .updraft_diskspaceused").html("<em>"+updraftlion.calculating+"</em>"),updraft_send_command("get_fragment",{fragment:"disk_usage",data:"updraft"},function(t){jQuery("#updraft-navtab-backups-content .updraft_diskspaceused").html(t.output)},{type:"GET"})}function updraftplus_deletefromserver(t,e,a){a||(a=0);var r={stage:"delete",timestamp:t,type:e,findex:a};updraft_send_command("updraft_download_backup",r,null,{action:"updraft_download_backup",nonce:updraft_download_nonce,nonce_key:"_wpnonce"})}function updraftplus_downloadstage2(t,e,a){location.href=ajaxurl+"?_wpnonce="+updraft_download_nonce+"&timestamp="+t+"&type="+e+"&stage=2&findex="+a+"&action=updraft_download_backup"}function updraftplus_show_contents(t,e,a){var r='<div id="updraft_zip_files_container" class="hidden-in-updraftcentral" style="clear:left;"><div id="updraft_zip_info_container" class="updraft_jstree_info_container"><p><span id="updraft_zip_path_text">'+updraftlion.zip_file_contents_info+'</span> - <span id="updraft_zip_size_text"></span></p>'+updraftlion.browse_download_link+'</div><div id="updraft_zip_files_jstree_container"><input type="search" id="zip_files_jstree_search" name="zip_files_jstree_search" placeholder="'+updraftlion.search+'"><div id="updraft_zip_files_jstree" class="updraft_jstree"></div></div></div>';updraft_html_modal(r,updraftlion.zip_file_contents,780,500),zip_files_jstree("zipbrowser",t,e,a)}function zip_files_jstree(t,e,a,r){jQuery("#updraft_zip_files_jstree").jstree({core:{multiple:!1,data:function(n,o){updraft_send_command("get_jstree_directory_nodes",{entity:t,node:n,timestamp:e,type:a,findex:r},function(t){t.hasOwnProperty("error")?alert(t.error):o.call(this,t.nodes)},{error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft_zip_files_jstree").html('<p style="color:red; margin: 5px;">'+r.fatal_error_message+"</p>"),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";jQuery("#updraft_zip_files_jstree").html('<p style="color:red; margin: 5px;">'+n+"</p>"),console.log(n),alert(n),console.log(t)}}})},error:function(t){alert(t),console.log(t)}},search:{show_only_matches:!0},plugins:["search","sort"]}),jQuery("#updraft_zip_files_jstree").on("ready.jstree",function(t,e){jQuery("#updraft-iframe-modal").dialog("option","title",updraftlion.zip_file_contents+": "+e.instance.get_node("#").children[0])});var n=!1;jQuery("#zip_files_jstree_search").keyup(function(){n&&clearTimeout(n),n=setTimeout(function(){var t=jQuery("#zip_files_jstree_search").val();jQuery("#updraft_zip_files_jstree").jstree(!0).search(t)},250)}),jQuery("#updraft_zip_files_jstree").on("changed.jstree",function(t,e){jQuery("#updraft_zip_path_text").text(e.node.li_attr.path),e.node.li_attr.size?(jQuery("#updraft_zip_size_text").text(e.node.li_attr.size),jQuery("#updraft_zip_download_item").show()):(jQuery("#updraft_zip_size_text").text(""),jQuery("#updraft_zip_download_item").hide())}),jQuery("#updraft_zip_download_item").click(function(t){t.preventDefault();var n=jQuery("#updraft_zip_path_text").text();updraft_send_command("get_zipfile_download",{path:n,timestamp:e,type:a,findex:r},function(t){t.hasOwnProperty("error")?alert(t.error):t.hasOwnProperty("path")?location.href=ajaxurl+"?_wpnonce="+updraft_download_nonce+"&timestamp="+e+"&type="+a+"&stage=2&findex="+r+"&filepath="+t.path+"&action=updraft_download_backup":alert(updraftlion.download_timeout)},{error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";console.log(n),alert(n),console.log(t)}}})})}function remove_updraft_downloader(t,e){jQuery(t).closest(".updraftplus_downloader").fadeOut().remove(),0==jQuery(".updraftplus_downloader_container_"+e+" .updraftplus_downloader").length&&jQuery(".updraftplus_downloader_container_"+e).remove()}function updraft_downloader(t,e,a,r,n,o,d){"string"!=typeof n&&(n=n.toString()),jQuery(".ud_downloadstatus").show();var n=n.split(","),u=o?o:e,s=jQuery("#updraft-navtab-backups-content .uddownloadform_"+a+"_"+e+"_"+n[0]).data("wp_nonce").toString();jQuery(".updraftplus_downloader_container_"+a).length||(jQuery(r).append('<div class="updraftplus_downloader_container_'+a+' postbox"></div>'),jQuery(".updraftplus_downloader_container_"+a).append('<strong style="clear:left; padding: 8px; margin-top: 4px;">'+updraftlion.download+" "+a+" ("+u+"):</strong>"));for(var i=0;i<n.length;i++){var l=t+e+"_"+a+"_"+n[i],p="."+l,_=parseInt(n[i]);_++;var c=0==n[i]?"":" ("+_+")";jQuery(p).length||(jQuery(".updraftplus_downloader_container_"+a).append('<div style="clear:left; padding: 8px; margin-top: 4px;" class="'+l+' updraftplus_downloader"><button onclick="remove_updraft_downloader(this, \''+a+'\');" type="button" style="float:right; margin-bottom: 8px;" class="ud_downloadstatus__close" aria-label="Close"><span class="dashicons dashicons-no-alt"></span></button><strong>'+a+c+'</strong>:<div class="raw">'+updraftlion.begunlooking+'</div><div class="file '+l+'_st"><div class="dlfileprogress" style="width: 0;"></div></div></div>'),jQuery(p).data("downloaderfor",{base:t,nonce:e,what:a,index:n[i]}),setTimeout(function(){updraft_activejobs_update(!0)},1500)),jQuery(p).data("lasttimebegan",(new Date).getTime())}d=!!d;var f={type:a,timestamp:e,findex:n},m={action:"updraft_download_backup",nonce_key:"_wpnonce",nonce:s,timeout:1e4,async:d};return updraft_send_command("updraft_download_backup",f,function(t){},m),!1}function ud_parse_json(t){t.charAt(0),t.charAt(t.length-1);try{var e=JSON.parse(t);return e}catch(a){console.log("UpdraftPlus: Exception when trying to parse JSON (1) - will attempt to fix/re-parse"),console.log(t)}var r=t.indexOf("{"),n=t.lastIndexOf("}");if(r>-1&&n>-1){var o=t.slice(r,n+1);try{var d=JSON.parse(o);return console.log("UpdraftPlus: JSON re-parse successful"),d}catch(a){throw console.log("UpdraftPlus: Exception when trying to parse JSON (2)"),a}}throw"UpdraftPlus: could not parse the JSON"}function updraft_restorer_checkstage2(t){var e=jQuery("#ud_downloadstatus2 .file").length;return e>0?void(t&&alert(updraftlion.stilldownloading)):(jQuery("#updraft-restore-modal-stage2a").html(updraftlion.processing),void updraft_send_command("restore_alldownloaded",{timestamp:jQuery("#updraft_restore_timestamp").val(),restoreopts:jQuery("#updraft_restore_form").serialize()},function(t,e,a){var r=null;jQuery("#updraft_restorer_restore_options").val("");try{if(null==t)return void jQuery("#updraft-restore-modal-stage2a").html(updraftlion.emptyresponse);var n=t.m;if(""!=t.w&&(n=n+"<p><strong>"+updraftlion.warnings+"</strong><br>"+t.w+"</p>"),""!=t.e?n=n+"<p><strong>"+updraftlion.errors+"</strong><br>"+t.e+"</p>":updraft_restore_stage=3,t.hasOwnProperty("i")){try{if(r=ud_parse_json(t.i),r.hasOwnProperty("addui")){console.log("Further UI options are being displayed");var o=r.addui;n+='<div id="updraft_restoreoptions_ui" style="clear:left; padding-top:10px;">'+o+"</div>","object"==typeof JSON&&"function"==typeof JSON.stringify&&(delete r.addui,t.i=JSON.stringify(r))}}catch(d){console.log(d),console.log(t)}jQuery("#updraft_restorer_backup_info").val(t.i)}else jQuery("#updraft_restorer_backup_info").val();jQuery("#updraft-restore-modal-stage2a").html(n),jQuery("#updraft-restore-modal-stage2a .updraft_select2").length>0&&jQuery("#updraft-restore-modal-stage2a .updraft_select2").select2()}catch(d){console.log(a),console.log(d),jQuery("#updraft-restore-modal-stage2a").text(updraftlion.jsonnotunderstood+" "+updraftlion.errordata+": "+a).html()}},{error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft-restore-modal-stage2a").html('<p style="color: red;">'+r.fatal_error_message+"</p>"),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";jQuery("#updraft-restore-modal-stage2a").html('<p style="color: red;">'+n+"</p>"),console.log(n),alert(n),console.log(t)}}}))}function updraft_downloader_status(t,e,a,r){}function updraft_downloader_status_update(t,e){var a=0;return jQuery(t).each(function(t,r){if(""!=r.base){var n=r.base+r.timestamp+"_"+r.what+"_"+r.findex,o="."+n;if(null!=r.e)jQuery(o+" .raw").html("<strong>"+updraftlion.error+"</strong> "+r.e),console.log(r);else if(null!=r.p){if(jQuery(o+"_st .dlfileprogress").width(r.p+"%"),null!=r.a&&r.a>0){var d=(new Date).getTime(),u=jQuery(o).data("lasttimebegan"),s=d-u;if(r.a>90&&s>6e4){console.log(r.timestamp+" "+r.what+" "+r.findex+": restarting download: file_age="+r.a+", sincelastrestart_ms="+s),jQuery(o).data("lasttimebegan",(new Date).getTime());var i=jQuery("#updraft-navtab-backups-content .uddownloadform_"+r.what+"_"+r.timestamp+"_"+r.findex),l={type:r.what,timestamp:r.timestamp,findex:r.findex},p={action:"updraft_download_backup",nonce_key:"_wpnonce",nonce:i.data("wp_nonce").toString(),timeout:1e4};updraft_send_command("updraft_download_backup",l,function(t){},p),jQuery(o).data("lasttimebegan",(new Date).getTime())}}if(null!=r.m)if(r.p>=100&&"udrestoredlstatus_"==r.base)jQuery(o+" .raw").html(r.m),jQuery(o).fadeOut("slow",function(){remove_updraft_downloader(this,r.what),updraft_restorer_checkstage2(0)});else if(r.p<100||"uddlstatus_"!=r.base)jQuery(o+" .raw").html(r.m);else{var _=updraftlion.fileready+" "+updraftlion.actions+': \t\t\t\t<button class="button" type="button" onclick="updraftplus_downloadstage2(\''+r.timestamp+"', '"+r.what+"', '"+r.findex+"')\">"+updraftlion.downloadtocomputer+'</button> \t\t\t\t<button class="button" id="uddownloaddelete_'+r.timestamp+"_"+r.what+'" type="button" onclick="updraftplus_deletefromserver(\''+r.timestamp+"', '"+r.what+"', '"+r.findex+"')\">"+updraftlion.deletefromserver+"</button>";
2
  r.hasOwnProperty("can_show_contents")&&r.can_show_contents&&(_+=' <button class="button" type="button" onclick="updraftplus_show_contents(\''+r.timestamp+"', '"+r.what+"', '"+r.findex+"')\">"+updraftlion.browse_contents+"</button>"),jQuery(o+" .raw").html(_),jQuery(o+"_st").remove()}}else null!=r.m?jQuery(o+" .raw").html(r.m):(jQuery(o+" .raw").html(updraftlion.jsonnotunderstood+" ("+e+")"),a=1)}}),a}function updraft_backupnow_go(t,e,a,r,n,o,d){var u={backupnow_nodb:t,backupnow_nofiles:e,backupnow_nocloud:a,backupnow_label:o,extradata:n};if(""!=r&&(u.onlythisfileentity=r),""!=d&&(u.onlythesetableentities=d),u.always_keep="undefined"!=typeof n.always_keep?n.always_keep:0,delete n.always_keep,u.incremental="undefined"!=typeof n.incremental?n.incremental:0,delete n.incremental,!jQuery(".updraft_requeststart").length){var s=jQuery('<div class="updraft_requeststart" />').html('<span class="spinner"></span>'+updraftlion.requeststart);s.data("remove",!1),setTimeout(function(){s.data("remove",!0)},3e3),setTimeout(function(){s.remove()},75e3),jQuery("#updraft_activejobsrow").before(s)}updraft_activejobslist_backupnownonce_only=1,updraft_send_command("backupnow",u,function(t){return t.hasOwnProperty("error")?(jQuery(".updraft_requeststart").remove(),void alert(t.error)):(jQuery("#updraft_backup_started").html(t.m),t.hasOwnProperty("nonce")&&(updraft_backupnow_nonce=t.nonce,console.log("UpdraftPlus: ID of started job: "+updraft_backupnow_nonce)),void setTimeout(function(){updraft_activejobs_update(!0)},500))})}function updraft_process_status_check(t,e,a){if(t.hasOwnProperty("fatal_error"))return console.error(t.fatal_error_message),void(!0===updraftplus_activejobs_list_fatal_error_alert&&(updraftplus_activejobs_list_fatal_error_alert=!1,alert(this.alert_done+" "+t.fatal_error_message)));try{t.hasOwnProperty("l")&&(t.l?(jQuery("#updraft_lastlogmessagerow").show(),jQuery("#updraft_lastlogcontainer").html(t.l)):(jQuery("#updraft_lastlogmessagerow").hide(),jQuery("#updraft_lastlogcontainer").html("("+updraftlion.nothing_yet_logged+")")));var r=-1,n=jQuery(".updraft_requeststart");t.j&&n.length&&n.data("remove")&&n.remove();var o=jQuery(t.j);o.find(".updraft_jobtimings").each(function(t,e){var a=jQuery(e);if(a.data("jobid")){var r=a.data("jobid"),n=a.closest(".updraft_row");updraft_aborted_jobs[r]&&n.hide()}}),jQuery("#updraft_activejobsrow").html(o);var d=o.find('.job-id[data-isclone="1"]');if(d.length>0){if(0==jQuery(".updraftclone_action_box .updraftclone_network_info").length&&jQuery("#updraft_activejobsrow .job-id .updraft_clone_url").length>0){var u=jQuery("#updraft_activejobsrow .job-id .updraft_clone_url").data("clone_url");updraft_send_command("get_clone_network_info",{clone_url:u},function(t){t.hasOwnProperty("html")&&jQuery(".updraftclone_action_box").html(t.html)})}jQuery("#updraft_clone_activejobsrow").empty(),d.each(function(t,e){var a=jQuery(e);a.closest(".updraft_row").appendTo(jQuery("#updraft_clone_activejobsrow"))})}if(jQuery("#updraft_activejobs .updraft_jobtimings").each(function(t,e){var a=jQuery(e);if(a.data("lastactivity")&&a.data("jobid")){var n=a.data("jobid"),o=a.data("lastactivity");(r==-1||o<r)&&(r=o);var d=a.data("nextresumptionafter"),u=a.data("nextresumption");timenow=(new Date).getTime(),o>50&&u>0&&d<-30&&timenow>updraft_last_forced_when+1e5&&(updraft_last_forced_jobid!=n||u!=updraft_last_forced_resumption)&&(updraft_last_forced_resumption=u,updraft_last_forced_jobid=n,updraft_last_forced_when=timenow,console.log("UpdraftPlus: force resumption: job_id="+n+", resumption="+u),updraft_send_command("forcescheduledresumption",{resumption:u,job_id:n},function(t){console.log(t)},{json_parse:!1,alert_on_error:!1}))}}),timenow=(new Date).getTime(),updraft_activejobs_nextupdate=timenow+18e4,1==updraft_page_is_visible&&"backups"==updraft_console_focussed_tab&&(updraft_activejobs_nextupdate=r>-1?r<5?timenow+1750:timenow+5e3:lastlog_lastdata==e?timenow+7500:timenow+1750),d.length>0&&(updraft_activejobs_nextupdate=timenow+6e3),lastlog_lastdata=e,null!=t.j&&""!=t.j){if(jQuery("#updraft_activejobsrow").show(),d.length>0&&jQuery("#updraft_clone_activejobsrow").show(),a.hasOwnProperty("thisjobonly")&&!updraft_inpage_hasbegun&&jQuery("#updraft-jobid-"+a.thisjobonly).length?(updraft_inpage_hasbegun=1,console.log("UpdraftPlus: the start of the requested backup job has been detected")):!updraft_inpage_hasbegun&&updraft_activejobslist_backupnownonce_only&&jQuery(".updraft_jobtimings.isautobackup").length?(autobackup_nonce=jQuery(".updraft_jobtimings.isautobackup").first().data("jobid"),autobackup_nonce&&(updraft_inpage_hasbegun=1,updraft_backupnow_nonce=autobackup_nonce,a.thisjobonly=autobackup_nonce,console.log("UpdraftPlus: the start of the requested backup job has been detected; id: "+autobackup_nonce))):1==updraft_inpage_hasbegun&&jQuery("#updraft-jobid-"+a.thisjobonly+".updraft_finished").length&&(updraft_inpage_hasbegun=2,console.log("UpdraftPlus: the end of the requested backup job has been detected"),updraft_activejobs_update_timer&&clearInterval(updraft_activejobs_update_timer),"undefined"!=typeof updraft_inpage_success_callback&&""!=updraft_inpage_success_callback?updraft_inpage_success_callback.call(!1):jQuery("#updraft-backupnow-inpage-modal").dialog("close")),""==lastlog_jobs&&setTimeout(function(){jQuery("#updraft_backup_started").slideUp()},3500),a.hasOwnProperty("thisjobonly")&&updraft_backupnow_nonce&&a.thisjobonly===updraft_backupnow_nonce){jQuery(".updraft_requeststart").remove();var s=jQuery("#updraft-jobid-"+updraft_backupnow_nonce);s.is(".updraft_finished")&&(updraft_activejobslist_backupnownonce_only=0,updraft_aborted_jobs[updraft_backupnow_nonce]?updraft_aborted_jobs=updraft_aborted_jobs.filter(function(t,e){return t!=updraft_backupnow_nonce}):updraft_active_job_is_clone(updraft_backupnow_nonce)?(updraft_show_success_modal(updraftlion.clone_backup_complete),updraft_clone_jobs=updraft_clone_jobs.filter(function(t){return t!=updraft_backupnow_nonce})):updraft_show_success_modal(updraftlion.backup_complete),updraft_backupnow_nonce="",updraft_activejobs_update(!0))}}else jQuery("#updraft_activejobsrow").is(":hidden")||("undefined"!=typeof lastbackup_laststatus&&updraft_showlastbackup(),updraft_updatehistory(0,0),jQuery("#updraft_activejobsrow").hide());if(lastlog_jobs=t.j,null!=t.ds&&""!=t.ds&&updraft_downloader_status_update(t.ds,e),null!=t.u&&""!=t.u&&jQuery("#updraft-poplog").dialog("isOpen")){var i=t.u;if(i.nonce==updraft_poplog_log_nonce&&(updraft_poplog_log_pointer=i.pointer,null!=i.log&&""!=i.log)){var l=jQuery("#updraft-poplog").scrollTop();jQuery("#updraft-poplog-content").append(i.log),updraft_poplog_lastscroll!=l&&updraft_poplog_lastscroll!=-1||(jQuery("#updraft-poplog").scrollTop(jQuery("#updraft-poplog-content").prop("scrollHeight")),updraft_poplog_lastscroll=jQuery("#updraft-poplog").scrollTop())}}}catch(p){console.log(updraftlion.unexpectedresponse+" "+e),console.log(p)}}var onlythesefileentities=backupnow_whichfiles_checked("");""==onlythesefileentities?jQuery("#backupnow_includefiles_moreoptions").show():jQuery("#backupnow_includefiles_moreoptions").hide();var impossible_increment_entities,updraft_restore_stage=1,lastlog_lastmessage="",lastlog_lastdata="",lastlog_jobs="",updraft_activejobs_nextupdate=(new Date).getTime()+1e3,updraft_page_is_visible=1,updraft_console_focussed_tab=updraftlion.tab,updraft_settings_form_changed=!1;window.onbeforeunload=function(t){if(updraft_settings_form_changed)return updraftlion.unsavedsettings},"undefined"!=typeof document.hidden&&document.addEventListener("visibilitychange",function(){updraft_check_page_visibility(0)},!1),updraft_check_page_visibility(1);var updraft_poplog_log_nonce,updraft_poplog_log_pointer=0,updraft_poplog_lastscroll=-1,updraft_last_forced_jobid=-1,updraft_last_forced_resumption=-1,updraft_last_forced_when=-1,updraft_backupnow_nonce="",updraft_activejobslist_backupnownonce_only=0,updraft_inpage_hasbegun=0,updraft_activejobs_update_timer,updraft_aborted_jobs=[],updraft_clone_jobs=[],updraft_backups_selection={};!function(t){updraft_backups_selection.toggle=function(e){var a=t(e);a.is(".backuprowselected")?this.deselect(e):this.select(e)},updraft_backups_selection.select=function(e){t(e).addClass("backuprowselected"),t(e).find(".backup-select input").prop("checked",!0),this.checkSelectionStatus()},updraft_backups_selection.deselect=function(e){t(e).removeClass("backuprowselected"),t(e).find(".backup-select input").prop("checked",!1),this.checkSelectionStatus()},updraft_backups_selection.selectAll=function(){t("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row").each(function(t,e){updraft_backups_selection.select(e)})},updraft_backups_selection.deselectAll=function(){t("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row").each(function(t,e){updraft_backups_selection.deselect(e)})},updraft_backups_selection.checkSelectionStatus=function(){var e=t("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row").length,a=t("#updraft-navtab-backups-content .updraft_existing_backups .updraft_existing_backups_row.backuprowselected").length;a>0?(t("#ud_massactions").addClass("active"),t(".js--deselect-all-backups, .js--delete-selected-backups").prop("disabled",!1)):(t("#ud_massactions").removeClass("active"),t(".js--deselect-all-backups, .js--delete-selected-backups").prop("disabled",!0)),e===a?t("#cb-select-all").prop("checked",!0):t("#cb-select-all").prop("checked",!1),e?t("#ud_massactions").show():t("#ud_massactions").hide()}}(jQuery);var updraftplus_activejobs_list_fatal_error_alert=!0,updraft_historytimer=0,calculated_diskspace=0,updraft_historytimer_notbefore=0,updraft_history_lastchecksum=!1,updraft_interval_week_val=!1,updraft_interval_month_val=!1;"undefined"!=typeof updraft_siteurl&&setInterval(function(){jQuery.get(updraft_siteurl+"/wp-cron.php")},21e4);var lastlog_lastmessage="";jQuery(document).ajaxError(function(t,e,a,r){if(null!=r&&""!=r&&null!=e.responseText&&""!=e.responseText&&(console.log("Error caught by UpdraftPlus ajaxError handler (follows) for "+a.url),console.log(r),0==a.url.search(ajaxurl)))if(a.url.search("subaction=downloadstatus")>=0){var n=a.url.match(/timestamp=\d+/),o=a.url.match(/type=[a-z]+/),d=a.url.match(/findex=\d+/),u=a.url.match(/base=[a-z_]+/);if(d=d instanceof Array?parseInt(d[0].substr(7)):0,o=o instanceof Array?o[0].substr(5):"",u=u instanceof Array?u[0].substr(5):"",n=n instanceof Array?parseInt(n[0].substr(10)):0,""!=u&&""!=o&&n>0){var s=u+n+"_"+o+"_"+d;jQuery("."+s+" .raw").html("<strong>"+updraftlion.error+"</strong> "+updraftlion.servererrorcode)}}else a.url.search("subaction=restore_alldownloaded")>=0&&jQuery("#updraft-restore-modal-stage2a").append("<br><strong>"+updraftlion.error+"</strong> "+updraftlion.servererrorcode+": "+r)}),jQuery(document).ready(function(t){function e(e){t('.expertmode .advanced_settings_container .advanced_tools:not(".'+e+'")').hide(),t(".expertmode .advanced_settings_container .advanced_tools."+e).fadeIn("slow"),t(".expertmode .advanced_settings_container .advanced_tools_button:not(#"+e+")").removeClass("active"),t(".expertmode .advanced_settings_container .advanced_tools_button#"+e).addClass("active")}function a(e){t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login_status").html("").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login .updraftplus_spinner.spinner").addClass("visible"),updraft_send_command("process_updraftplus_clone_login",e,function(e){try{if(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login .updraftplus_spinner.spinner").removeClass("visible"),e.hasOwnProperty("status")&&"error"==e.status)return t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login_status").html(e.message).show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .tfa_fields").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .non_tfa_fields").show(),void t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_two_factor_code").val("");e.hasOwnProperty("tfa_enabled")&&1==e.tfa_enabled&&(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .non_tfa_fields").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .tfa_fields").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 input#temporary_clone_options_two_factor_code").focus()),"authenticated"===e.status&&(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .non_tfa_fields").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 .tfa_fields").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1 input#temporary_clone_options_two_factor_code").val(""),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").html(e.html))}catch(a){console.log(a)}})}function r(e){t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key_status").html("").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key .updraftplus_spinner.spinner").addClass("visible"),updraft_send_command("process_updraftplus_clone_login",e,function(e){try{if(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key .updraftplus_spinner.spinner").removeClass("visible"),e.hasOwnProperty("status")&&"error"==e.status)return void t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key_status").html(e.message).show();"authenticated"===e.status&&(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage1").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").html(e.html))}catch(a){console.log(a)}})}function n(t,e,a,r){var n={updraftplus_clone_backup:1,backupnow_nodb:0,backupnow_nofiles:0,backupnow_nocloud:0,backupnow_label:"UpdraftPlus Clone",extradata:"",onlythisfileentity:"plugins,themes,uploads,others",clone_id:t,secret_token:e,clone_url:a,key:r};updraft_activejobslist_backupnownonce_only=1,updraft_send_command("backupnow",n,function(t){jQuery("#updraft_clone_progress .updraftplus_spinner.spinner").removeClass("visible"),jQuery("#updraft_backup_started").html(t.m),t.hasOwnProperty("nonce")&&(updraft_backupnow_nonce=t.nonce,updraft_clone_jobs.push(updraft_backupnow_nonce),updraft_inpage_success_callback=function(){jQuery("#updraft_clone_activejobsrow").hide(),updraft_aborted_jobs[updraft_backupnow_nonce]?jQuery("#updraft_clone_progress").html(updraftlion.clone_backup_aborted):jQuery("#updraft_clone_progress").html(updraftlion.clone_backup_complete)},console.log("UpdraftPlus: ID of started job: "+updraft_backupnow_nonce)),updraft_activejobs_update(!0)})}function o(t){var e=Handlebars.compile(updraftlion.remote_storage_templates[t]),a=updraftlion.remote_storage_options[t]["default"];a.instance_id="s-"+d(32),a.instance_enabled=1;var r=e(a);jQuery(r).hide().insertAfter("."+t+"_add_instance_container:first").show("slow")}function d(t){for(var e="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=0;r<t;r++)e+=a.charAt(Math.floor(Math.random()*a.length));return e}function u(t){var e=!!jQuery("#updraftcentral_mothership_other").is(":checked");e?(jQuery("#updraftcentral_keycreate_mothership").prop("disabled",!1),t?jQuery("#updraftcentral_keycreate_mothership_firewalled_container").show():(jQuery(".updraftcentral_wizard_self_hosted_stage2").show(),jQuery("#updraftcentral_keycreate_mothership_firewalled_container").slideDown(),jQuery("#updraftcentral_keycreate_mothership").focus())):(jQuery("#updraftcentral_keycreate_mothership").prop("disabled",!0),t||(jQuery(".updraftcentral_wizard_self_hosted_stage2").hide(),s()))}function s(){jQuery("#updraftcentral_wizard_stage1_error").text("");var t="";if(jQuery("#updraftcentral_mothership_updraftpluscom").is(":checked"))jQuery(".updraftcentral_keycreate_description").hide(),t="updraftplus.com";else if(jQuery("#updraftcentral_mothership_other").is(":checked")){jQuery(".updraftcentral_keycreate_description").show();var e=jQuery("#updraftcentral_keycreate_mothership").val();if(""==e)return void jQuery("#updraftcentral_wizard_stage1_error").text(updraftlion.updraftcentral_wizard_empty_url);try{var a=new URL(e);t=a.hostname}catch(r){if("undefined"==typeof URL&&(t=jQuery("<a>").prop("href",e).prop("hostname")),!t||"undefined"!=typeof URL)return void jQuery("#updraftcentral_wizard_stage1_error").text(updraftlion.updraftcentral_wizard_invalid_url)}}jQuery("#updraftcentral_keycreate_description").val(t),jQuery(".updraftcentral_wizard_stage1").hide(),jQuery(".updraftcentral_wizard_stage2").show()}function i(e,a,r,n){jQuery("#updraft-delete-modal").dialog("close");var o=e,d=a,u=r,s=n,l=jQuery("#updraft_delete_timestamp").val().split(","),p=jQuery("#updraft_delete_form").serializeArray(),_={};t.each(p,function(){void 0!==_[this.name]?(_[this.name].push||(_[this.name]=[_[this.name]]),_[this.name].push(this.value||"")):_[this.name]=this.value||""}),_.delete_remote?jQuery("#updraft-delete-waitwarning").find(".updraft-deleting-remote").show():jQuery("#updraft-delete-waitwarning").find(".updraft-deleting-remote").hide(),jQuery("#updraft-delete-waitwarning").slideDown().addClass("active"),_.remote_delete_limit=updraftlion.remote_delete_limit,delete _.action,delete _.subaction,delete _.nonce,updraft_send_command("deleteset",_,function(t){if(!t.hasOwnProperty("result")||null==t.result)return void jQuery("#updraft-delete-waitwarning").slideUp();if("error"==t.result)jQuery("#updraft-delete-waitwarning").slideUp(),alert(updraftlion.error+" "+t.message);else if("continue"==t.result){o=o+t.backup_local+t.backup_remote,d+=t.backup_local,u+=t.backup_remote,s+=t.backup_sets;for(var e=t.deleted_timestamps.split(","),a=0;a<e.length;a++){var r=e[a];jQuery("#updraft-navtab-backups-content .updraft_existing_backups_row_"+r).slideUp().remove()}jQuery("#updraft_delete_timestamp").val(t.timestamps),jQuery("#updraft-deleted-files-total").text(o+" "+updraftlion.remote_files_deleted),i(o,d,u,s)}else if("success"==t.result){setTimeout(function(){jQuery("#updraft-deleted-files-total").text(""),jQuery("#updraft-delete-waitwarning").slideUp()},500),update_backupnow_modal(t),t.hasOwnProperty("backupnow_file_entities")&&(impossible_increment_entities=t.backupnow_file_entities),t.hasOwnProperty("count_backups")&&jQuery("#updraft-existing-backups-heading").html(updraftlion.existing_backups+' <span class="updraft_existing_backups_count">'+t.count_backups+"</span>");for(var a=0;a<l.length;a++){var r=l[a];jQuery("#updraft-navtab-backups-content .updraft_existing_backups_row_"+r).slideUp().remove()}updraft_backups_selection.checkSelectionStatus(),updraft_history_lastchecksum=!1,d+=t.backup_local,u+=t.backup_remote,s+=t.backup_sets,setTimeout(function(){alert(t.set_message+" "+s+"\n"+t.local_message+" "+d+"\n"+t.remote_message+" "+u)},900)}})}function l(t,e){jQuery("#updraft-navtab-settings-content #updraft_include_"+t).is(":checked")?e?jQuery("#updraft-navtab-settings-content #updraft_include_"+t+"_exclude_container").show():jQuery("#updraft-navtab-settings-content #updraft_include_"+t+"_exclude_container").slideDown():e?jQuery("#updraft-navtab-settings-content #updraft_include_"+t+"_exclude").hide():jQuery("#updraft-navtab-settings-content #updraft_include_"+t+"_exclude_container").slideUp()}function p(){var t=new plupload.Uploader(updraft_plupload_config);t.bind("Init",function(t){var e=jQuery("#plupload-upload-ui");t.features.dragdrop?(e.addClass("drag-drop"),jQuery("#drag-drop-area").bind("dragover.wp-uploader",function(){e.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){e.removeClass("drag-over")})):(e.removeClass("drag-drop"),jQuery("#drag-drop-area").unbind(".wp-uploader"))}),t.init(),t.bind("FilesAdded",function(e,a){plupload.each(a,function(e){if(!/^backup_([\-0-9]{15})_.*_([0-9a-f]{12})-[\-a-z]+([0-9]+?)?(\.(zip|gz|gz\.crypt))?$/i.test(e.name)&&!/^log\.([0-9a-f]{12})\.txt$/.test(e.name)){for(var a=!1,r=0;r<updraft_accept_archivename.length;r++)if(updraft_accept_archivename[r].test(e.name))var a=!0;if(!a)return/\.(zip|tar|tar\.gz|tar\.bz2)$/i.test(e.name)||/\.sql(\.gz)?$/i.test(e.name)?(jQuery("#updraft-message-modal-innards").html("<p><strong>"+e.name+"</strong></p> "+updraftlion.notarchive2),jQuery("#updraft-message-modal").dialog("open")):alert(e.name+": "+updraftlion.notarchive),void t.removeFile(e)}jQuery("#filelist").append('<div class="file" id="'+e.id+'"><b>'+e.name+"</b> (<span>"+plupload.formatSize(0)+"</span>/"+plupload.formatSize(e.size)+') <div class="fileprogress"></div></div>')}),e.refresh(),e.start()}),t.bind("UploadProgress",function(t,e){jQuery("#"+e.id+" .fileprogress").width(e.percent+"%"),jQuery("#"+e.id+" span").html(plupload.formatSize(parseInt(e.size*e.percent/100))),e.size==e.loaded&&(jQuery("#"+e.id).html('<div class="file" id="'+e.id+'"><b>'+e.name+"</b> (<span>"+plupload.formatSize(parseInt(e.size*e.percent/100))+"</span>/"+plupload.formatSize(e.size)+") - "+updraftlion.complete+"</div>"),jQuery("#"+e.id+" .fileprogress").width(e.percent+"%"))}),t.bind("Error",function(t,e){console.log(e);var a;a="-200"==e.code?"\n"+updraftlion.makesure2:updraftlion.makesure;var r=updraftlion.uploaderr+" (code "+e.code+") : "+e.message;e.hasOwnProperty("status")&&e.status&&(r+=" ("+updraftlion.http_code+" "+e.status+")"),e.hasOwnProperty("response")&&(console.log("UpdraftPlus: plupload error: "+e.response),e.response.length<100&&(r+=" "+updraftlion.error+" "+e.response+"\n")),r+=" "+a,alert(r)}),t.bind("FileUploaded",function(t,e,a){if("200"==a.status)try{resp=ud_parse_json(a.response),resp.e?alert(updraftlion.uploaderror+" "+resp.e):resp.dm?(alert(resp.dm),updraft_updatehistory(1,0)):resp.m?updraft_updatehistory(1,0):alert("Unknown server response: "+a.response)}catch(r){console.log(a),alert(updraftlion.jsonnotunderstood)}else alert("Unknown server response status: "+a.code),console.log(a)})}function _(t){params={uri:jQuery("#updraftplus_httpget_uri").val()},params.curl=t,updraft_send_command("httpget",params,function(t){t.e&&alert(t.e),t.r?jQuery("#updraftplus_httpget_results").html("<pre>"+t.r+"</pre>"):console.log(t)},{type:"GET"})}function c(t,e,a){updraft_restore_setoptions(t),jQuery("#updraft_restore_timestamp").val(e),jQuery(".updraft_restore_date").html(a),updraft_restore_stage=1,jQuery("#updraft-restore-modal").dialog("open"),jQuery("#updraft-restore-modal-stage1").show(),jQuery("#updraft-restore-modal-stage2").hide(),jQuery("#updraft-restore-modal-stage2a").html(""),updraft_activejobs_update(!0)}function f(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e="[\\?&]"+t+"=([^&#]*)",a=new RegExp(e),r=a.exec(window.location.href);return null==r?"":decodeURIComponent(r[1].replace(/\+/g," "))}function m(e,a,r){jQuery("#updraft_upload_timestamp").val(e),jQuery("#updraft_upload_nonce").val(a);var n=r.split(",");jQuery(".updraft_remote_storage_destination").each(function(e){var a=jQuery(this).val();if(jQuery.inArray(a,n)==-1){jQuery(this).prop("checked",!1),jQuery(this).prop("disabled",!0);var r=t(this).prop("labels");jQuery(r).append(" "+updraftlion.already_uploaded)}}),jQuery("#updraft-upload-modal").dialog("open")}if(t(document).on("udp/checkout/done",function(e,a){a.hasOwnProperty("product")&&"updraftpremium"===a.product&&"complete"===a.status&&(t(".premium-upgrade-purchase-success").show(),t(".updraft_feat_table").closest("section").hide(),t(".updraft_premium_cta__action").hide())}),t(".expertmode .advanced_settings_container .advanced_tools_button").click(function(){e(t(this).attr("id"))}),jQuery.ui&&jQuery.ui.dialog&&jQuery.ui.dialog.prototype._allowInteraction){var g=jQuery.ui.dialog.prototype._allowInteraction;jQuery.ui.dialog.prototype._allowInteraction=function(t){return!!jQuery(t.target).closest(".select2-dropdown").length||g.apply(this,arguments)}}t("#updraftcentral_keys").on("click","a.updraftcentral_keys_show",function(e){e.preventDefault(),t(this).remove(),t("#updraftcentral_keys_table").slideDown()}),t("#updraftcentral_keycreate_altmethod_moreinfo_get").click(function(e){e.preventDefault(),t(this).remove(),t("#updraftcentral_keycreate_altmethod_moreinfo").slideDown()}),t("#updraft-navtab-settings-content #remote-storage-holder").on("change keyup paste",".updraft_webdav_settings",function(){var e=[];t(".updraft_webdav_settings").each(function(a,r){var n=t(r).attr("id");if(n&&"updraft_webdav_"==n.substring(0,15)){var o=n.substring(15);id_split=o.split("_"),o=id_split[0];var d=id_split[1];"undefined"==typeof e[d]&&(e[d]=[]),e[d][o]=this.value}});var a="",r="@",n="/",o=":",d=":";for(var u in e)(e[u].host.indexOf("@")>=0||""===e[u].host)&&(r=""),e[u].host.indexOf("/")>=0?t("#updraft_webdav_host_error").show():t("#updraft_webdav_host_error").hide(),0!=e[u].path.indexOf("/")&&""!==e[u].path||(n=""),""!==e[u].user&&""!==e[u].pass||(o=""),""!==e[u].host&&""!==e[u].port||(d=""),a=e[u].webdav+e[u].user+o+e[u].pass+r+encodeURIComponent(e[u].host)+d+e[u].port+n+e[u].path,t("#updraft_webdav_url_"+u).val(a)}),t("#updraft-navtab-backups-content").on("click",".js--delete-selected-backups",function(t){t.preventDefault(),updraft_deleteallselected()}),t("#updraft-navtab-backups-content").on("click",".updraft_existing_backups .backup-select input",function(e){updraft_backups_selection.toggle(t(this).closest(".updraft_existing_backups_row"))}),t("#updraft-navtab-backups-content").on("click","#cb-select-all",function(e){t(this).is(":checked")?updraft_backups_selection.selectAll():updraft_backups_selection.deselectAll()}),t("#updraft-navtab-backups-content").on("click",".js--select-all-backups",function(t){updraft_backups_selection.selectAll()}),t("#updraft-navtab-backups-content").on("click",".js--deselect-all-backups",function(t){updraft_backups_selection.deselectAll()}),t("#updraft-navtab-backups-content").on("click",".updraft_existing_backups .updraft_existing_backups_row",function(t){(t.ctrlKey||t.metaKey)&&updraft_backups_selection.toggle(this)}),updraft_backups_selection.checkSelectionStatus(),t("#updraft-navtab-addons-content .wrap").on("click",".updraftplus_com_login .ud_connectsubmit",function(e){e.preventDefault();var a=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_email").val(),r=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_password").val(),n=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_auto_updates").is(":checked")?1:0,o=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_auto_udc_connect").is(":checked")?1:0,d={email:a,password:r,auto_update:n,auto_udc_connect:o};h.submit(d)}),t("#updraft-navtab-addons-content .wrap").on("keydown",".updraftplus_com_login input",function(e){if(13==e.which){e.preventDefault();var a=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_email").val(),r=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_password").val(),n=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_auto_updates").is(":checked")?1:0,o=t("#updraft-navtab-addons-content .wrap .updraftplus_com_login #updraftplus-addons_options_auto_udc_connect").is(":checked")?1:0,d={email:a,password:r,auto_update:n,auto_udc_connect:o};h.submit(d)}}),t("#updraft-navtab-migrate-content").on("click",".updraftclone_show_step_1",function(e){t(".updraftplus-clone").addClass("opened"),t(".updraftclone_show_step_1").hide(),t(".updraft_migrate_widget_temporary_clone_stage1").show(),t(".updraft_migrate_widget_temporary_clone_stage0").hide()}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_temporary_clone_show_stage0",function(e){e.preventDefault(),t(".updraft_migrate_widget_temporary_clone_stage0").toggle()}),setup_migrate_tabs(),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_module_content .close",function(e){t(".updraft_migrate_intro").show(),t(this).closest(".updraft_migrate_widget_module_content").hide()}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_add_site--trigger",function(e){e.preventDefault(),t(".updraft_migrate_add_site").toggle()}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_module_content .updraftplus_com_login .ud_connectsubmit",function(e){e.preventDefault();var r=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_email").val(),n=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_password").val(),o=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_two_factor_code").val(),d=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login .temporary_clone_terms_and_conditions").is(":checked")?1:0,u={form_data:{email:r,password:n,two_factor_code:o,consent:d}};r&&n?a(u):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login_status").html("<b>"+updraftlion.error+"</b> "+updraftlion.username_password_required).show()}),t("#updraft-navtab-migrate-content").on("keydown",".updraft_migrate_widget_module_content .updraftplus_com_login input",function(e){if(13==e.which){e.preventDefault();var r=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_email").val(),n=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_password").val(),o=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login #temporary_clone_options_two_factor_code").val(),d=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login .temporary_clone_terms_and_conditions").is(":checked")?1:0,u={form_data:{email:r,password:n,two_factor_code:o,consent:d}};r&&n?a(u):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_login_status").html("<b>"+updraftlion.error+"</b> "+updraftlion.username_password_required).show()}}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_module_content .updraftplus_com_key .ud_key_connectsubmit",function(e){e.preventDefault();var a=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key #temporary_clone_options_key").val(),n=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key .temporary_clone_terms_and_conditions").is(":checked")?1:0,o={
3
  form_data:{clone_key:a,consent:n}};a?r(o):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key_status").html("<b>"+updraftlion.error+"</b> "+updraftlion.clone_key_required).show()}),t("#updraft-navtab-migrate-content").on("keydown",".updraft_migrate_widget_module_content .updraftplus_com_key input",function(e){if(13==e.which){e.preventDefault();var a=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key #temporary_clone_options_key").val(),n=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key .temporary_clone_terms_and_conditions").is(":checked")?1:0,o={form_data:{clone_key:a,consent:n}};a?r(o):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_com_key_status").html("<b>"+updraftlion.error+"</b> "+updraftlion.clone_key_required).show()}}),t("#updraft-navtab-migrate-content").on("change",".updraft_migrate_widget_module_content #updraftplus_clone_php_options",function(){var e=t(this).data("php_version"),a=t(this).val();a<e?t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html(updraftlion.clone_version_warning):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html("")}),t("#updraft-navtab-migrate-content").on("change",".updraft_migrate_widget_module_content #updraftplus_clone_wp_options",function(){var e=t(this).data("wp_version"),a=t(this).val();a<e?t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html(updraftlion.clone_version_warning):t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html("")}),t("#updraft-navtab-migrate-content").on("click",".updraft_migrate_widget_module_content #updraft_migrate_createclone",function(e){e.preventDefault(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraft_migrate_createclone").prop("disabled",!0),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html(""),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_spinner.spinner").addClass("visible");var a=t(this).data("clone_id"),r=t(this).data("secret_token"),o=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_php_options").val(),d=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_wp_options").val(),u=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_region_options").val(),s=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_updraftclone_branch").val(),i=t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraftplus_clone_updraftplus_branch").val(),l=t(".updraftplus_clone_admin_login_options").is(":checked"),p={form_data:{clone_id:a,secret_token:r,install_info:{php_version:o,wp_version:d,region:u,admin_only:l,updraftclone_branch:"undefined"==typeof s?"":s,updraftplus_branch:"undefined"==typeof i?"":i}}};updraft_send_command("process_updraftplus_clone_create",p,function(e){try{if(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraft_migrate_createclone").prop("disabled",!1),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_spinner.spinner").removeClass("visible"),e.hasOwnProperty("status")&&"error"==e.status)return void t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraftplus_clone_status").html(updraftlion.error+" "+e.message).show();"success"===e.status&&(t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage2").hide(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage3").show(),t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content .updraft_migrate_widget_temporary_clone_stage3").html(e.html),jQuery("#updraft_clone_progress .updraftplus_spinner.spinner").addClass("visible"),n(a,r,e.url,e.key))}catch(o){t("#updraft-navtab-migrate-content .updraft_migrate_widget_module_content #updraft_migrate_createclone").prop("disabled",!1),console.log("Error when processing the response of process_updraftplus_clone_create (as follows)"),console.log(o)}})});var h={};h.set_status=function(e){t("#updraft-navtab-addons-content .wrap").find(".updraftplus_spinner.spinner").text(e)},h.show_loader=function(){t("#updraft-navtab-addons-content .wrap").find(".updraftplus_spinner.spinner").addClass("visible"),t("#updraft-navtab-addons-content .wrap").find(".ud_connectsubmit").prop("disabled","disabled")},h.hide_loader=function(){t("#updraft-navtab-addons-content .wrap").find(".updraftplus_spinner.spinner").removeClass("visible").text(updraftlion.processing),t("#updraft-navtab-addons-content .wrap").find(".ud_connectsubmit").removeProp("disabled")},h.submit=function(e){if(t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html("").hide(),this.stage)switch(this.stage){case"connect_udc":case"connect_udc_TFA":var a=t("#updraftplus-addons_options_email").val(),r=t("#updraftplus-addons_options_password").val();this.login_data.email=a,this.login_data.password=r,this.connect_udc();break;case"create_key":this.create_key();break;default:this.stage=null,h.submit()}else this.set_status(updraftlion.connecting),this.show_loader(),updraft_send_command("updraftplus_com_login_submit",{data:e},function(a){a.hasOwnProperty("success")?t("#updraftplus-addons_options_auto_udc_connect").is(":checked")?(this.login_data={email:e.email,password:e.password,i_consent:1,two_factor_code:""},h.create_key()):(h.hide_loader(),t("#updraft-navtab-addons-content .wrap .updraftplus_com_login").submit()):a.hasOwnProperty("error")&&(h.hide_loader(),t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(a.message).show())}.bind(this))},h.create_key=function(){this.stage="create_key",this.set_status(updraftlion.udc_cloud_connected),this.show_loader();var e={where_send:"__updraftpluscom",key_description:"",key_size:null,mothership_firewalled:0};updraft_send_command("updraftcentral_create_key",e,function(e){try{var a=ud_parse_json(e);if(a.hasOwnProperty("error"))return void console.log(a);a.hasOwnProperty("bundle")?(console.log("bundle",a.bundle),this.login_data.key=a.bundle,this.stage="connect_udc",h.connect_udc()):(a.hasOwnProperty("r")?(t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(updraftlion.trouble_connecting).show(),alert(a.r)):(t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(updraftlion.trouble_connecting).show(),console.log(a)),h.hide_loader())}catch(r){console.log(r),h.hide_loader()}}.bind(this),{json_parse:!1})},h.connect_udc=function(){var e=t("#updraft-navtab-addons-content .wrap");h.set_status(updraftlion.udc_cloud_key_created),h.show_loader(),"connect_udc_TFA"==this.stage&&(this.login_data.two_factor_code=e.find("input#updraftplus-addons_options_two_factor_code").val(),h.set_status(updraftlion.checking_tfa_code));var a={form_data:this.login_data};a.form_data.addons_options_connect=1,updraft_send_command("process_updraftcentral_login",a,function(a){try{var r=ud_parse_json(a);if(r.hasOwnProperty("error"))return"incorrect_password"===r.code&&(e.find(".tfa_fields").hide(),e.find(".non_tfa_fields").show(),e.find("input#updraftplus-addons_options_two_factor_code").val(""),e.find("input#updraftplus-addons_options_password").val("").focus()),"no_key_found"===r.code&&(this.stage="create_key"),t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(r.message).show(),t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").find("a").attr("target","_blank"),console.log(r),void h.hide_loader();r.hasOwnProperty("tfa_enabled")&&1==r.tfa_enabled&&(t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html("").hide(),e.find(".non_tfa_fields").hide(),e.find(".tfa_fields").show(),e.find("input#updraftplus-addons_options_two_factor_code").focus(),this.stage="connect_udc_TFA"),"authenticated"===r.status&&(e.find(".non_tfa_fields").hide(),e.find(".tfa_fields").hide(),e.find(".updraft-after-form-table").hide(),this.stage=null,t("#updraft-navtab-addons-content .wrap .updraftplus_com_login_status").html(updraftlion.login_successful_short).show().addClass("success"),setTimeout(function(){t("#updraft-navtab-addons-content .wrap form.updraftplus_com_login").submit()},1e3))}catch(n){console.log(n)}h.hide_loader()}.bind(this),{json_parse:!1})},t("#updraft-navtab-settings-content #remote-storage-holder").on("click",".updraftplusmethod a.updraft_add_instance",function(e){e.preventDefault(),updraft_settings_form_changed=!0;var a=t(this).data("method");o(a)}),t("#updraft-navtab-settings-content #remote-storage-holder").on("click",".updraftplusmethod a.updraft_delete_instance",function(e){e.preventDefault(),updraft_settings_form_changed=!0;var a=t(this).data("method"),r=t(this).data("instance_id");1===t("."+a+"_updraft_remote_storage_border").length&&o(a),t("."+a+"-"+r).hide("slow",function(){t(this).remove()})}),t("#updraft-navtab-settings-content #remote-storage-holder").on("click",".updraftplusmethod .updraft_edit_label_instance",function(e){t(this).find("span").hide(),t(this).attr("contentEditable",!0).focus()}),t("#updraft-navtab-settings-content #remote-storage-holder").on("keyup",".updraftplusmethod .updraft_edit_label_instance",function(e){var a=jQuery(this).data("method"),r=jQuery(this).data("instance_id"),n=jQuery(this).text();t("#updraft_"+a+"_instance_label_"+r).val(n)}),t("#updraft-navtab-settings-content #remote-storage-holder").on("blur",".updraftplusmethod .updraft_edit_label_instance",function(e){t(this).attr("contentEditable",!1),t(this).find("span").show()}),t("#updraft-navtab-settings-content #remote-storage-holder").on("keypress",".updraftplusmethod .updraft_edit_label_instance",function(e){13===e.which&&(t(this).attr("contentEditable",!1),t(this).find("span").show(),t(this).blur())}),jQuery("#updraft-navtab-settings-content #remote-storage-holder").on("change","input[class='updraft_instance_toggle']",function(){updraft_settings_form_changed=!0,jQuery(this).is(":checked")?jQuery(this).siblings("label").html(updraftlion.instance_enabled):jQuery(this).siblings("label").html(updraftlion.instance_disabled)}),jQuery("#updraft-navtab-settings-content #remote-storage-holder").on("click",".updraftplusmethod button.updraft-test-button",function(){var e=jQuery(this).data("method"),a=jQuery(this).data("instance_id");updraft_remote_storage_test(e,function(r,n,o){return"sftp"==e&&(o.hasOwnProperty("scp")&&o.scp?alert(updraftlion.settings_test_result.replace("%s","SCP")+" "+r.output):alert(updraftlion.settings_test_result.replace("%s","SFTP")+" "+r.output),r.hasOwnProperty("data")&&r.data&&r.data.hasOwnProperty("valid_md5_fingerprint")&&r.data.valid_md5_fingerprint&&t("#updraft_sftp_fingerprint_"+a).val(r.data.valid_md5_fingerprint),!0)},a)}),t("#updraft-navtab-settings-content select.updraft_interval, #updraft-navtab-settings-content select.updraft_interval_database").change(function(){updraft_check_same_times()}),t("#backupnow_includefiles_showmoreoptions").click(function(e){e.preventDefault(),t("#backupnow_includefiles_moreoptions").toggle()}),t("#backupnow_database_showmoreoptions").click(function(e){e.preventDefault(),t("#backupnow_database_moreoptions").toggle()}),t("#updraft-navtab-backups-content").on("click","a.updraft_diskspaceused_update",function(t){t.preventDefault(),updraftplus_diskspace()}),t(".advanced_settings_content a.updraft_diskspaceused_update").click(function(t){t.preventDefault(),jQuery(".advanced_settings_content .updraft_diskspaceused").html("<em>"+updraftlion.calculating+"</em>"),updraft_send_command("get_fragment",{fragment:"disk_usage",data:"updraft"},function(t){jQuery(".advanced_settings_content .updraft_diskspaceused").html(t.output)},{type:"GET"})}),t("#updraft-navtab-backups-content a.updraft_uploader_toggle").click(function(e){e.preventDefault(),t("#updraft-plupload-modal").slideToggle()}),t("#updraft-navtab-backups-content a.updraft_rescan_local").click(function(t){t.preventDefault(),updraft_updatehistory(1,0)}),t("#updraft-navtab-backups-content a.updraft_rescan_remote").click(function(t){t.preventDefault(),updraft_updatehistory(1,1)}),t("#updraftplus-remote-rescan-debug").click(function(t){t.preventDefault(),updraft_updatehistory(1,1,1)}),jQuery("#updraftcentral_keys").on("click",'input[type="radio"]',function(){u(!1)}),u(!0),jQuery("#updraftcentral_keys").on("click","#updraftcentral_view_log",function(t){t.preventDefault(),jQuery("#updraftcentral_view_log_container").block({message:'<div style="margin: 8px; font-size:150%;"><img src="'+updraftlion.ud_url+'/images/udlogo-rotating.gif" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.fetching+"</div>"});try{updraft_send_command("updraftcentral_get_log",null,function(t){jQuery("#updraftcentral_view_log_container").unblock(),t.hasOwnProperty("log_contents")?jQuery("#updraftcentral_view_log_contents").html('<div style="border:1px solid;padding: 2px;max-height: 400px; overflow-y:scroll;">'+t.log_contents+"</div>"):console.response(resp)},{error_callback:function(t,e,a,r){if(jQuery("#updraftcentral_view_log_container").unblock(),"undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";console.log(n),alert(n),console.log(t)}}})}catch(e){jQuery("#updraft_central_key").html(),console.log(e)}}),jQuery("#updraftcentral_keys").on("click","#updraftcentral_wizard_go",function(t){jQuery("#updraftcentral_wizard_go").hide(),jQuery(".updraftcentral_wizard_success").remove(),jQuery(".create_key_container").show()}),jQuery("#updraftcentral_keys").on("click","#updraftcentral_stage1_go",function(t){t.preventDefault(),jQuery(".updraftcentral_wizard_stage2").hide(),jQuery(".updraftcentral_wizard_stage1").show()}),jQuery("#updraftcentral_keys").on("click","#updraftcentral_stage2_go",function(t){t.preventDefault(),s()}),jQuery("#updraftcentral_keys").on("click","#updraftcentral_keycreate_go",function(t){t.preventDefault();var e=!!jQuery("#updraftcentral_mothership_other").is(":checked"),a=jQuery("#updraftcentral_keycreate_description").val(),r=jQuery("#updraftcentral_keycreate_keysize").val(),n="__updraftpluscom";if(data={key_description:a,key_size:r},e&&(n=jQuery("#updraftcentral_keycreate_mothership").val(),"http"!=n.substring(0,4)))return void alert(updraftlion.enter_mothership_url);data.mothership_firewalled=jQuery("#updraftcentral_keycreate_mothership_firewalled").is(":checked")?1:0,data.where_send=n,jQuery(".create_key_container").hide(),jQuery(".updraftcentral_wizard_stage1").show(),jQuery(".updraftcentral_wizard_stage2").hide(),jQuery("#updraftcentral_keys").block({message:'<div style="margin: 8px; font-size:150%;"><img src="'+updraftlion.ud_url+'/images/udlogo-rotating.gif" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.creating_please_allow+"</div>"});try{updraft_send_command("updraftcentral_create_key",data,function(t){jQuery("#updraftcentral_keys").unblock();try{if(t.hasOwnProperty("error"))return alert(t.error),void console.log(t);alert(t.r),t.hasOwnProperty("bundle")&&t.hasOwnProperty("keys_guide")?(jQuery("#updraftcentral_keys_content").html(t.keys_guide),jQuery("#updraftcentral_keys_content").append('<div class="updraftcentral_wizard_success">'+t.r+'<br><textarea onclick="this.select();" style="width:620px; height:165px; word-wrap:break-word; border: 1px solid #aaa; border-radius: 3px; padding:4px;">'+t.bundle+"</textarea></div>")):console.log(t),t.hasOwnProperty("keys_table")&&jQuery("#updraftcentral_keys_content").append(t.keys_table),jQuery("#updraftcentral_wizard_go").show()}catch(e){alert(updraftlion.unexpectedresponse+" "+response),console.log(e)}},{error_callback:function(t,e,a,r){if(jQuery("#updraftcentral_keys").unblock(),"undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";console.log(n),alert(n),console.log(t)}}})}catch(o){jQuery("#updraft_central_key").html(),console.log(o)}}),jQuery("#updraftcentral_keys").on("click",".updraftcentral_key_delete",function(t){t.preventDefault();var e=jQuery(this).data("key_id");return"undefined"==typeof e?void console.log("UpdraftPlus: .updraftcentral_key_delete clicked, but no key ID found"):(jQuery("#updraftcentral_keys").block({message:'<div style="margin: 8px; font-size:150%;"><img src="'+updraftlion.ud_url+'/images/udlogo-rotating.gif" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.deleting+"</div>"}),void updraft_send_command("updraftcentral_delete_key",{key_id:e},function(t){jQuery("#updraftcentral_keys").unblock(),t.hasOwnProperty("keys_table")&&jQuery("#updraftcentral_keys_content").html(t.keys_table)},{error_callback:function(t,e,a,r){if(jQuery("#updraftcentral_keys").unblock(),"undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";console.log(n),alert(n),console.log(t)}}}))}),jQuery("#updraft_reset_sid").click(function(t){t.preventDefault(),updraft_send_command("reset_site_id",null,function(t){jQuery("#updraft_show_sid").html(t)},{json_parse:!1})}),jQuery("#updraft-navtab-settings-content form input:not('.udignorechange'), #updraft-navtab-settings-content form select").change(function(t){updraft_settings_form_changed=!0}),jQuery("#updraft-navtab-settings-content form input[type='submit']").click(function(t){updraft_settings_form_changed=!1});var y=180;jQuery(".updraft-bigbutton").each(function(t,e){var a=jQuery(e).width();a>y&&(y=a)}),y>180&&jQuery(".updraft-bigbutton").width(y),jQuery("#updraft-navtab-backups-content").length&&setInterval(function(){updraft_activejobs_update(!1)},1250),setTimeout(function(){jQuery("#setting-error-settings_updated").slideUp()},5e3),jQuery("#updraft_restore_db").change(function(){jQuery("#updraft_restore_db").is(":checked")&&1==jQuery(this).data("encrypted")?jQuery("#updraft_restorer_dboptions").slideDown():jQuery("#updraft_restorer_dboptions").slideUp()}),updraft_check_same_times();var b={};b[updraftlion.close]=function(){jQuery(this).dialog("close")},jQuery("#updraft-message-modal").dialog({autoOpen:!1,height:350,width:520,modal:!0,buttons:b});var v={};v[updraftlion.deletebutton]=function(){i(0,0,0,0)},v[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-delete-modal").dialog({autoOpen:!1,height:322,width:430,modal:!0,buttons:v});var w={};w[updraftlion.restore]=function(){var t=0,e=[],a=0,r=jQuery("#updraft_restore_meta_foreign").val();if(jQuery('input[name="updraft_restore[]"]').each(function(n,o){if(jQuery(o).is(":checked")&&!jQuery(o).is(":disabled")){t=1;var d=jQuery(o).data("howmany"),u=jQuery(o).val();if((1==r||2==r&&"db"!=u)&&("wpcore"!=u&&(d=jQuery("#updraft_restore_form #updraft_restore_wpcore").data("howmany")),u="wpcore"),"wpcore"!=u||0==a){var s=[u,d];e.push(s),"wpcore"==u&&(a=1)}}}),1==t){if(1==updraft_restore_stage){jQuery("#updraft-restore-modal-stage1").slideUp("slow"),jQuery("#updraft-restore-modal-stage2").show(),updraft_restore_stage=2;var n=jQuery(".updraft_restore_date").first().text(),o=e,d=jQuery("#updraft_restore_timestamp").val();try{updraft_send_command("whichdownloadsneeded",{downloads:e,timestamp:d},function(t){if(t.hasOwnProperty("downloads")&&(console.log("UpdraftPlus: items which still require downloading follow"),o=t.downloads,console.log(o)),0==o.length)updraft_restorer_checkstage2(0);else for(var e=0;e<o.length;e++)updraft_downloader("udrestoredlstatus_",d,o[e][0],"#ud_downloadstatus2",o[e][1],n,!1)},{alert_on_error:!1,error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft-restore-modal-stage2a").html('<p style="color:red;">'+r.fatal_error_message+"</p>");else{var n="updraft_send_command: error: "+e+" ("+a+")";jQuery("#updraft-restore-modal-stage2a").html('<p style="color:red; margin: 5px;">'+n+"</p>"),console.log(n),console.log(t)}}})}catch(u){console.log("UpdraftPlus: error (follows) when looking for items needing downloading"),console.log(u),alert(updraftlion.jsonnotunderstood)}}else if(2==updraft_restore_stage)updraft_restorer_checkstage2(1);else if(3==updraft_restore_stage){var s=1;if(jQuery("#updraft_restoreoptions_ui input.required").each(function(t){if(0!=s){var e=jQuery(this).val();if(""==e)alert(updraftlion.pleasefillinrequired),s=0;else if(""!=jQuery(this).attr("pattern")){var a=jQuery(this).attr("pattern"),r=new RegExp(a,"g");r.test(e)||(alert(jQuery(this).data("invalidpattern")),s=0)}}}),!s)return;var i=jQuery("#updraft_restoreoptions_ui select, #updraft_restoreoptions_ui input").serialize();console.log("Restore options: "+i),jQuery("#updraft_restorer_restore_options").val(i),jQuery("#updraft-restore-modal-stage2a").html(updraftlion.restore_proceeding),jQuery("#updraft_restore_form").submit(),updraft_restore_stage=4}}else alert(updraftlion.youdidnotselectany)},w[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-restore-modal").dialog({autoOpen:!1,height:505,width:590,modal:!0,buttons:w}),jQuery("#updraft-iframe-modal").dialog({autoOpen:!1,height:500,width:780,modal:!0}),jQuery("#updraft-backupnow-inpage-modal").dialog({autoOpen:!1,height:380,width:580,modal:!0});var j={};j[updraftlion.backupnow]=function(){var t=jQuery("#backupnow_includedb").is(":checked")?0:1,e=jQuery("#backupnow_includefiles").is(":checked")?0:1,a=jQuery("#backupnow_includecloud").is(":checked")?0:1,r=backupnow_whichtables_checked(""),n=jQuery("#always_keep").is(":checked")?1:0,o="incremental"==jQuery("#updraft-backupnow-modal").data("backup-type")?1:0;if(""==r&&0==t)return alert(updraftlion.notableschosen),void jQuery("#backupnow_includefiles_moreoptions").show();"boolean"==typeof r&&(r=null);var d=backupnow_whichfiles_checked("");return""==d&&0==e?(alert(updraftlion.nofileschosen),void jQuery("#backupnow_includefiles_moreoptions").show()):t&&e?void alert(updraftlion.excludedeverything):(jQuery(this).dialog("close"),setTimeout(function(){jQuery("#updraft_lastlogmessagerow").fadeOut("slow",function(){jQuery(this).fadeIn("slow")})},1700),void updraft_backupnow_go(t,e,a,d,{always_keep:n,incremental:o},jQuery("#backupnow_label").val(),r))},j[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-backupnow-modal").dialog({autoOpen:!1,height:472,width:610,modal:!0,buttons:j,create:function(){t(this).closest(".ui-dialog").find(".ui-dialog-buttonpane .ui-button:first").addClass("js-tour-backup-now-button")}}),jQuery("#updraft-poplog").dialog({autoOpen:!1,height:600,width:"75%",modal:!0}),jQuery("#updraft-navtab-settings-content .enableexpertmode").click(function(){return jQuery("#updraft-navtab-settings-content .expertmode").fadeIn(),jQuery("#updraft-navtab-settings-content .enableexpertmode").off("click"),!1}),jQuery("#updraft-navtab-settings-content .backupdirrow").on("click","a.updraft_backup_dir_reset",function(){return jQuery("#updraft_dir").val("updraft"),!1}),jQuery("#updraft-navtab-settings-content .updraft_include_entity").click(function(){var t=jQuery(this).data("toggle_exclude_field");t&&l(t,!1)}),jQuery(".updraft_exclude_entity_container").on("click",".updraft_exclude_entity_delete",function(t){if(t.preventDefault(),confirm(updraftlion.exclude_rule_remove_conformation_msg)){var e=jQuery(this).data("include-backup-file");jQuery.when(jQuery(this).closest(".updraft_exclude_entity_wrapper").remove()).then(updraft_exclude_entity_update(e))}}),jQuery(".updraft_exclude_entity_container").on("click",".updraft_exclude_entity_edit",function(t){t.preventDefault();var e=jQuery(this).hide().closest(".updraft_exclude_entity_wrapper"),a=e.find("input");a.removeProp("readonly").focus();var r=a.val();a.val(""),a.val(r),e.find(".updraft_exclude_entity_update").addClass("is-active").show()}),jQuery(".updraft_exclude_entity_container").on("click",".updraft_exclude_entity_update",function(t){t.preventDefault();var e=jQuery(this).closest(".updraft_exclude_entity_wrapper"),a=jQuery(this).data("include-backup-file"),r=jQuery.trim(e.find("input").val()),n=!1;r==e.find("input").data("val")?n=!0:updraft_is_unique_exclude_rule(r,a)&&(n=!0),n&&(jQuery(this).hide().removeClass("is-active"),jQuery.when(e.find("input").prop("readonly","readonly").data("val",r)).then(function(){e.find(".updraft_exclude_entity_edit").show(),updraft_exclude_entity_update(a)}))}),jQuery("#updraft_exclude_modal").dialog({autoOpen:!1,modal:!0,width:520,height:"auto",open:function(e,a){t(this).parent().focus()}}),jQuery(".updraft_exclude_container .updraft_add_exclude_item").click(function(t){t.preventDefault();var e=jQuery(this).data("include-backup-file");jQuery("#updraft_exclude_modal_for").val(e),jQuery("#updraft_exclude_modal_path").val(jQuery(this).data("path")),"uploads"==e&&jQuery("#updraft-exclude-file-dir-prefix").html(jQuery("#updraft-exclude-upload-base-dir").val()),jQuery(".updraft-exclude-modal-reset").trigger("click"),jQuery("#updraft_exclude_modal").dialog("open")}),jQuery(".updraft-exclude-link").click(function(t){t.preventDefault();var e=jQuery(this).data("panel");"file-dir"==e&&jQuery("#updraft_exclude_files_folders_jstree").jstree({core:{multiple:!1,data:function(t,e){updraft_send_command("get_jstree_directory_nodes",{entity:"filebrowser",node:t,path:jQuery("#updraft_exclude_modal_path").val(),findex:0,skip_root_node:!0},function(t){t.hasOwnProperty("error")?alert(t.error):e.call(this,t.nodes)},{error_callback:function(t,e,a,r){if("undefined"!=typeof r&&r.hasOwnProperty("fatal_error"))console.error(r.fatal_error_message),jQuery("#updraft_zip_files_jstree").html('<p style="color:red; margin: 5px;">'+r.fatal_error_message+"</p>"),alert(r.fatal_error_message);else{var n="updraft_send_command: error: "+e+" ("+a+")";jQuery("#updraft_zip_files_jstree").html('<p style="color:red; margin: 5px;">'+n+"</p>"),console.log(n),alert(n),console.log(t)}}})},error:function(t){alert(t),console.log(t)}},search:{show_only_matches:!0},plugins:["sort"]}),jQuery("#updraft_exclude_modal_main").slideUp(),jQuery(".updraft-exclude-panel").hide(),jQuery(".updraft-exclude-panel[data-panel="+e+"]").slideDown()}),jQuery(".updraft-exclude-modal-reset").click(function(t){t.preventDefault(),jQuery("#updraft_exclude_files_folders_jstree").jstree("destroy"),jQuery("#updraft_exclude_extension_field").val(""),jQuery("#updraft_exclude_prefix_field").val(""),jQuery(".updraft-exclude-panel").slideUp(),jQuery("#updraft_exclude_modal_main").slideDown()}),jQuery(".updraft-exclude-submit").click(function(){var t=jQuery(this).data("panel"),e="";switch(t){case"file-dir":var a=jQuery("#updraft_exclude_files_folders_jstree").jstree("get_selected");if(0==a.length)return void alert(updraftlion.exclude_select_file_or_folder_msg);var r=a[0],n=jQuery("#updraft_exclude_modal_path").val();r.substr(0,n.length)==n&&(r=r.substr(n.length,r.length)),"/"==r.charAt(0)&&(r=r.substr(1)),"/"==r.charAt(r.length-1)&&(r=r.substr(0,r.length-1)),e=r;break;case"extension":var o=jQuery("#updraft_exclude_extension_field").val();if(""==o)return void alert(updraftlion.exclude_type_ext_msg);if(!o.match(/^[0-9a-zA-Z]+$/))return void alert(updraftlion.exclude_ext_error_msg);e="ext:"+o;break;case"begin-with":var d=jQuery("#updraft_exclude_prefix_field").val();if(""==d)return void alert(updraftlion.exclude_type_prefix_msg);if(!d.match(/^\s*[a-z-_\d,\s]+\s*$/i))return void alert(updraftlion.exclude_prefix_error_msg);e="prefix:"+d;break;default:return}var u=jQuery("#updraft_exclude_modal_for").val();if(updraft_is_unique_exclude_rule(e,u)){var s='<div class="updraft_exclude_entity_wrapper"><input type="text" class="updraft_exclude_entity_field updraft_include_'+u+'_exclude_entity" name="updraft_include_'+u+'_exclude_entity[]" value="'+e+'" data-val="'+e+'" data-include-backup-file="'+u+'" readonly="readonly"><a href="#" class="updraft_exclude_entity_edit dashicons dashicons-edit" data-include-backup-file="'+u+'"></a><a href="#" class="updraft_exclude_entity_update dashicons dashicons-yes" data-include-backup-file="'+u+'" style="display: none;"></a><a href="#" class="updraft_exclude_entity_delete dashicons dashicons-no" data-include-backup-file="'+u+'"></a></div>';jQuery('.updraft_exclude_entity_container[data-include-backup-file="'+u+'"]').append(s),updraft_exclude_entity_update(u),jQuery("#updraft_exclude_modal").dialog("close")}}),jQuery("#updraft-navtab-settings-content .updraft-service").change(function(){var t=jQuery(this).val();jQuery("#updraft-navtab-settings-content .updraftplusmethod").hide(),jQuery("#updraft-navtab-settings-content ."+t).show()}),jQuery("#updraft-navtab-settings-content a.updraft_show_decryption_widget").click(function(t){t.preventDefault(),jQuery("#updraftplus_db_decrypt").val(jQuery("#updraft_encryptionphrase").val()),jQuery("#updraft-manualdecrypt-modal").slideToggle()}),jQuery("#updraftplus-phpinfo").click(function(t){t.preventDefault(),updraft_iframe_modal("phpinfo",updraftlion.phpinfo)}),jQuery("#updraftplus-rawbackuphistory").click(function(t){t.preventDefault(),updraft_iframe_modal("rawbackuphistory",updraftlion.raw)}),jQuery("#updraft-navtab-status").click(function(t){t.preventDefault(),updraft_open_main_tab("status"),updraft_page_is_visible=1,updraft_console_focussed_tab="status",updraft_activejobs_update(!0)}),jQuery("#updraft-navtab-expert").click(function(t){t.preventDefault(),updraft_open_main_tab("expert"),updraft_page_is_visible=1}),jQuery("#updraft-navtab-settings, #updraft-navtab-settings2, #updraft_backupnow_gotosettings").click(function(t){t.preventDefault(),jQuery(this).parents(".updraftmessage").remove(),jQuery("#updraft-backupnow-modal").dialog("close"),updraft_open_main_tab("settings"),updraft_page_is_visible=1}),jQuery("#updraft-navtab-addons").click(function(t){t.preventDefault(),jQuery(this).addClass("b#nav-tab-active"),updraft_open_main_tab("addons"),updraft_page_is_visible=1}),jQuery("#updraft-navtab-backups").click(function(t){t.preventDefault(),updraft_console_focussed_tab="backups",updraft_historytimertoggle(1),updraft_open_main_tab("backups")}),jQuery("#updraft-navtab-migrate").click(function(t){t.preventDefault(),jQuery("#updraft_migrate_tab_alt").html("").hide(),updraft_open_main_tab("migrate"),updraft_page_is_visible=1,jQuery("#updraft_migrate .updraft_migrate_widget_module_content").is(":visible")||jQuery(".updraft_migrate_intro").show()}),"migrate"==updraftlion.tab&&jQuery("#updraft-navtab-migrate").trigger("click"),updraft_send_command("ping",null,function(t,e){"success"==e&&"pong"!=t&&t.indexOf("pong")>=0&&(jQuery("#updraft-navtab-backups-content .ud-whitespace-warning").show(),console.log("UpdraftPlus: Extra output warning: response (which should be just (string)'pong') follows."),console.log(t))},{json_parse:!1,type:"GET"});try{"undefined"!=typeof updraft_plupload_config&&p()}catch(k){console.log(k)}if(jQuery("#updraftplus_httpget_go").click(function(t){t.preventDefault(),_(0)}),jQuery("#updraftplus_httpget_gocurl").click(function(t){t.preventDefault(),_(1)}),jQuery("#updraftplus_callwpaction_go").click(function(t){t.preventDefault(),params={wpaction:jQuery("#updraftplus_callwpaction").val()},updraft_send_command("call_wordpress_action",params,function(t){t.e?alert(t.e):t.s||(t.r?jQuery("#updraftplus_callwpaction_results").html(t.r):(console.log(t),alert(updraftlion.jsonnotunderstood)))})}),jQuery("#updraft_activejobs_table, #updraft-navtab-migrate-content").on("click",".updraft_jobinfo_delete",function(e){
4
  e.preventDefault();var a=jQuery(this).data("jobid");a?(t(this).addClass("disabled"),updraft_activejobs_delete(a)):console.log("UpdraftPlus: A stop job link was clicked, but the Job ID could not be found")}),jQuery("#updraft_activejobs_table, #updraft-navtab-backups-content .updraft_existing_backups, #updraft-backupnow-inpage-modal, #updraft-navtab-migrate-content").on("click",".updraft-log-link",function(t){t.preventDefault();var e=jQuery(this).data("fileid"),a=jQuery(this).data("jobid");e?updraft_popuplog(e):a?updraft_popuplog(a):console.log("UpdraftPlus: A log link was clicked, but the Job ID could not be found")}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("click","button.choose-components-button",function(t){var e=jQuery(this).data("entities"),a=jQuery(this).data("backup_timestamp"),r=jQuery(this).data("showdata");c(e,a,r)}),"initiate_restore"==f("udaction")){var Q=f("entities"),x=f("backup_timestamp"),O=f("showdata");c(Q,x,O)}var P={};P[updraftlion.uploadbutton]=function(){var t=jQuery("#updraft_upload_timestamp").val(),e=jQuery("#updraft_upload_nonce").val(),a="",r=!1;return jQuery(".updraft_remote_storage_destination").each(function(t){jQuery(this).is(":checked")&&(r=!0)}),r?(a=jQuery("input[name^='updraft_remote_storage_destination_']").serializeArray(),jQuery(this).dialog("close"),alert(updraftlion.local_upload_started),void updraft_send_command("upload_local_backup",{use_nonce:e,use_timestamp:t,services:a},function(t){})):void jQuery("#updraft-upload-modal-error").html(updraftlion.local_upload_error)},P[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-upload-modal").dialog({autoOpen:!1,height:322,width:430,modal:!0,buttons:P}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("click","button.updraft-upload-link",function(t){t.preventDefault();var e=jQuery(this).data("nonce").toString(),a=jQuery(this).data("key").toString(),r=jQuery(this).data("services").toString();e?m(a,e,r):console.log("UpdraftPlus: A upload link was clicked, but the Job ID could not be found")}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("click",".updraft-delete-link",function(t){t.preventDefault();var e=jQuery(this).data("hasremote"),a=jQuery(this).data("nonce").toString(),r=jQuery(this).data("key").toString();a?updraft_delete(r,a,e):console.log("UpdraftPlus: A delete link was clicked, but the Job ID could not be found")}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("click","button.updraft_download_button",function(t){t.preventDefault();var e="uddlstatus_",a=jQuery(this).data("backup_timestamp"),r=jQuery(this).data("what"),n=".ud_downloadstatus",o=jQuery(this).data("set_contents"),d=jQuery(this).data("prettydate"),u=!0;updraft_downloader(e,a,r,n,o,d,u)}),jQuery("#updraft-navtab-backups-content .updraft_existing_backups").on("dblclick",".updraft_existingbackup_date",function(t){t.preventDefault();var e=jQuery(this).data("rawbackup");null!=e&&""!=e&&updraft_html_modal(e,updraftlion.raw,780,500)})}),jQuery(document).ready(function(t){var e="#updraft-navtab-settings-content ";t(e+"#remote-storage-holder").on("click",".updraftvault_backtostart",function(a){a.preventDefault(),t(e+"#updraftvault_settings_showoptions").slideUp(),t(e+"#updraftvault_settings_connect").slideUp(),t(e+"#updraftvault_settings_connected").slideUp(),t(e+"#updraftvault_settings_default").slideDown()}),t(e).on("keypress","#updraftvault_settings_connect input",function(a){if(13==a.which)return t(e+"#updraftvault_connect_go").click(),!1}),t(e+"#remote-storage-holder").on("click","#updraftvault_recountquota",function(a){a.preventDefault(),t(e+"#updraftvault_recountquota").html(updraftlion.counting);try{updraft_send_command("vault_recountquota",{instance_id:t("#updraftvault_settings_connect").data("instance_id")},function(a){t(e+"#updraftvault_recountquota").html(updraftlion.updatequotacount),a.hasOwnProperty("html")&&(t(e+"#updraftvault_settings_connected").html(a.html),a.hasOwnProperty("connected")&&(a.connected?(t(e+"#updraftvault_settings_default").hide(),t(e+"#updraftvault_settings_connected").show()):(t(e+"#updraftvault_settings_connected").hide(),t(e+"#updraftvault_settings_default").show())))},{error_callback:function(a,r,n,o){if(t(e+"#updraftvault_recountquota").html(updraftlion.updatequotacount),"undefined"!=typeof o&&o.hasOwnProperty("fatal_error"))console.error(o.fatal_error_message),alert(o.fatal_error_message);else{var d="updraft_send_command: error: "+r+" ("+n+")";console.log(d),alert(d),console.log(a)}}})}catch(r){t(e+"#updraftvault_recountquota").html(updraftlion.updatequotacount),console.log(r)}}),t(e+"#remote-storage-holder").on("click","#updraftvault_disconnect",function(a){a.preventDefault(),t(e+"#updraftvault_disconnect").html(updraftlion.disconnecting);try{updraft_send_command("vault_disconnect",{immediate_echo:!0,instance_id:t("#updraftvault_settings_connect").data("instance_id")},function(a){t(e+"#updraftvault_disconnect").html(updraftlion.disconnect),a.hasOwnProperty("html")&&(t(e+"#updraftvault_settings_connected").html(a.html).slideUp(),t(e+"#updraftvault_settings_default").slideDown())},{error_callback:function(a,r,n,o){if(t(e+"#updraftvault_disconnect").html(updraftlion.disconnect),"undefined"!=typeof o&&o.hasOwnProperty("fatal_error"))console.error(o.fatal_error_message),alert(o.fatal_error_message);else{var d="updraft_send_command: error: "+r+" ("+n+")";console.log(d),alert(d),console.log(a)}}})}catch(r){t(e+"#updraftvault_disconnect").html(updraftlion.disconnect),console.log(r)}}),t(e+"#remote-storage-holder").on("click","#updraftvault_connect",function(a){a.preventDefault(),t(e+"#updraftvault_settings_default").slideUp(),t(e+"#updraftvault_settings_connect").slideDown()}),t(e+"#remote-storage-holder").on("click","#updraftvault_showoptions",function(a){a.preventDefault(),t(e+"#updraftvault_settings_default").slideUp(),t(e+"#updraftvault_settings_showoptions").slideDown()}),t("#remote-storage-holder").on("keyup",".updraftplus_onedrive_folder_input",function(e){var a=t(this).val(),r=t(this).closest("td");0==a.indexOf("https:")||0==a.indexOf("http:")?r.find(".onedrive_folder_error").length||r.append('<div class="onedrive_folder_error">'+updraftlion.onedrive_folder_url_warning+"</div>"):r.find(".onedrive_folder_error").slideUp("slow",function(){r.find(".onedrive_folder_error").remove()})}),t(e+"#remote-storage-holder").on("click","#updraftvault_connect_go",function(a){return t(e+"#updraftvault_connect_go").html(updraftlion.connecting),updraft_send_command("vault_connect",{email:t("#updraftvault_email").val(),pass:t("#updraftvault_pass").val(),instance_id:t("#updraftvault_settings_connect").data("instance_id")},function(a,r,n){t(e+"#updraftvault_connect_go").html(updraftlion.connect),a.hasOwnProperty("e")?(updraft_html_modal('<h4 style="margin-top:0px; padding-top:0px;">'+updraftlion.errornocolon+"</h4><p>"+a.e+"</p>",updraftlion.disconnect,400,250),a.hasOwnProperty("code")&&"no_quota"==a.code&&(t(e+"#updraftvault_settings_connect").slideUp(),t(e+"#updraftvault_settings_default").slideDown())):a.hasOwnProperty("connected")&&a.connected&&a.hasOwnProperty("html")?(t(e+"#updraftvault_settings_connect").slideUp(),t(e+"#updraftvault_settings_connected").html(a.html).slideDown()):(console.log(a),alert(updraftlion.unexpectedresponse+" "+n))},{error_callback:function(a,r,n,o){if(t(e+"#updraftvault_connect_go").html(updraftlion.connect),"undefined"!=typeof o&&o.hasOwnProperty("fatal_error"))console.error(o.fatal_error_message),alert(o.fatal_error_message);else{var d="updraft_send_command: error: "+r+" ("+n+")";console.log(d),alert(d),console.log(a)}}}),!1}),t("#updraft-iframe-modal").on("change","#always_keep_this_backup",function(){var e=t(this).data("backup_key"),a={backup_key:e,always_keep:t(this).is(":checked")?1:0};updraft_send_command("always_keep_this_backup",a,function(t){t.hasOwnProperty("rawbackup")&&(jQuery("#updraft-iframe-modal").dialog("close"),jQuery(".updraft_existing_backups_row_"+e+" .updraft_existingbackup_date").data("rawbackup",t.rawbackup),updraft_html_modal(jQuery(".updraft_existing_backups_row_"+e+" .updraft_existingbackup_date").data("rawbackup"),updraftlion.raw,780,500))})})}),jQuery(document).ready(function(t){function e(){var t=new plupload.Uploader(updraft_plupload_config2);t.bind("Init",function(t){var e=jQuery("#plupload-upload-ui2");t.features.dragdrop?(e.addClass("drag-drop"),jQuery("#drag-drop-area2").bind("dragover.wp-uploader",function(){e.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){e.removeClass("drag-over")})):(e.removeClass("drag-drop"),jQuery("#drag-drop-area2").unbind(".wp-uploader"))}),t.init(),t.bind("FilesAdded",function(e,a){plupload.each(a,function(e){return/^backup_([\-0-9]{15})_.*_([0-9a-f]{12})-db([0-9]+)?\.(gz\.crypt)$/i.test(e.name)?void jQuery("#filelist2").append('<div class="file" id="'+e.id+'"><b>'+e.name+"</b> (<span>"+plupload.formatSize(0)+"</span>/"+plupload.formatSize(e.size)+') <div class="fileprogress"></div></div>'):(alert(e.name+": "+updraftlion.notdba),void t.removeFile(e))}),e.refresh(),e.start()}),t.bind("UploadProgress",function(t,e){jQuery("#"+e.id+" .fileprogress").width(e.percent+"%"),jQuery("#"+e.id+" span").html(plupload.formatSize(parseInt(e.size*e.percent/100)))}),t.bind("Error",function(t,e){"-200"==e.code?err_makesure="\n"+updraftlion.makesure2:err_makesure=updraftlion.makesure,alert(updraftlion.uploaderr+" (code "+e.code+") : "+e.message+" "+err_makesure)}),t.bind("FileUploaded",function(t,e,a){"200"==a.status?"ERROR:"==a.response.substring(0,6)?alert(updraftlion.uploaderror+" "+a.response.substring(6)):"OK:"==a.response.substring(0,3)?(bkey=a.response.substring(3),jQuery("#"+e.id+" .fileprogress").hide(),jQuery("#"+e.id).append(updraftlion.uploaded+' <a href="?page=updraftplus&action=downloadfile&updraftplus_file='+bkey+"&decrypt_key="+encodeURIComponent(jQuery("#updraftplus_db_decrypt").val())+'">'+updraftlion.followlink+"</a> "+updraftlion.thiskey+" "+jQuery("#updraftplus_db_decrypt").val().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"))):alert(updraftlion.unknownresp+" "+a.response):alert(updraftlion.ukrespstatus+" "+a.code)})}try{"undefined"!=typeof updraft_plupload_config2&&e()}catch(a){console.log(a)}if(jQuery("#updraft-hidethis").remove(),Handlebars.registerHelper("ifeq",function(t,e,a){return"string"!=typeof t&&"undefined"!=typeof t&&null!==t&&(t=t.toString()),"string"!=typeof e&&"undefined"!=typeof e&&null!==e&&(e=e.toString()),t===e?a.fn(this):a.inverse(this)}),t("#remote-storage-holder").length){var r="";for(var n in updraftlion.remote_storage_templates)if("undefined"!=typeof updraftlion.remote_storage_options[n]&&1<Object.keys(updraftlion.remote_storage_options[n]).length){var o=Handlebars.compile(updraftlion.remote_storage_templates[n]),d=!0;for(var u in updraftlion.remote_storage_options[n])if("default"!==u){var s=updraftlion.remote_storage_options[n][u];s.first_instance=d,"undefined"==typeof s.instance_enabled&&(s.instance_enabled=1),r+=o(s),d=!1}}else r+=updraftlion.remote_storage_templates[n];t("#remote-storage-holder").append(r).ready(function(){t(".updraftplusmethod").not(".none").hide(),updraft_remote_storage_tabs_setup(),t("#remote-storage-holder .updraftplus_onedrive_folder_input").trigger("keyup")})}}),jQuery(document).ready(function(t){function e(){var t=r("object"),e=new Date;t=JSON.stringify({version:"1.12.40",epoch_date:e.getTime(),local_date:e.toLocaleString(),network_site_url:updraftlion.network_site_url,data:t});var a=document.body.appendChild(document.createElement("a"));a.setAttribute("download",updraftlion.export_settings_file_name),a.setAttribute("style","display:none;"),a.setAttribute("href","data:text/json;charset=UTF-8,"+encodeURIComponent(t)),a.click()}function a(e){var a,r=decodeURIComponent(e);try{a=ud_parse_json(r)}catch(o){return t.unblockUI(),jQuery("#import_settings").val(""),console.log(r),console.log(o),void alert(updraftlion.import_invalid_json_file)}if(window.confirm(updraftlion.importing_data_from+" "+r.network_site_url+"\n"+updraftlion.exported_on+" "+r.local_date+"\n"+updraftlion.continue_import)){var d=JSON.stringify(a.data);updraft_send_command("importsettings",{settings:d,updraftplus_version:updraftlion.updraftplus_version},function(e,a,r){var o=n(e);!o.hasOwnProperty("saved")||o.saved?(updraft_settings_form_changed=!1,location.replace(updraftlion.updraft_settings_url)):(t.unblockUI(),o.hasOwnProperty("error_message")&&o.error_message&&alert(o.error_message))},{action:"updraft_importsettings",nonce:updraftplus_settings_nonce,error_callback:function(e,a,r,n){if(t.unblockUI(),"undefined"!=typeof n&&n.hasOwnProperty("fatal_error"))console.error(n.fatal_error_message),alert(n.fatal_error_message);else{var o="updraft_send_command: error: "+a+" ("+r+")";console.log(o),console.log(e),alert(o)}}})}else t.unblockUI()}function r(e){var a="",e="undefined"==typeof e?"string":e;return"object"==e?a=t("#updraft-navtab-settings-content form input[name!='action'][name!='option_page'][name!='_wpnonce'][name!='_wp_http_referer'], #updraft-navtab-settings-content form textarea, #updraft-navtab-settings-content form select, #updraft-navtab-settings-content form input[type=checkbox]").serializeJSON({checkboxUncheckedValue:"0",useIntKeysAsArrayIndex:!0}):(a=t("#updraft-navtab-settings-content form input[name!='action'], #updraft-navtab-settings-content form textarea, #updraft-navtab-settings-content form select").serialize(),t.each(t("#updraft-navtab-settings-content form input[type=checkbox]").filter(function(e){return 0==t(this).prop("checked")}),function(e,r){var n="0";a+="&"+t(r).attr("name")+"="+n})),a}function n(e,a){try{var r=(e.messages,e.backup_dir.writable),n=e.backup_dir.message,o=e.backup_dir.button_title}catch(d){return console.log(d),console.log(a),alert(updraftlion.jsonnotunderstood),t.unblockUI(),{}}if(e.hasOwnProperty("changed")){console.log("UpdraftPlus: savesettings: some values were changed after being filtered"),console.log(e.changed);for(prop in e.changed)if("object"==typeof e.changed[prop])for(innerprop in e.changed[prop])t("[name='"+innerprop+"']").is(":checkbox")||t("[name='"+prop+"["+innerprop+"]']").val(e.changed[prop][innerprop]);else t("[name='"+prop+"']").is(":checkbox")||t("[name='"+prop+"']").val(e.changed[prop])}return t("#updraft_writable_mess").html(n),0==r?(t("#updraft-backupnow-button").attr("disabled","disabled"),t("#updraft-backupnow-button").attr("title",o),t(".backupdirrow").css("display","table-row")):(t("#updraft-backupnow-button").removeAttr("disabled"),t("#updraft-backupnow-button").removeAttr("title")),e.hasOwnProperty("updraft_include_more_path")&&t("#backupnow_includefiles_moreoptions").html(e.updraft_include_more_path),e.hasOwnProperty("backup_now_message")&&t("#backupnow_remote_container").html(e.backup_now_message),t(".updraftmessage").remove(),t("#updraft_backup_started").before(e.messages),console.log(e),t("#updraft-next-files-backup-inner").html(e.files_scheduled),t("#updraft-next-database-backup-inner").html(e.database_scheduled),e}function o(){var t=!1;if(jQuery("#updraft-authenticate-modal-innards").html(""),jQuery("div[class*=updraft_authenticate_] a.updraft_authlink").each(function(){jQuery("#updraft-authenticate-modal-innards").append('<p><a href="'+jQuery(this).attr("href")+'">'+jQuery(this).html()+"</a></p>"),t=!0}),t){var e={};e[updraftlion.cancel]=function(){jQuery(this).dialog("close")},jQuery("#updraft-authenticate-modal").dialog({autoOpen:!0,modal:!0,resizable:!1,draggable:!1,buttons:e,width:"auto"}).dialog("open")}}var d=new Image;d.src=updraftlion.ud_url+"/images/notices/updraft_logo.png",t("#updraft-navtab-settings-content input.updraft_include_entity").change(function(e){var a=t(this).attr("id"),r=t(this).is(":checked"),n="#backupnow_files_"+a;t(n).prop("checked",r)}),t("#updraftplus-settings-save").click(function(e){e.preventDefault(),t.blockUI({css:{width:"300px",border:"none","border-radius":"10px",left:"calc(50% - 150px)",padding:"20px"},message:'<div style="margin: 8px; font-size:150%;" class="updraft_saving_popup"><img src="'+updraftlion.ud_url+'/images/notices/updraft_logo.png" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.saving+"</div>"});var a=r("string");updraft_send_command("savesettings",{settings:a,updraftplus_version:updraftlion.updraftplus_version},function(e,a,r){n(e,r),t("#updraft-wrap .fade").delay(6e3).fadeOut(2e3),window.updraft_main_tour&&!window.updraft_main_tour.canceled?(window.updraft_main_tour.show("settings_saved"),o()):t("html, body").animate({scrollTop:t("#updraft-wrap").offset().top},1e3,function(){o()}),t.unblockUI()},{action:"updraft_savesettings",error_callback:function(e,a,r,n){if(t.unblockUI(),"undefined"!=typeof n&&n.hasOwnProperty("fatal_error"))console.error(n.fatal_error_message),alert(n.fatal_error_message);else{var o="updraft_send_command: error: "+a+" ("+r+")";console.log(o),alert(o),console.log(e)}},nonce:updraftplus_settings_nonce})}),t("#updraftplus-settings-export").click(function(){updraft_settings_form_changed&&alert(updraftlion.unsaved_settings_export),e()}),t("#updraftplus-settings-import").click(function(){t.blockUI({css:{width:"300px",border:"none","border-radius":"10px",left:"calc(50% - 150px)",padding:"20px"},message:'<div style="margin: 8px; font-size:150%;" class="updraft_saving_popup"><img src="'+updraftlion.ud_url+'/images/notices/updraft_logo.png" height="80" width="80" style="padding-bottom:10px;"><br>'+updraftlion.importing+"</div>"});var e=document.getElementById("import_settings");if(0==e.files.length)return alert(updraftlion.import_select_file),void t.unblockUI();var r=e.files[0],n=new FileReader;n.onload=function(){a(this.result)},n.readAsText(r)}),t(".udp-replace-with-iframe--js").on("click",function(e){e.preventDefault();var a=t(this).prop("href"),r=t('<iframe width="356" height="200" allowfullscreen webkitallowfullscreen mozallowfullscreen>').attr("src",a);r.insertAfter(t(this)),t(this).remove()})}),jQuery(document).ready(function(t){function e(e,n,o,d){if("function"==typeof o){var u=t(d).find("#updraftcentral_cloud_form"),s=u.find('.form_hidden_fields input[name="key"]');if(s.length&&""!==s.val())return void o.apply(this,[s.val()]);var i={where_send:"__updraftpluscom",key_description:"",key_size:e,mothership_firewalled:n};a(d),updraft_send_command("updraftcentral_create_key",i,function(e){r(d);try{if(i=ud_parse_json(e),i.hasOwnProperty("error"))return void console.log(i);i.hasOwnProperty("bundle")?o.apply(this,[i.bundle]):i.hasOwnProperty("r")?(t(d).find(".updraftcentral_cloud_notices").html(updraftlion.trouble_connecting).addClass("updraftcentral_cloud_info"),alert(i.r)):console.log(i)}catch(a){console.log(a)}},{json_parse:!1})}}function a(e){t(e).find(".updraftplus_spinner.spinner").addClass("visible")}function r(e){t(e).find(".updraftplus_spinner.spinner").removeClass("visible")}function n(e,n){a(n),updraft_send_command("process_updraftcentral_registration",e,function(a){r(n);try{if(e=ud_parse_json(a),e.hasOwnProperty("error")){var o=e.message,u=["existing_user_email","email_exists"];return-1!==t.inArray(e.code,u)&&(o=e.message+" "+updraftlion.perhaps_login),t(n).find(".updraftcentral_cloud_notices").html(o).addClass("updraftcentral_cloud_error"),t(n).find(".updraftcentral_cloud_notices a").attr("target","_blank"),void console.log(e)}"registered"===e.status&&(t(n).find(".updraftcentral_cloud_form_container").hide(),t(n).find(".updraftcentral-subheading").hide(),t(n).find(".updraftcentral_cloud_notices").removeClass("updraftcentral_cloud_error"),d(n,e,updraftlion.registration_successful))}catch(s){console.log(s)}},{json_parse:!1})}function o(e,o){a(o),updraft_send_command("process_updraftcentral_login",e,function(a){r(o);try{if(data=ud_parse_json(a),data.hasOwnProperty("error")){if("incorrect_password"===data.code&&(t(o).find(".updraftcentral_cloud_form_container .tfa_fields").hide(),t(o).find(".updraftcentral_cloud_form_container .non_tfa_fields").show(),t(o).find("input#two_factor_code").val(""),t(o).find("input#password").val("").focus()),"email_not_registered"!==data.code)return t(o).find(".updraftcentral_cloud_notices").html(data.message).addClass("updraftcentral_cloud_error"),t(o).find(".updraftcentral_cloud_notices a").attr("target","_blank"),void console.log(data);n(e,o)}data.hasOwnProperty("tfa_enabled")&&1==data.tfa_enabled&&(t(o).find(".updraftcentral_cloud_notices").html("").removeClass("updraftcentral_cloud_error"),t(o).find(".updraftcentral_cloud_form_container .non_tfa_fields").hide(),t(o).find(".updraftcentral_cloud_form_container .tfa_fields").show(),t(o).find("input#two_factor_code").focus()),"authenticated"===data.status&&(t(o).find(".updraftcentral_cloud_form_container").hide(),t(o).find(".updraftcentral_cloud_notices").removeClass("updraftcentral_cloud_error"),d(o,data,updraftlion.login_successful))}catch(u){console.log(u)}},{json_parse:!1})}function d(e,a,r){var n=t(e).find("form#updraftcentral_cloud_redirect_form");n.attr("action",a.redirect_url),n.attr("target","_blank"),"undefined"!=typeof a.redirect_token&&n.append('<input type="hidden" name="redirect_token" value="'+a.redirect_token+'">'),a.hasOwnProperty("keys_table")&&a.keys_table&&t("#updraftcentral_keys_content").html(a.keys_table),t(".updraftplus-addons-connect-to-udc").remove(),$redirect_lnk='<a href="'+updraftlion.current_clean_url+'" class="updraftcentral_cloud_redirect_link">'+updraftlion.updraftcentral_cloud+"</a>",$close_lnk='<a href="'+updraftlion.current_clean_url+'" class="updraftcentral_cloud_close_link">'+updraftlion.close_wizard+"</a>",t(e).find(".updraftcentral_cloud_notices").html(r.replace("%s",$redirect_lnk)+" "+$close_lnk+"<br/><br/>"+updraftlion.control_udc_connections),t(e).find(".updraftcentral_cloud_notices .updraftcentral_cloud_redirect_link").off("click").on("click",function(a){a.preventDefault(),n.submit(),t(e).find(".updraftcentral_cloud_notices .updraftcentral_cloud_close_link").trigger("click")}),t(e).find(".updraftcentral_cloud_notices .updraftcentral_cloud_close_link").off("click").on("click",function(a){a.preventDefault(),t(e).dialog("close"),t("#updraftcentral_cloud_connect_container").hide()})}function u(e){var a=t(e).find("#updraftcentral_cloud_form"),r=a.find("input#email").val(),n=a.find("input#password").val(),o=/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;t(e).find(".updraftcentral_cloud_notices").html("").removeClass("updraftcentral_cloud_error updraftcentral_cloud_info");var d=a.find('.updraftcentral-data-consent > input[name="i_consent"]').is(":checked");return d?0===r.length||0===n.length?(t(e).find(".updraftcentral_cloud_notices").html(updraftlion.username_password_required).addClass("updraftcentral_cloud_error"),!1):null!==r.match(o)||(t(e).find(".updraftcentral_cloud_notices").html(updraftlion.valid_email_required).addClass("updraftcentral_cloud_error"),!1):(t(e).find(".updraftcentral_cloud_notices").html(updraftlion.data_consent_required).addClass("updraftcentral_cloud_error"),!1)}function s(a,r){var d=t(a).find("#updraft_central_keysize").val(),u=t(a).find("#updraft_central_firewalled").is(":checked")?1:0;e(d,u,function(e){var d=t(a).find("#updraftcentral_cloud_form"),u=d.find('.form_hidden_fields input[name="key"]');0===u.length&&d.find(".form_hidden_fields").append('<input type="hidden" name="key" value="'+e+'">');var s=d.find("input").serialize(),i={form_data:s};"undefined"!=typeof r&&r?n(i,a):o(i,a)},a)}function i(){var e=t("#updraftcentral_cloud_login_form");if(e.length){t("#updraft-iframe-modal-innards").html(e.html());var a=t("#updraft-iframe-modal").dialog("option","title",updraftlion.updraftcentral_cloud).dialog("option","width",520).dialog("option","height",450).dialog("option","buttons",{});a.dialog("open");var r=a.find(".updraftcentral-data-consent"),n=r.find("input").attr("name");"undefined"!=typeof n&&n&&(r.find("input").attr("id",n),r.find("label").attr("for",n))}}jQuery("#updraft-restore-modal").on("change","#updraft_restorer_charset",function(e){if(t("#updraft_restorer_charset").length&&t("#updraft_restorer_collate").length&&t("#collate_change_on_charset_selection_data").length){var a=t("#updraft_restorer_charset").val();t("#updraft_restorer_collate option").show(),t("#updraft_restorer_collate option[data-charset!="+a+"]").hide(),updraft_send_command("collate_change_on_charset_selection",{collate_change_on_charset_selection_data:t("#collate_change_on_charset_selection_data").val(),updraft_restorer_charset:a,updraft_restorer_collate:t("#updraft_restorer_collate").val()},function(e){e.hasOwnProperty("is_action_required")&&1==e.is_action_required&&e.hasOwnProperty("similar_type_collate")&&t("#updraft_restorer_collate").val(e.similar_type_collate)})}}),t("#updraft-wrap #btn_cloud_connect").on("click",function(){i()}),t("#updraft-wrap a#self_hosted_connect").on("click",function(e){e.preventDefault(),t("h2.nav-tab-wrapper > a#updraft-navtab-expert").trigger("click"),t("div.advanced_settings_menu > #updraft_central").trigger("click")}),t("#updraft-iframe-modal").on("click","#updraftcentral_cloud_login",function(e){e.preventDefault();var a=t(this).closest("#updraft-iframe-modal");u(a)&&s(a)});var l={};t(document).on("heartbeat-send",function(t,e){l=updraft_poll_get_parameters(),e.updraftplus=l}),t(document).on("heartbeat-tick",function(t,e){if(null!==e&&e.hasOwnProperty("updraftplus")){var a=e.updraftplus,r=JSON.stringify(a);updraft_process_status_check(a,r,l)}})});
languages/updraftplus.pot CHANGED
@@ -25,7 +25,7 @@ msgstr ""
25
  msgid "UpdraftPlus Automatic Backups"
26
  msgstr ""
27
 
28
- #: src/addons/autobackup.php:157, src/addons/autobackup.php:1026, src/admin.php:915
29
  msgid "Automatic backup before update"
30
  msgstr ""
31
 
@@ -49,7 +49,7 @@ msgstr ""
49
  msgid "(logs can be found in the UpdraftPlus settings page as normal)..."
50
  msgstr ""
51
 
52
- #: src/addons/autobackup.php:344, src/addons/autobackup.php:439, src/admin.php:3091, src/admin.php:3097, src/templates/wp-admin/settings/take-backup.php:69
53
  msgid "Last log message"
54
  msgstr ""
55
 
@@ -57,7 +57,7 @@ msgstr ""
57
  msgid "Starting automatic backup..."
58
  msgstr ""
59
 
60
- #: src/addons/autobackup.php:349, src/addons/autobackup.php:441, src/admin.php:866, src/methods/remotesend.php:71, src/methods/remotesend.php:79, src/methods/remotesend.php:245, src/methods/remotesend.php:262, src/methods/remotesend.php:310
61
  msgid "Unexpected response:"
62
  msgstr ""
63
 
@@ -97,7 +97,7 @@ msgstr ""
97
  msgid "now proceeding with the updates..."
98
  msgstr ""
99
 
100
- #: src/addons/autobackup.php:1072, src/admin.php:1045
101
  msgid "Be safe with an automatic backup"
102
  msgstr ""
103
 
@@ -109,7 +109,7 @@ msgstr ""
109
  msgid "Do not abort after pressing Proceed below - wait for the backup to complete."
110
  msgstr ""
111
 
112
- #: src/addons/autobackup.php:1104, src/admin.php:911
113
  msgid "Proceed with update"
114
  msgstr ""
115
 
@@ -145,11 +145,11 @@ msgstr ""
145
  msgid "You must add the following as the authorised redirect URI in your Azure console (under \"API Settings\") when asked"
146
  msgstr ""
147
 
148
- #: src/addons/azure.php:608, src/addons/migrator.php:948, src/admin.php:1222, src/admin.php:1226, src/admin.php:1230, src/admin.php:1234, src/admin.php:1238, src/admin.php:1247, src/admin.php:3947, src/admin.php:3954, src/admin.php:3956, src/admin.php:5315, src/methods/cloudfiles-new.php:100, src/methods/cloudfiles.php:440, src/methods/ftp.php:335, src/methods/openstack-base.php:571, src/methods/s3.php:865, src/methods/s3.php:869, src/methods/updraftvault.php:324, src/templates/wp-admin/settings/downloading-and-restoring.php:27, src/templates/wp-admin/settings/tab-backups.php:27, src/udaddons/updraftplus-addons.php:265
149
  msgid "Warning"
150
  msgstr ""
151
 
152
- #: src/addons/azure.php:608, src/admin.php:3947, src/methods/updraftvault.php:324
153
  msgid "Your web server's PHP installation does not included a <strong>required</strong> (for %s) module (%s). Please contact your web hosting provider's support and ask for them to enable it."
154
  msgstr ""
155
 
@@ -229,11 +229,11 @@ msgstr ""
229
  msgid "Azure China"
230
  msgstr ""
231
 
232
- #: src/addons/backblaze.php:205, src/admin.php:2207
233
  msgid "Error: unexpected file read fail"
234
  msgstr ""
235
 
236
- #: src/addons/backblaze.php:225, src/addons/cloudfiles-enhanced.php:117, src/addons/migrator.php:893, src/addons/migrator.php:1190, src/addons/migrator.php:1271, src/addons/migrator.php:1320, src/addons/migrator.php:1558, src/addons/s3-enhanced.php:161, src/addons/s3-enhanced.php:166, src/addons/s3-enhanced.php:168, src/addons/sftp.php:923, src/addons/webdav.php:203, src/admin.php:93, src/admin.php:880, src/includes/class-remote-send.php:273, src/includes/class-remote-send.php:300, src/includes/class-remote-send.php:306, src/includes/class-remote-send.php:369, src/includes/class-remote-send.php:428, src/includes/class-remote-send.php:455, src/includes/class-remote-send.php:478, src/includes/class-remote-send.php:488, src/includes/class-remote-send.php:493, src/methods/remotesend.php:76, src/methods/remotesend.php:259, src/methods/updraftvault.php:560, src/restorer.php:332, src/restorer.php:360, src/restorer.php:2104
237
  msgid "Error:"
238
  msgstr ""
239
 
@@ -601,7 +601,7 @@ msgstr ""
601
  msgid "You do not have access to this bucket"
602
  msgstr ""
603
 
604
- #: src/addons/googlecloud.php:329, src/addons/sftp.php:45, src/methods/addon-base-v2.php:74, src/methods/addon-base-v2.php:115, src/methods/addon-base-v2.php:149, src/methods/addon-base-v2.php:195, src/methods/addon-base-v2.php:285, src/methods/ftp.php:42, src/methods/googledrive.php:202, src/methods/googledrive.php:204, src/methods/remotesend.php:295, src/methods/stream-base.php:27, src/methods/stream-base.php:163, src/methods/stream-base.php:169, src/methods/stream-base.php:203, src/methods/stream-base.php:278
605
  msgid "No %s settings were found"
606
  msgstr ""
607
 
@@ -613,7 +613,7 @@ msgstr ""
613
  msgid "No refresh token was received from Google. This often means that you entered your client secret wrongly, or that you have not yet re-authenticated (below) since correcting it. Re-check it, then follow the link to authenticate again. Finally, if that does not work, then use expert mode to wipe all your settings, create a new Google client ID/secret, and start again."
614
  msgstr ""
615
 
616
- #: src/addons/googlecloud.php:445, src/addons/migrator.php:590, src/admin.php:2390, src/admin.php:2411, src/admin.php:2419, src/class-updraftplus.php:1017, src/class-updraftplus.php:1023, src/class-updraftplus.php:4140, src/class-updraftplus.php:4142, src/class-updraftplus.php:4307, src/class-updraftplus.php:4314, src/class-updraftplus.php:4385, src/methods/googledrive.php:401, src/methods/s3.php:344
617
  msgid "Error: %s"
618
  msgstr ""
619
 
@@ -641,7 +641,7 @@ msgstr ""
641
  msgid "However, subsequent access attempts failed:"
642
  msgstr ""
643
 
644
- #: src/addons/googlecloud.php:725, src/addons/googlecloud.php:846, src/addons/onedrive.php:933, src/addons/sftp.php:591, src/addons/sftp.php:595, src/addons/wp-cli.php:516, src/methods/addon-base-v2.php:327, src/methods/cloudfiles.php:575, src/methods/googledrive.php:473, src/methods/openstack-base.php:530, src/methods/s3.php:1205, src/methods/stream-base.php:372
645
  msgid "Success"
646
  msgstr ""
647
 
@@ -657,7 +657,7 @@ msgstr ""
657
  msgid "You must save and authenticate before you can test your settings."
658
  msgstr ""
659
 
660
- #: src/addons/googlecloud.php:783, src/addons/googlecloud.php:817, src/addons/googlecloud.php:823, src/addons/sftp.php:553, src/admin.php:3501, src/admin.php:3537, src/admin.php:3547, src/methods/addon-base-v2.php:313, src/methods/stream-base.php:356
661
  msgid "Failed"
662
  msgstr ""
663
 
@@ -733,7 +733,7 @@ msgstr ""
733
  msgid "Otherwise, you can leave it blank."
734
  msgstr ""
735
 
736
- #: src/addons/googlecloud.php:1041, src/addons/migrator.php:493, src/addons/migrator.php:496, src/addons/migrator.php:499, src/admin.php:1226, src/admin.php:2629, src/backup.php:3296, src/class-updraftplus.php:4406, src/class-updraftplus.php:4406, src/updraftplus.php:157
737
  msgid "Go here for more information."
738
  msgstr ""
739
 
@@ -789,7 +789,7 @@ msgstr ""
789
  msgid "Supported backup plugins: %s"
790
  msgstr ""
791
 
792
- #: src/addons/importer.php:276, src/admin.php:4108, src/includes/class-backup-history.php:499
793
  msgid "Backup created by: %s."
794
  msgstr ""
795
 
@@ -813,7 +813,7 @@ msgstr ""
813
  msgid "No incremental backup of your files is possible, as no suitable existing backup was found to add increments to."
814
  msgstr ""
815
 
816
- #: src/addons/incremental.php:342, src/addons/reporting.php:261, src/admin.php:4040
817
  msgid "None"
818
  msgstr ""
819
 
@@ -821,23 +821,23 @@ msgstr ""
821
  msgid "Every hour"
822
  msgstr ""
823
 
824
- #: src/addons/incremental.php:344, src/addons/incremental.php:345, src/addons/incremental.php:346, src/addons/incremental.php:347, src/admin.php:3755, src/admin.php:3756, src/admin.php:3757, src/updraftplus.php:100, src/updraftplus.php:101, src/updraftplus.php:102
825
  msgid "Every %s hours"
826
  msgstr ""
827
 
828
- #: src/addons/incremental.php:348, src/admin.php:3758
829
  msgid "Daily"
830
  msgstr ""
831
 
832
- #: src/addons/incremental.php:349, src/admin.php:3759
833
  msgid "Weekly"
834
  msgstr ""
835
 
836
- #: src/addons/incremental.php:350, src/admin.php:3760
837
  msgid "Fortnightly"
838
  msgstr ""
839
 
840
- #: src/addons/incremental.php:351, src/admin.php:3761
841
  msgid "Monthly"
842
  msgstr ""
843
 
@@ -869,7 +869,7 @@ msgstr ""
869
  msgid "Please make sure that you have made a note of the password!"
870
  msgstr ""
871
 
872
- #: src/addons/lockadmin.php:171, src/addons/moredatabase.php:241, src/addons/sftp.php:459, src/addons/webdav.php:193, src/admin.php:2984, src/methods/openstack2.php:164, src/methods/updraftvault.php:382, src/templates/wp-admin/settings/updraftcentral-connect.php:50
873
  msgid "Password"
874
  msgstr ""
875
 
@@ -961,7 +961,7 @@ msgstr ""
961
  msgid "After pressing this button, you will be given the option to choose which components you wish to migrate"
962
  msgstr ""
963
 
964
- #: src/addons/migrator.php:274, src/admin.php:726, src/admin.php:913, src/admin.php:4206
965
  msgid "Restore"
966
  msgstr ""
967
 
@@ -985,7 +985,7 @@ msgstr ""
985
  msgid "Replace with"
986
  msgstr ""
987
 
988
- #: src/addons/migrator.php:340, src/addons/moredatabase.php:89, src/addons/moredatabase.php:91, src/addons/moredatabase.php:93, src/addons/sftp.php:522, src/addons/sftp.php:526, src/addons/sftp.php:530, src/addons/webdav.php:253, src/admin.php:932, src/includes/class-remote-send.php:470, src/methods/addon-base-v2.php:305, src/methods/cloudfiles-new.php:184, src/methods/cloudfiles-new.php:189, src/methods/cloudfiles.php:519, src/methods/cloudfiles.php:524, src/methods/ftp.php:417, src/methods/ftp.php:421, src/methods/openstack2.php:180, src/methods/openstack2.php:185, src/methods/openstack2.php:190, src/methods/openstack2.php:195, src/methods/s3.php:1139, src/methods/s3.php:1143
989
  msgid "Failure: No %s was given."
990
  msgstr ""
991
 
@@ -1187,7 +1187,7 @@ msgstr ""
1187
  msgid "SQL update commands run:"
1188
  msgstr ""
1189
 
1190
- #: src/addons/migrator.php:1305, src/admin.php:877
1191
  msgid "Errors:"
1192
  msgstr ""
1193
 
@@ -1239,7 +1239,7 @@ msgstr ""
1239
  msgid "Paste key here"
1240
  msgstr ""
1241
 
1242
- #: src/addons/migrator.php:1748, src/admin.php:925
1243
  msgid "Add site"
1244
  msgstr ""
1245
 
@@ -1259,7 +1259,7 @@ msgstr ""
1259
  msgid "Enter your chosen name"
1260
  msgstr ""
1261
 
1262
- #: src/addons/migrator.php:1761, src/addons/sftp.php:467, src/admin.php:931, src/admin.php:5163, src/templates/wp-admin/settings/temporary-clone.php:63
1263
  msgid "Key"
1264
  msgstr ""
1265
 
@@ -1331,7 +1331,7 @@ msgstr ""
1331
  msgid "%s total table(s) found; %s with the indicated prefix."
1332
  msgstr ""
1333
 
1334
- #: src/addons/moredatabase.php:144, src/admin.php:1717
1335
  msgid "Messages:"
1336
  msgstr ""
1337
 
@@ -1367,15 +1367,15 @@ msgstr ""
1367
  msgid "Backup external database"
1368
  msgstr ""
1369
 
1370
- #: src/addons/moredatabase.php:239, src/addons/sftp.php:438, src/addons/webdav.php:199
1371
  msgid "Host"
1372
  msgstr ""
1373
 
1374
- #: src/addons/moredatabase.php:240, src/addons/sftp.php:452, src/addons/webdav.php:187, src/methods/cloudfiles-new.php:189, src/methods/cloudfiles.php:524, src/methods/openstack2.php:158
1375
  msgid "Username"
1376
  msgstr ""
1377
 
1378
- #: src/addons/moredatabase.php:242, src/addons/reporting.php:276, src/addons/wp-cli.php:432, src/admin.php:360, src/admin.php:4015, src/admin.php:4068, src/includes/class-remote-send.php:338, src/includes/class-wpadmin-commands.php:157, src/includes/class-wpadmin-commands.php:521, src/restorer.php:466, src/templates/wp-admin/settings/delete-and-restore-modals.php:74, src/templates/wp-admin/settings/delete-and-restore-modals.php:75, src/templates/wp-admin/settings/take-backup.php:34
1379
  msgid "Database"
1380
  msgstr ""
1381
 
@@ -1427,7 +1427,7 @@ msgstr ""
1427
  msgid "(None configured)"
1428
  msgstr ""
1429
 
1430
- #: src/addons/morefiles.php:71, src/admin.php:940
1431
  msgctxt "(verb)"
1432
  msgid "Download"
1433
  msgstr ""
@@ -1512,7 +1512,7 @@ msgstr ""
1512
  msgid "Go up a directory"
1513
  msgstr ""
1514
 
1515
- #: src/addons/morefiles.php:311, src/admin.php:906
1516
  msgid "Cancel"
1517
  msgstr ""
1518
 
@@ -1528,7 +1528,7 @@ msgstr ""
1528
  msgid "Exclude these:"
1529
  msgstr ""
1530
 
1531
- #: src/addons/morefiles.php:476, src/admin.php:3869
1532
  msgid "If entering multiple files/directories, then separate them with commas. For entities at the top level, you can use a * at the start or end of the entry as a wildcard."
1533
  msgstr ""
1534
 
@@ -1544,11 +1544,11 @@ msgstr ""
1544
  msgid "(as many as you like)"
1545
  msgstr ""
1546
 
1547
- #: src/addons/morestorage.php:81, src/admin.php:986
1548
  msgid "Currently enabled"
1549
  msgstr ""
1550
 
1551
- #: src/addons/morestorage.php:81, src/admin.php:987
1552
  msgid "Currently disabled"
1553
  msgstr ""
1554
 
@@ -1612,27 +1612,27 @@ msgstr ""
1612
  msgid "%s download: failed: file not found"
1613
  msgstr ""
1614
 
1615
- #: src/addons/onedrive.php:677, src/udaddons/updraftplus-addons.php:951
1616
  msgid "An error response was received; HTTP code:"
1617
  msgstr ""
1618
 
1619
- #: src/addons/onedrive.php:690, src/addons/onedrive.php:710, src/includes/updraftplus-login.php:55, src/methods/updraftvault.php:713, src/udaddons/updraftplus-addons.php:964, src/udaddons/updraftplus-addons.php:977
1620
  msgid "This most likely means that you share a webserver with a hacked website that has been used in previous attacks."
1621
  msgstr ""
1622
 
1623
- #: src/addons/onedrive.php:690, src/udaddons/updraftplus-addons.php:964, src/udaddons/updraftplus-addons.php:977
1624
  msgid "To remove any block, please go here."
1625
  msgstr ""
1626
 
1627
- #: src/addons/onedrive.php:690, src/udaddons/updraftplus-addons.php:964
1628
  msgid "Your IP address:"
1629
  msgstr ""
1630
 
1631
- #: src/addons/onedrive.php:710, src/includes/updraftplus-login.php:55, src/methods/updraftvault.php:713, src/udaddons/updraftplus-addons.php:977
1632
  msgid "UpdraftPlus.com has responded with 'Access Denied'."
1633
  msgstr ""
1634
 
1635
- #: src/addons/onedrive.php:710, src/includes/updraftplus-login.php:55, src/methods/updraftvault.php:713, src/udaddons/updraftplus-addons.php:977
1636
  msgid "It appears that your web server's IP Address (%s) is blocked."
1637
  msgstr ""
1638
 
@@ -1780,7 +1780,7 @@ msgstr ""
1780
  msgid "Time taken:"
1781
  msgstr ""
1782
 
1783
- #: src/addons/reporting.php:239, src/admin.php:4028
1784
  msgid "Uploaded to:"
1785
  msgstr ""
1786
 
@@ -1816,11 +1816,11 @@ msgstr ""
1816
  msgid "Log all messages to syslog (only server admins are likely to want this)"
1817
  msgstr ""
1818
 
1819
- #: src/addons/reporting.php:539, src/admin.php:861
1820
  msgid "To send to more than one address, separate each address with a comma."
1821
  msgstr ""
1822
 
1823
- #: src/addons/reporting.php:541, src/admin.php:855
1824
  msgid "Send a report only when there are warnings/errors"
1825
  msgstr ""
1826
 
@@ -1828,7 +1828,7 @@ msgstr ""
1828
  msgid "Be aware that mail servers tend to have size limits; typically around %s MB; backups larger than any limits will likely not arrive."
1829
  msgstr ""
1830
 
1831
- #: src/addons/reporting.php:543, src/admin.php:856
1832
  msgid "When the Email storage method is enabled, also send the backup"
1833
  msgstr ""
1834
 
@@ -1840,7 +1840,7 @@ msgstr ""
1840
  msgid "Use this option to only send database backups when sending to email, and skip other components."
1841
  msgstr ""
1842
 
1843
- #: src/addons/reporting.php:545, src/admin.php:859
1844
  msgid "Only email the database backup"
1845
  msgstr ""
1846
 
@@ -2060,136 +2060,136 @@ msgstr ""
2060
  msgid "Do remember to save your settings."
2061
  msgstr ""
2062
 
2063
- #: src/addons/sftp.php:37
2064
  msgid "Encrypted FTP is available, and will be automatically tried first (before falling back to non-encrypted if it is not successful), unless you disable it using the expert options. The 'Test FTP Login' button will tell you what type of connection is in use."
2065
  msgstr ""
2066
 
2067
- #: src/addons/sftp.php:37
2068
  msgid "Some servers advertise encrypted FTP as available, but then time-out (after a long time) when you attempt to use it. If you find this happening, then go into the \"Expert Options\" (below) and turn off SSL there."
2069
  msgstr ""
2070
 
2071
- #: src/addons/sftp.php:47, src/addons/sftp.php:48, src/addons/sftp.php:49
2072
  msgid "No %s found"
2073
  msgstr ""
2074
 
2075
- #: src/addons/sftp.php:47
2076
  msgid "SCP/SFTP host setting"
2077
  msgstr ""
2078
 
2079
- #: src/addons/sftp.php:48
2080
  msgid "SCP/SFTP user setting"
2081
  msgstr ""
2082
 
2083
- #: src/addons/sftp.php:49
2084
  msgid "SCP/SFTP password/key"
2085
  msgstr ""
2086
 
2087
- #: src/addons/sftp.php:75
2088
  msgid "Check your file permissions: Could not successfully create and enter directory:"
2089
  msgstr ""
2090
 
2091
- #: src/addons/sftp.php:82
2092
  msgid "Fingerprints don't match."
2093
  msgstr ""
2094
 
2095
- #: src/addons/sftp.php:141, src/methods/cloudfiles.php:147, src/methods/cloudfiles.php:189
2096
  msgid "Error: Failed to upload"
2097
  msgstr ""
2098
 
2099
- #: src/addons/sftp.php:153, src/methods/openstack-base.php:81, src/methods/openstack-base.php:315, src/methods/s3.php:379, src/methods/s3.php:391, src/methods/s3.php:392
2100
  msgid "%s Error: Failed to upload"
2101
  msgstr ""
2102
 
2103
- #: src/addons/sftp.php:287
2104
  msgid "Error: Failed to download"
2105
  msgstr ""
2106
 
2107
- #: src/addons/sftp.php:343
2108
  msgid "The key provided was not in a valid format, or was corrupt."
2109
  msgstr ""
2110
 
2111
- #: src/addons/sftp.php:420
2112
  msgid "Resuming partial uploads is supported for SFTP, but not for SCP. Thus, if using SCP then you will need to ensure that your webserver allows PHP processes to run long enough to upload your largest backup file."
2113
  msgstr ""
2114
 
2115
- #: src/addons/sftp.php:445, src/addons/webdav.php:207
2116
  msgid "Port"
2117
  msgstr ""
2118
 
2119
- #: src/addons/sftp.php:462
2120
  msgid "Your login may be either password or key-based - you only need to enter one, not both."
2121
  msgstr ""
2122
 
2123
- #: src/addons/sftp.php:470
2124
  msgctxt "Do not translate BEGIN RSA PRIVATE KEY. PCKS1, XML, PEM and PuTTY are also technical acronyms which should not be translated."
2125
  msgid "PKCS1 (PEM header: BEGIN RSA PRIVATE KEY), XML and PuTTY format keys are accepted."
2126
  msgstr ""
2127
 
2128
- #: src/addons/sftp.php:475
2129
  msgid "RSA fingerprint"
2130
  msgstr ""
2131
 
2132
- #: src/addons/sftp.php:478
2133
  msgid "MD5 (128-bit) fingerprint, in hex format - should have the same length and general appearance as this (colons optional): 73:51:43:b1:b5:fc:8b:b7:0a:3a:a9:b1:0f:69:73:a8. Using a fingerprint is not essential, but you are not secure against %s if you do not use one"
2134
  msgstr ""
2135
 
2136
- #: src/addons/sftp.php:483
2137
  msgid "Directory path"
2138
  msgstr ""
2139
 
2140
- #: src/addons/sftp.php:485
2141
  msgid "Where to change directory to after logging in - often this is relative to your home directory."
2142
  msgstr ""
2143
 
2144
- #: src/addons/sftp.php:492
2145
  msgid "Use SCP instead of SFTP"
2146
  msgstr ""
2147
 
2148
- #: src/addons/sftp.php:522
2149
  msgid "host name"
2150
  msgstr ""
2151
 
2152
- #: src/addons/sftp.php:526, src/methods/openstack2.php:180
2153
  msgid "username"
2154
  msgstr ""
2155
 
2156
- #: src/addons/sftp.php:530
2157
  msgid "password/key"
2158
  msgstr ""
2159
 
2160
- #: src/addons/sftp.php:535
2161
  msgid "Failure: Port must be an integer."
2162
  msgstr ""
2163
 
2164
- #: src/addons/sftp.php:567
2165
  msgid "Check your file permissions: Could not successfully create and enter:"
2166
  msgstr ""
2167
 
2168
- #: src/addons/sftp.php:597
2169
  msgid "Failed: We are unable to match the fingerprint. However, we were able to log in and move to the indicated directory and successfully create a file in that location."
2170
  msgstr ""
2171
 
2172
- #: src/addons/sftp.php:601, src/addons/sftp.php:603
2173
  msgid "The server's RSA key %s fingerprint: %s."
2174
  msgstr ""
2175
 
2176
- #: src/addons/sftp.php:606
2177
  msgid "Failed: We were able to log in and move to the indicated directory, but failed to successfully create a file in that location."
2178
  msgstr ""
2179
 
2180
- #: src/addons/sftp.php:608
2181
  msgid "Failed: We were able to log in, but failed to successfully create a file in that location."
2182
  msgstr ""
2183
 
2184
- #: src/addons/sftp.php:804
2185
  msgid "Encrypted login failed; trying non-encrypted"
2186
  msgstr ""
2187
 
2188
- #: src/addons/sftp.php:826, src/addons/sftp.php:829, src/includes/ftp.class.php:58, src/includes/ftp.class.php:61
2189
  msgid "The %s connection timed out; if you entered the server correctly, then this is usually caused by a firewall blocking the connection - you should check with your web hosting company."
2190
  msgstr ""
2191
 
2192
- #: src/addons/sftp.php:1071
2193
  msgid "The UpdraftPlus module for this file access method (%s) does not support listing files"
2194
  msgstr ""
2195
 
@@ -2229,11 +2229,11 @@ msgstr ""
2229
  msgid "No previous backup found to add an increment to."
2230
  msgstr ""
2231
 
2232
- #: src/addons/wp-cli.php:110, src/admin.php:864
2233
  msgid "You have chosen to backup a database, but no tables have been selected"
2234
  msgstr ""
2235
 
2236
- #: src/addons/wp-cli.php:116, src/admin.php:862
2237
  msgid "If you exclude both the database and the files, then you have excluded everything!"
2238
  msgstr ""
2239
 
@@ -2265,27 +2265,27 @@ msgstr ""
2265
  msgid "Latest full backup found; identifier:"
2266
  msgstr ""
2267
 
2268
- #: src/addons/wp-cli.php:430, src/admin.php:4062, src/admin.php:4110
2269
  msgid "unknown source"
2270
  msgstr ""
2271
 
2272
- #: src/addons/wp-cli.php:432, src/admin.php:4068
2273
  msgid "Database (created by %s)"
2274
  msgstr ""
2275
 
2276
- #: src/addons/wp-cli.php:438, src/admin.php:4070
2277
  msgid "External database"
2278
  msgstr ""
2279
 
2280
- #: src/addons/wp-cli.php:450, src/admin.php:4114
2281
  msgid "Files and database WordPress backup (created by %s)"
2282
  msgstr ""
2283
 
2284
- #: src/addons/wp-cli.php:450, src/admin.php:4114
2285
  msgid "Files backup (created by %s)"
2286
  msgstr ""
2287
 
2288
- #: src/addons/wp-cli.php:519, src/admin.php:881, src/class-updraftplus.php:1318, src/class-updraftplus.php:1362, src/includes/class-filesystem-functions.php:409, src/includes/class-storage-methods-interface.php:324, src/methods/addon-base-v2.php:93, src/methods/addon-base-v2.php:98, src/methods/addon-base-v2.php:205, src/methods/addon-base-v2.php:225, src/methods/googledrive.php:1118, src/methods/remotesend.php:315, src/methods/stream-base.php:219, src/restorer.php:3165, src/restorer.php:3190, src/restorer.php:3271, src/udaddons/options.php:231, src/updraftplus.php:157
2289
  msgid "Error"
2290
  msgstr ""
2291
 
@@ -2305,11 +2305,11 @@ msgstr ""
2305
  msgid "No valid components found, please select different components or a backup set with components that can be restored."
2306
  msgstr ""
2307
 
2308
- #: src/addons/wp-cli.php:650, src/admin.php:4598
2309
  msgid "UpdraftPlus Restoration: Progress"
2310
  msgstr ""
2311
 
2312
- #: src/addons/wp-cli.php:664, src/admin.php:4601
2313
  msgid "Follow this link to download the log file for this restoration (needed for any support requests)."
2314
  msgstr ""
2315
 
@@ -2349,7 +2349,7 @@ msgstr ""
2349
  msgid "At the same time as the files backup"
2350
  msgstr ""
2351
 
2352
- #: src/admin.php:350, src/admin.php:5132, src/templates/wp-admin/settings/take-backup.php:24
2353
  msgid "Files"
2354
  msgstr ""
2355
 
@@ -2373,1246 +2373,1254 @@ msgstr ""
2373
  msgid "Are you sure you want to dismiss all UpdraftPlus news forever?"
2374
  msgstr ""
2375
 
2376
- #: src/admin.php:575
 
 
 
 
 
 
 
 
2377
  msgid "You can test running your site on a different PHP (or WordPress) version using UpdraftClone credits."
2378
  msgstr ""
2379
 
2380
- #: src/admin.php:726
2381
  msgid "Backup"
2382
  msgstr ""
2383
 
2384
- #: src/admin.php:734, src/admin.php:2832
2385
  msgid "Migrate / Clone"
2386
  msgstr ""
2387
 
2388
- #: src/admin.php:742, src/admin.php:1159, src/admin.php:2833
2389
  msgid "Settings"
2390
  msgstr ""
2391
 
2392
- #: src/admin.php:750, src/admin.php:2834
2393
  msgid "Advanced Tools"
2394
  msgstr ""
2395
 
2396
- #: src/admin.php:758
2397
  msgid "Extensions"
2398
  msgstr ""
2399
 
2400
- #: src/admin.php:857
2401
  msgid "Be aware that mail servers tend to have size limits; typically around %s Mb; backups larger than any limits will likely not arrive."
2402
  msgstr ""
2403
 
2404
- #: src/admin.php:858
2405
  msgid "Rescanning (looking for backups that you have uploaded manually into the internal backup store)..."
2406
  msgstr ""
2407
 
2408
- #: src/admin.php:860
2409
  msgid "Rescanning remote and local storage for backup sets..."
2410
  msgstr ""
2411
 
2412
- #: src/admin.php:863
2413
  msgid "You have chosen to backup files, but no file entities have been selected"
2414
  msgstr ""
2415
 
2416
- #: src/admin.php:865
2417
  msgid "The restore operation has begun. Do not press stop or close your browser until it reports itself as having finished."
2418
  msgstr ""
2419
 
2420
- #: src/admin.php:867
2421
  msgid "The web server returned an error code (try again, or check your web server logs)"
2422
  msgstr ""
2423
 
2424
- #: src/admin.php:868
2425
  msgid "The new user's RackSpace console password is (this will not be shown again):"
2426
  msgstr ""
2427
 
2428
- #: src/admin.php:869
2429
  msgid "Trying..."
2430
  msgstr ""
2431
 
2432
- #: src/admin.php:870
2433
  msgid "Fetching..."
2434
  msgstr ""
2435
 
2436
- #: src/admin.php:871
2437
  msgid "calculating..."
2438
  msgstr ""
2439
 
2440
- #: src/admin.php:872
2441
  msgid "Begun looking for this entity"
2442
  msgstr ""
2443
 
2444
- #: src/admin.php:873
2445
  msgid "Some files are still downloading or being processed - please wait."
2446
  msgstr ""
2447
 
2448
- #: src/admin.php:874
2449
  msgid "Processing files - please wait..."
2450
  msgstr ""
2451
 
2452
- #: src/admin.php:875
2453
  msgid "Error: the server sent an empty response."
2454
  msgstr ""
2455
 
2456
- #: src/admin.php:876
2457
  msgid "Warnings:"
2458
  msgstr ""
2459
 
2460
- #: src/admin.php:878
2461
  msgid "Error: the server sent us a response which we did not understand."
2462
  msgstr ""
2463
 
2464
- #: src/admin.php:879, src/restorer.php:180
2465
  msgid "Error data:"
2466
  msgstr ""
2467
 
2468
- #: src/admin.php:882, src/admin.php:1993, src/includes/deprecated-actions.php:29, src/templates/wp-admin/settings/downloading-and-restoring.php:21, src/templates/wp-admin/settings/tab-backups.php:21, src/templates/wp-admin/settings/tab-backups.php:44
2469
  msgid "Existing Backups"
2470
  msgstr ""
2471
 
2472
- #: src/admin.php:883, src/admin.php:2285
2473
  msgid "File ready."
2474
  msgstr ""
2475
 
2476
- #: src/admin.php:884, src/admin.php:2612, src/admin.php:3470, src/admin.php:4495, src/admin.php:4505, src/admin.php:4514, src/templates/wp-admin/settings/existing-backups-table.php:19, src/templates/wp-admin/settings/existing-backups-table.php:137
2477
  msgid "Actions"
2478
  msgstr ""
2479
 
2480
- #: src/admin.php:885
2481
  msgid "Delete from your web server"
2482
  msgstr ""
2483
 
2484
- #: src/admin.php:886
2485
  msgid "Download to your computer"
2486
  msgstr ""
2487
 
2488
- #: src/admin.php:887
2489
  msgid "Browse contents"
2490
  msgstr ""
2491
 
2492
- #: src/admin.php:888
2493
  msgid "Download error: the server sent us a response which we did not understand."
2494
  msgstr ""
2495
 
2496
- #: src/admin.php:889
2497
  msgid "Requesting start of backup..."
2498
  msgstr ""
2499
 
2500
- #: src/admin.php:890
2501
  msgid "PHP information"
2502
  msgstr ""
2503
 
2504
- #: src/admin.php:891, src/admin.php:3184
2505
  msgid "Delete Old Directories"
2506
  msgstr ""
2507
 
2508
- #: src/admin.php:892
2509
  msgid "Raw backup history"
2510
  msgstr ""
2511
 
2512
- #: src/admin.php:893, src/admin.php:894, src/includes/class-backup-history.php:506
2513
  msgid "This file does not appear to be an UpdraftPlus backup archive (such files are .zip or .gz files which have a name like: backup_(time)_(site name)_(code)_(type).(zip|gz))."
2514
  msgstr ""
2515
 
2516
- #: src/admin.php:893
2517
  msgid "However, UpdraftPlus archives are standard zip/SQL files - so if you are sure that your file has the right format, then you can rename it to match that pattern."
2518
  msgstr ""
2519
 
2520
- #: src/admin.php:894, src/includes/class-backup-history.php:506
2521
  msgid "If this is a backup created by a different backup plugin, then UpdraftPlus Premium may be able to help you."
2522
  msgstr ""
2523
 
2524
- #: src/admin.php:895
2525
  msgid "(make sure that you were trying to upload a zip file previously created by UpdraftPlus)"
2526
  msgstr ""
2527
 
2528
- #: src/admin.php:896
2529
  msgid "Upload error:"
2530
  msgstr ""
2531
 
2532
- #: src/admin.php:897
2533
  msgid "This file does not appear to be an UpdraftPlus encrypted database archive (such files are .gz.crypt files which have a name like: backup_(time)_(site name)_(code)_db.crypt.gz)."
2534
  msgstr ""
2535
 
2536
- #: src/admin.php:898
2537
  msgid "Upload error"
2538
  msgstr ""
2539
 
2540
- #: src/admin.php:899
2541
  msgid "Follow this link to attempt decryption and download the database file to your computer."
2542
  msgstr ""
2543
 
2544
- #: src/admin.php:900
2545
  msgid "This decryption key will be attempted:"
2546
  msgstr ""
2547
 
2548
- #: src/admin.php:901
2549
  msgid "Unknown server response:"
2550
  msgstr ""
2551
 
2552
- #: src/admin.php:902
2553
  msgid "Unknown server response status:"
2554
  msgstr ""
2555
 
2556
- #: src/admin.php:903
2557
  msgid "The file was uploaded."
2558
  msgstr ""
2559
 
2560
- #: src/admin.php:905, src/templates/wp-admin/settings/take-backup.php:51
2561
  msgid "Backup Now"
2562
  msgstr ""
2563
 
2564
- #: src/admin.php:907, src/admin.php:3498, src/admin.php:3532, src/admin.php:4305, src/includes/class-remote-send.php:560, src/templates/wp-admin/settings/existing-backups-table.php:153, src/templates/wp-admin/settings/file-backup-exclude.php:11
2565
  msgid "Delete"
2566
  msgstr ""
2567
 
2568
- #: src/admin.php:908, src/central/bootstrap.php:565
2569
  msgid "Create"
2570
  msgstr ""
2571
 
2572
- #: src/admin.php:909, src/admin.php:4285
2573
  msgid "Upload"
2574
  msgstr ""
2575
 
2576
- #: src/admin.php:910
2577
  msgid "You did not select any components to restore. Please select at least one, and then try again."
2578
  msgstr ""
2579
 
2580
- #: src/admin.php:912, src/includes/updraftplus-tour.php:89
2581
  msgid "Close"
2582
  msgstr ""
2583
 
2584
- #: src/admin.php:914, src/admin.php:3736
2585
  msgid "Download log file"
2586
  msgstr ""
2587
 
2588
- #: src/admin.php:916, src/admin.php:942, src/admin.php:943
2589
  msgid "You have made changes to your settings, and not saved."
2590
  msgstr ""
2591
 
2592
- #: src/admin.php:917
2593
  msgid "Saving..."
2594
  msgstr ""
2595
 
2596
- #: src/admin.php:918, src/admin.php:2915, src/methods/updraftvault.php:337, src/methods/updraftvault.php:383, src/templates/wp-admin/settings/temporary-clone.php:82
2597
  msgid "Connect"
2598
  msgstr ""
2599
 
2600
- #: src/admin.php:919
2601
  msgid "Connecting..."
2602
  msgstr ""
2603
 
2604
- #: src/admin.php:920, src/methods/updraftvault.php:413, src/methods/updraftvault.php:483
2605
  msgid "Disconnect"
2606
  msgstr ""
2607
 
2608
- #: src/admin.php:921
2609
  msgid "Disconnecting..."
2610
  msgstr ""
2611
 
2612
- #: src/admin.php:922
2613
  msgid "Counting..."
2614
  msgstr ""
2615
 
2616
- #: src/admin.php:923
2617
  msgid "Update quota count"
2618
  msgstr ""
2619
 
2620
- #: src/admin.php:924
2621
  msgid "Adding..."
2622
  msgstr ""
2623
 
2624
- #: src/admin.php:926
2625
  msgid "Resetting..."
2626
  msgstr ""
2627
 
2628
- #: src/admin.php:927
2629
  msgid "Creating..."
2630
  msgstr ""
2631
 
2632
- #: src/admin.php:927
2633
  msgid "your PHP install lacks the openssl module; as a result, this can take minutes; if nothing has happened by then, then you should either try a smaller key size, or ask your web hosting company how to enable this PHP module on your setup."
2634
  msgstr ""
2635
 
2636
- #: src/admin.php:928, src/includes/class-remote-send.php:530
2637
  msgid "Send to site:"
2638
  msgstr ""
2639
 
2640
- #: src/admin.php:929, src/includes/class-remote-send.php:306
2641
  msgid "You should check that the remote site is online, not firewalled, does not have security modules that may be blocking access, has UpdraftPlus version %s or later active and that the keys have been entered correctly."
2642
  msgstr ""
2643
 
2644
- #: src/admin.php:930
2645
  msgid "Please give this key a name (e.g. indicate the site it is for):"
2646
  msgstr ""
2647
 
2648
- #: src/admin.php:932
2649
  msgid "key name"
2650
  msgstr ""
2651
 
2652
- #: src/admin.php:933, src/templates/wp-admin/settings/existing-backups-table.php:159
2653
  msgid "Deleting..."
2654
  msgstr ""
2655
 
2656
- #: src/admin.php:934
2657
  msgid "Please enter a valid URL"
2658
  msgstr ""
2659
 
2660
- #: src/admin.php:935
2661
  msgid "We requested to delete the file, but could not understand the server's response"
2662
  msgstr ""
2663
 
2664
- #: src/admin.php:936, src/includes/class-remote-send.php:334
2665
  msgid "Testing connection..."
2666
  msgstr ""
2667
 
2668
- #: src/admin.php:937, src/includes/class-remote-send.php:365, src/includes/class-remote-send.php:536
2669
  msgid "Send"
2670
  msgstr ""
2671
 
2672
- #: src/admin.php:941
2673
  msgid "With UpdraftPlus Premium, you can directly download individual files from here."
2674
  msgstr ""
2675
 
2676
- #: src/admin.php:942
2677
  msgid "You should save your changes to ensure that they are used for making your backup."
2678
  msgstr ""
2679
 
2680
- #: src/admin.php:943
2681
  msgid "Your export file will be of your displayed settings, not your saved ones."
2682
  msgstr ""
2683
 
2684
- #: src/admin.php:946
2685
  msgid "day"
2686
  msgstr ""
2687
 
2688
- #: src/admin.php:947
2689
  msgid "in the month"
2690
  msgstr ""
2691
 
2692
- #: src/admin.php:948
2693
  msgid "day(s)"
2694
  msgstr ""
2695
 
2696
- #: src/admin.php:949
2697
  msgid "hour(s)"
2698
  msgstr ""
2699
 
2700
- #: src/admin.php:950
2701
  msgid "week(s)"
2702
  msgstr ""
2703
 
2704
- #: src/admin.php:951
2705
  msgid "For backups older than"
2706
  msgstr ""
2707
 
2708
- #: src/admin.php:953
2709
  msgid "Processing..."
2710
  msgstr ""
2711
 
2712
- #: src/admin.php:954
2713
  msgid "Please fill in the required information."
2714
  msgstr ""
2715
 
2716
- #: src/admin.php:955, src/methods/backup-module.php:317
2717
  msgid "Test %s Settings"
2718
  msgstr ""
2719
 
2720
- #: src/admin.php:956
2721
  msgid "Testing %s Settings..."
2722
  msgstr ""
2723
 
2724
- #: src/admin.php:957
2725
  msgid "%s settings test result:"
2726
  msgstr ""
2727
 
2728
- #: src/admin.php:958
2729
  msgid "Nothing yet logged"
2730
  msgstr ""
2731
 
2732
- #: src/admin.php:959
2733
  msgid "You have not yet selected a file to import."
2734
  msgstr ""
2735
 
2736
- #: src/admin.php:960
2737
  msgid "Error: The chosen file is corrupt. Please choose a valid UpdraftPlus export file."
2738
  msgstr ""
2739
 
2740
- #: src/admin.php:963
2741
  msgid "Importing..."
2742
  msgstr ""
2743
 
2744
- #: src/admin.php:964
2745
  msgid "This will import data from:"
2746
  msgstr ""
2747
 
2748
- #: src/admin.php:965
2749
  msgid "Which was exported on:"
2750
  msgstr ""
2751
 
2752
- #: src/admin.php:966
2753
  msgid "Do you want to carry out the import?"
2754
  msgstr ""
2755
 
2756
- #: src/admin.php:967
2757
  msgid "Complete"
2758
  msgstr ""
2759
 
2760
- #: src/admin.php:968, src/admin.php:3243
2761
  msgid "The backup has finished running"
2762
  msgstr ""
2763
 
2764
- #: src/admin.php:969
2765
  msgid "The backup was aborted"
2766
  msgstr ""
2767
 
2768
- #: src/admin.php:971
2769
  msgid "remote files deleted"
2770
  msgstr ""
2771
 
2772
- #: src/admin.php:972
2773
  msgid "HTTP code:"
2774
  msgstr ""
2775
 
2776
- #: src/admin.php:973
2777
  msgid "The file failed to upload. Please check the following:"
2778
  msgstr ""
2779
 
2780
- #: src/admin.php:973
2781
  msgid "Any settings in your .htaccess or web.config file that affects the maximum upload or post size."
2782
  msgstr ""
2783
 
2784
- #: src/admin.php:973
2785
  msgid "The available memory on the server."
2786
  msgstr ""
2787
 
2788
- #: src/admin.php:973
2789
  msgid "That you are attempting to upload a zip file previously created by UpdraftPlus."
2790
  msgstr ""
2791
 
2792
- #: src/admin.php:973
2793
  msgid "Further information may be found in the browser JavaScript console, and the server PHP error logs."
2794
  msgstr ""
2795
 
2796
- #: src/admin.php:974
2797
  msgid "Browsing zip file"
2798
  msgstr ""
2799
 
2800
- #: src/admin.php:975
2801
  msgid "Select a file to view information about it"
2802
  msgstr ""
2803
 
2804
- #: src/admin.php:976
2805
  msgid "Search"
2806
  msgstr ""
2807
 
2808
- #: src/admin.php:977
2809
  msgid "Unable to download file. This could be caused by a timeout. It would be best to download the zip to your computer."
2810
  msgstr ""
2811
 
2812
- #: src/admin.php:978
2813
  msgid "Loading log file"
2814
  msgstr ""
2815
 
2816
- #: src/admin.php:981
2817
  msgid "Please enter a valid URL e.g http://example.com"
2818
  msgstr ""
2819
 
2820
- #: src/admin.php:988
2821
  msgid "Local backup upload has started; please check the log file to see the upload progress"
2822
  msgstr ""
2823
 
2824
- #: src/admin.php:989
2825
  msgid "You must select at least one remote storage destination to upload this backup set to."
2826
  msgstr ""
2827
 
2828
- #: src/admin.php:990
2829
  msgid "(already uploaded)"
2830
  msgstr ""
2831
 
2832
- #: src/admin.php:991
2833
  msgid "Please specify the Microsoft OneDrive folder name, not the URL."
2834
  msgstr ""
2835
 
2836
- #: src/admin.php:992, src/templates/wp-admin/settings/updraftcentral-connect.php:9
2837
  msgid "UpdraftCentral Cloud"
2838
  msgstr ""
2839
 
2840
- #: src/admin.php:993
2841
  msgid "Connected. Requesting UpdraftCentral Key."
2842
  msgstr ""
2843
 
2844
- #: src/admin.php:994
2845
  msgid "Key created. Adding site to UpdraftCentral Cloud."
2846
  msgstr ""
2847
 
2848
- #: src/admin.php:995
2849
  msgid "Login successful."
2850
  msgstr ""
2851
 
2852
- #: src/admin.php:995, src/admin.php:997
2853
  msgid "Please follow this link to open %s in a new window."
2854
  msgstr ""
2855
 
2856
- #: src/admin.php:996
2857
  msgid "Login successful; reloading information."
2858
  msgstr ""
2859
 
2860
- #: src/admin.php:997
2861
  msgid "Registration successful."
2862
  msgstr ""
2863
 
2864
- #: src/admin.php:998
2865
  msgid "Both email and password fields are required."
2866
  msgstr ""
2867
 
2868
- #: src/admin.php:999
2869
  msgid "An email is required and needs to be in a valid format."
2870
  msgstr ""
2871
 
2872
- #: src/admin.php:1000
2873
  msgid "Trouble connecting? Try using an alternative method in the advanced security options."
2874
  msgstr ""
2875
 
2876
- #: src/admin.php:1001
2877
  msgid "Verifying one-time password..."
2878
  msgstr ""
2879
 
2880
- #: src/admin.php:1002
2881
  msgid "Perhaps you would want to login instead."
2882
  msgstr ""
2883
 
2884
- #: src/admin.php:1003
2885
  msgid "Please wait while the system generates and registers an encryption key for your website with UpdraftCentral Cloud."
2886
  msgstr ""
2887
 
2888
- #: src/admin.php:1004
2889
  msgid "Please wait while you are redirected to UpdraftCentral Cloud."
2890
  msgstr ""
2891
 
2892
- #: src/admin.php:1005
2893
  msgid "You need to read and accept the UpdraftCentral Cloud data and privacy policies before you can proceed."
2894
  msgstr ""
2895
 
2896
- #: src/admin.php:1006
2897
  msgid "You can also close this wizard."
2898
  msgstr ""
2899
 
2900
- #: src/admin.php:1007
2901
  msgid "For future control of all your UpdraftCentral connections, go to the \"Advanced Tools\" tab."
2902
  msgstr ""
2903
 
2904
- #: src/admin.php:1009
2905
  msgid "Warning: you have selected a lower version than your currently installed version. This may fail if you have components that are incompatible with earlier versions."
2906
  msgstr ""
2907
 
2908
- #: src/admin.php:1010
2909
  msgid "The clone has been provisioned, and its data has been sent to it. Once the clone has finished deploying it, you will receive an email."
2910
  msgstr ""
2911
 
2912
- #: src/admin.php:1011
2913
  msgid "The preparation of the clone data has been aborted."
2914
  msgstr ""
2915
 
2916
- #: src/admin.php:1013
2917
  msgid "Are you sure you want to remove this exclusion rule?"
2918
  msgstr ""
2919
 
2920
- #: src/admin.php:1014
2921
  msgid "Please select a file/folder which you would like to exclude"
2922
  msgstr ""
2923
 
2924
- #: src/admin.php:1015
2925
  msgid "Please enter a file extension, like zip"
2926
  msgstr ""
2927
 
2928
- #: src/admin.php:1016
2929
  msgid "Please enter a valid file extension"
2930
  msgstr ""
2931
 
2932
- #: src/admin.php:1017
2933
  msgid "Please enter characters that begin the filename which you would like to exclude"
2934
  msgstr ""
2935
 
2936
- #: src/admin.php:1018
2937
  msgid "Please enter a valid file name prefix"
2938
  msgstr ""
2939
 
2940
- #: src/admin.php:1019
2941
  msgid "The exclusion rule which you are trying to add already exists"
2942
  msgstr ""
2943
 
2944
- #: src/admin.php:1020
2945
  msgid "UpdraftClone key is required."
2946
  msgstr ""
2947
 
2948
- #: src/admin.php:1021, src/templates/wp-admin/settings/backupnow-modal.php:40
2949
  msgid "Include your files in the backup"
2950
  msgstr ""
2951
 
2952
- #: src/admin.php:1022
2953
  msgid "File backup options"
2954
  msgstr ""
2955
 
2956
- #: src/admin.php:1161
2957
  msgid "Add-Ons / Pro Support"
2958
  msgstr ""
2959
 
2960
- #: src/admin.php:1208
2961
  msgid "An error occurred when fetching storage module options: "
2962
  msgstr ""
2963
 
2964
- #: src/admin.php:1213, src/includes/class-commands.php:466, src/templates/wp-admin/settings/take-backup.php:13
2965
  msgid "The 'Backup Now' button is disabled as your backup directory is not writable (go to the 'Settings' tab and find the relevant option)."
2966
  msgstr ""
2967
 
2968
- #: src/admin.php:1218
2969
  msgid "Welcome to UpdraftPlus!"
2970
  msgstr ""
2971
 
2972
- #: src/admin.php:1218
2973
  msgid "To make a backup, just press the Backup Now button."
2974
  msgstr ""
2975
 
2976
- #: src/admin.php:1218
2977
  msgid "To change any of the default settings of what is backed up, to configure scheduled backups, to send your backups to remote storage (recommended), and more, go to the settings tab."
2978
  msgstr ""
2979
 
2980
- #: src/admin.php:1222, src/class-updraftplus.php:866
2981
  msgid "The amount of time allowed for WordPress plugins to run is very low (%s seconds) - you should increase it to avoid backup failures due to time-outs (consult your web hosting company for more help - it is the max_execution_time PHP setting; the recommended value is %s seconds or more)"
2982
  msgstr ""
2983
 
2984
- #: src/admin.php:1226
2985
  msgid "The scheduler is disabled in your WordPress install, via the DISABLE_WP_CRON setting. No backups can run (even &quot;Backup Now&quot;) unless either you have set up a facility to call the scheduler manually, or until it is enabled."
2986
  msgstr ""
2987
 
2988
- #: src/admin.php:1230
2989
  msgid "You have less than %s of free disk space on the disk which UpdraftPlus is configured to use to create backups. UpdraftPlus could well run out of space. Contact your the operator of your server (e.g. your web hosting company) to resolve this issue."
2990
  msgstr ""
2991
 
2992
- #: src/admin.php:1234
2993
  msgid "UpdraftPlus does not officially support versions of WordPress before %s. It may work for you, but if it does not, then please be aware that no support is available until you upgrade WordPress."
2994
  msgstr ""
2995
 
2996
- #: src/admin.php:1238
2997
  msgid "Your website is hosted using the %s web server."
2998
  msgstr ""
2999
 
3000
- #: src/admin.php:1238
3001
  msgid "Please consult this FAQ if you have problems backing up."
3002
  msgstr ""
3003
 
3004
- #: src/admin.php:1242
3005
  msgid "Notice"
3006
  msgstr ""
3007
 
3008
- #: src/admin.php:1242
3009
  msgid "UpdraftPlus's debug mode is on. You may see debugging notices on this page not just from UpdraftPlus, but from any other plugin installed. Please try to make sure that the notice you are seeing is from UpdraftPlus before you raise a support request."
3010
  msgstr ""
3011
 
3012
- #: src/admin.php:1247
3013
  msgid "WordPress has a number (%d) of scheduled tasks which are overdue. Unless this is a development site, this probably means that the scheduler in your WordPress install is not working."
3014
  msgstr ""
3015
 
3016
- #: src/admin.php:1247
3017
  msgid "Read this page for a guide to possible causes and how to fix it."
3018
  msgstr ""
3019
 
3020
- #: src/admin.php:1267, src/admin.php:1288, src/admin.php:1307, src/class-updraftplus.php:602, src/class-updraftplus.php:637, src/class-updraftplus.php:642, src/class-updraftplus.php:647
3021
  msgid "UpdraftPlus notice:"
3022
  msgstr ""
3023
 
3024
- #: src/admin.php:1267
3025
  msgid "%s has been chosen for remote storage, but you are not currently connected."
3026
  msgstr ""
3027
 
3028
- #: src/admin.php:1267
3029
  msgid "Go to the remote storage settings in order to connect."
3030
  msgstr ""
3031
 
3032
- #: src/admin.php:1409, src/admin.php:1419
3033
  msgid "Error: invalid path"
3034
  msgstr ""
3035
 
3036
- #: src/admin.php:1770, src/includes/class-wpadmin-commands.php:506
3037
  msgid "Backup set not found"
3038
  msgstr ""
3039
 
3040
- #: src/admin.php:1856
3041
  msgid "Did not know how to delete from this cloud service."
3042
  msgstr ""
3043
 
3044
- #: src/admin.php:1937
3045
  msgid "Backup sets removed:"
3046
  msgstr ""
3047
 
3048
- #: src/admin.php:1938
3049
  msgid "Local files deleted:"
3050
  msgstr ""
3051
 
3052
- #: src/admin.php:1939
3053
  msgid "Remote files deleted:"
3054
  msgstr ""
3055
 
3056
- #: src/admin.php:2026
3057
  msgid "Job deleted"
3058
  msgstr ""
3059
 
3060
- #: src/admin.php:2034
3061
  msgid "Could not find that job - perhaps it has already finished?"
3062
  msgstr ""
3063
 
3064
- #: src/admin.php:2132, src/admin.php:2153, src/includes/class-commands.php:836
3065
  msgid "Start backup"
3066
  msgstr ""
3067
 
3068
- #: src/admin.php:2132, src/includes/class-commands.php:836
3069
  msgid "OK. You should soon see activity in the \"Last log message\" field below."
3070
  msgstr ""
3071
 
3072
- #: src/admin.php:2215, src/admin.php:2219, src/class-updraftplus.php:637
3073
  msgid "The log file could not be read."
3074
  msgstr ""
3075
 
3076
- #: src/admin.php:2266
3077
  msgid "Download failed"
3078
  msgstr ""
3079
 
3080
- #: src/admin.php:2296
3081
  msgid "Download in progress"
3082
  msgstr ""
3083
 
3084
- #: src/admin.php:2299
3085
  msgid "No local copy present."
3086
  msgstr ""
3087
 
3088
- #: src/admin.php:2353, src/backup.php:1197
3089
  msgid "Backup directory (%s) is not writable, or does not exist."
3090
  msgstr ""
3091
 
3092
- #: src/admin.php:2353
3093
  msgid "You will find more information about this in the Settings section."
3094
  msgstr ""
3095
 
3096
- #: src/admin.php:2390
3097
  msgid "This file could not be uploaded"
3098
  msgstr ""
3099
 
3100
- #: src/admin.php:2405
3101
  msgid "This backup was created by %s, and can be imported."
3102
  msgstr ""
3103
 
3104
- #: src/admin.php:2411
3105
  msgid "Bad filename format - this does not look like a file created by UpdraftPlus"
3106
  msgstr ""
3107
 
3108
- #: src/admin.php:2419
3109
  msgid "This looks like a file created by UpdraftPlus, but this install does not know about this type of object: %s. Perhaps you need to install an add-on?"
3110
  msgstr ""
3111
 
3112
- #: src/admin.php:2511
3113
  msgid "Bad filename format - this does not look like an encrypted database file created by UpdraftPlus"
3114
  msgstr ""
3115
 
3116
- #: src/admin.php:2603
3117
  msgid "Backup directory could not be created"
3118
  msgstr ""
3119
 
3120
- #: src/admin.php:2610
3121
  msgid "Backup directory successfully created."
3122
  msgstr ""
3123
 
3124
- #: src/admin.php:2612, src/admin.php:3470, src/admin.php:4495, src/admin.php:4505, src/admin.php:4514, src/admin.php:5479
3125
  msgid "Return to UpdraftPlus configuration"
3126
  msgstr ""
3127
 
3128
- #: src/admin.php:2624, src/class-updraftplus.php:4318, src/restorer.php:2872
3129
  msgid "Warning:"
3130
  msgstr ""
3131
 
3132
- #: src/admin.php:2624
3133
  msgid "If you can still read these words after the page finishes loading, then there is a JavaScript or jQuery problem in the site."
3134
  msgstr ""
3135
 
3136
- #: src/admin.php:2627
3137
  msgid "The UpdraftPlus directory in wp-content/plugins has white-space in it; WordPress does not like this. You should rename the directory to wp-content/plugins/updraftplus to fix this problem."
3138
  msgstr ""
3139
 
3140
- #: src/admin.php:2642
3141
  msgid "OptimizePress 2.0 encodes its contents, so search/replace does not work."
3142
  msgstr ""
3143
 
3144
- #: src/admin.php:2642
3145
  msgid "To fix this problem go here."
3146
  msgstr ""
3147
 
3148
- #: src/admin.php:2644
3149
  msgid "For even more features and personal support, check out "
3150
  msgstr ""
3151
 
3152
- #: src/admin.php:2646
3153
  msgid "Your backup has been restored."
3154
  msgstr ""
3155
 
3156
- #: src/admin.php:2671
3157
  msgid "Your PHP memory limit (set by your web hosting company) is very low. UpdraftPlus attempted to raise it but was unsuccessful. This plugin may struggle with a memory limit of less than 64 Mb - especially if you have very large files uploaded (though on the other hand, many sites will be successful with a 32Mb limit - your experience may vary)."
3158
  msgstr ""
3159
 
3160
- #: src/admin.php:2671
3161
  msgid "Current limit is:"
3162
  msgstr ""
3163
 
3164
- #: src/admin.php:2732
3165
  msgid "Backup Contents And Schedule"
3166
  msgstr ""
3167
 
3168
- #: src/admin.php:2831
3169
  msgid "Backup / Restore"
3170
  msgstr ""
3171
 
3172
- #: src/admin.php:2835
3173
  msgid "Premium / Extensions"
3174
  msgstr ""
3175
 
3176
- #: src/admin.php:2872
3177
  msgid "%s minutes, %s seconds"
3178
  msgstr ""
3179
 
3180
- #: src/admin.php:2874
3181
  msgid "Unfinished restoration"
3182
  msgstr ""
3183
 
3184
- #: src/admin.php:2875
3185
  msgid "You have an unfinished restoration operation, begun %s ago."
3186
  msgstr ""
3187
 
3188
- #: src/admin.php:2880
3189
  msgid "Continue restoration"
3190
  msgstr ""
3191
 
3192
- #: src/admin.php:2881, src/templates/wp-admin/notices/autobackup-notice.php:16, src/templates/wp-admin/notices/autobackup-notice.php:18, src/templates/wp-admin/notices/horizontal-notice.php:16, src/templates/wp-admin/notices/horizontal-notice.php:18
3193
  msgid "Dismiss"
3194
  msgstr ""
3195
 
3196
- #: src/admin.php:2902
3197
  msgid "Not yet got an account (it's free)? Go get one!"
3198
  msgstr ""
3199
 
3200
- #: src/admin.php:2913
3201
  msgid "Interested in knowing about your UpdraftPlus.Com password security? Read about it here."
3202
  msgstr ""
3203
 
3204
- #: src/admin.php:2925, src/includes/class-commands.php:905, src/includes/class-commands.php:953, src/templates/wp-admin/settings/temporary-clone.php:83, src/templates/wp-admin/settings/updraftcentral-connect.php:71
3205
  msgid "Processing"
3206
  msgstr ""
3207
 
3208
- #: src/admin.php:2968
3209
  msgid "Connect with your UpdraftPlus.Com account"
3210
  msgstr ""
3211
 
3212
- #: src/admin.php:2974, src/templates/wp-admin/settings/form-contents.php:255, src/templates/wp-admin/settings/updraftcentral-connect.php:44
3213
  msgid "Email"
3214
  msgstr ""
3215
 
3216
- #: src/admin.php:2989
3217
  msgid "Forgotten your details?"
3218
  msgstr ""
3219
 
3220
- #: src/admin.php:3001
3221
  msgid "Ask WordPress to update UpdraftPlus automatically when an update is available"
3222
  msgstr ""
3223
 
3224
- #: src/admin.php:3012
3225
  msgid "Add this website to UpdraftCentral (remote, centralised control) - free for up to 5 sites."
3226
  msgstr ""
3227
 
3228
- #: src/admin.php:3012
3229
  msgid "Learn more about UpdraftCentral"
3230
  msgstr ""
3231
 
3232
- #: src/admin.php:3038, src/templates/wp-admin/settings/updraftcentral-connect.php:56
3233
  msgid "One Time Password (check your OTP app to get this password)"
3234
  msgstr ""
3235
 
3236
- #: src/admin.php:3108
3237
  msgid "Latest UpdraftPlus.com news:"
3238
  msgstr ""
3239
 
3240
- #: src/admin.php:3135
3241
  msgid "Download most recently modified log file"
3242
  msgstr ""
3243
 
3244
- #: src/admin.php:3178
3245
  msgid "Your WordPress install has old directories from its state before you restored/migrated (technical information: these are suffixed with -old). You should press this button to delete them as soon as you have verified that the restoration worked."
3246
  msgstr ""
3247
 
3248
- #: src/admin.php:3243, src/admin.php:4315
3249
  msgid "View Log"
3250
  msgstr ""
3251
 
3252
- #: src/admin.php:3282
3253
  msgid "Backup begun"
3254
  msgstr ""
3255
 
3256
- #: src/admin.php:3287
3257
  msgid "Creating file backup zips"
3258
  msgstr ""
3259
 
3260
- #: src/admin.php:3300
3261
  msgid "Created file backup zips"
3262
  msgstr ""
3263
 
3264
- #: src/admin.php:3305
3265
  msgid "Clone server being provisioned and booted (can take several minutes)"
3266
  msgstr ""
3267
 
3268
- #: src/admin.php:3309
3269
  msgid "Uploading files to remote storage"
3270
  msgstr ""
3271
 
3272
- #: src/admin.php:3310
3273
  msgid "Sending files to remote site"
3274
  msgstr ""
3275
 
3276
- #: src/admin.php:3317
3277
  msgid "(%s%%, file %s of %s)"
3278
  msgstr ""
3279
 
3280
- #: src/admin.php:3322
3281
  msgid "Pruning old backup sets"
3282
  msgstr ""
3283
 
3284
- #: src/admin.php:3326
3285
  msgid "Waiting until scheduled time to retry because of errors"
3286
  msgstr ""
3287
 
3288
- #: src/admin.php:3331
3289
  msgid "Backup finished"
3290
  msgstr ""
3291
 
3292
- #: src/admin.php:3344
3293
  msgid "Created database backup"
3294
  msgstr ""
3295
 
3296
- #: src/admin.php:3355
3297
  msgid "Creating database backup"
3298
  msgstr ""
3299
 
3300
- #: src/admin.php:3357
3301
  msgid "table: %s"
3302
  msgstr ""
3303
 
3304
- #: src/admin.php:3370
3305
  msgid "Encrypting database"
3306
  msgstr ""
3307
 
3308
- #: src/admin.php:3378
3309
  msgid "Encrypted database"
3310
  msgstr ""
3311
 
3312
- #: src/admin.php:3380, src/central/bootstrap.php:444, src/central/bootstrap.php:451, src/methods/updraftvault.php:431, src/methods/updraftvault.php:477, src/methods/updraftvault.php:562
3313
  msgid "Unknown"
3314
  msgstr ""
3315
 
3316
- #: src/admin.php:3397
3317
  msgid "next resumption: %d (after %ss)"
3318
  msgstr ""
3319
 
3320
- #: src/admin.php:3398
3321
  msgid "last activity: %ss ago"
3322
  msgstr ""
3323
 
3324
- #: src/admin.php:3418
3325
  msgid "Job ID: %s"
3326
  msgstr ""
3327
 
3328
- #: src/admin.php:3432, src/admin.php:3722
3329
  msgid "Warning: %s"
3330
  msgstr ""
3331
 
3332
- #: src/admin.php:3452
3333
  msgid "show log"
3334
  msgstr ""
3335
 
3336
- #: src/admin.php:3453
3337
  msgid "Note: the progress bar below is based on stages, NOT time. Do not stop the backup simply because it seems to have remained in the same place for a while - that is normal."
3338
  msgstr ""
3339
 
3340
- #: src/admin.php:3453
3341
  msgid "stop"
3342
  msgstr ""
3343
 
3344
- #: src/admin.php:3463, src/admin.php:3463
3345
  msgid "Remove old directories"
3346
  msgstr ""
3347
 
3348
- #: src/admin.php:3466
3349
  msgid "Old directories successfully removed."
3350
  msgstr ""
3351
 
3352
- #: src/admin.php:3468
3353
  msgid "Old directory removal failed for some reason. You may want to do this manually."
3354
  msgstr ""
3355
 
3356
- #: src/admin.php:3505, src/admin.php:3540, src/admin.php:3544, src/includes/class-remote-send.php:334, src/includes/class-storage-methods-interface.php:315, src/restorer.php:330, src/restorer.php:3169, src/restorer.php:3274
3357
  msgid "OK"
3358
  msgstr ""
3359
 
3360
- #: src/admin.php:3589
3361
  msgid "The request to the filesystem to create the directory failed."
3362
  msgstr ""
3363
 
3364
- #: src/admin.php:3603
3365
  msgid "The folder was created, but we had to change its file permissions to 777 (world-writable) to be able to write to it. You should check with your hosting provider that this will not cause any problems"
3366
  msgstr ""
3367
 
3368
- #: src/admin.php:3608
3369
  msgid "The folder exists, but your webserver does not have permission to write to it."
3370
  msgstr ""
3371
 
3372
- #: src/admin.php:3608
3373
  msgid "You will need to consult with your web hosting provider to find out how to set permissions for a WordPress plugin to write to the directory."
3374
  msgstr ""
3375
 
3376
- #: src/admin.php:3710
3377
  msgid "incremental backup; base backup: %s"
3378
  msgstr ""
3379
 
3380
- #: src/admin.php:3740
3381
  msgid "No backup has been completed"
3382
  msgstr ""
3383
 
3384
- #: src/admin.php:3754
3385
  msgctxt "i.e. Non-automatic"
3386
  msgid "Manual"
3387
  msgstr ""
3388
 
3389
- #: src/admin.php:3767
3390
  msgid "Backup directory specified is writable, which is good."
3391
  msgstr ""
3392
 
3393
- #: src/admin.php:3771
3394
  msgid "Backup directory specified does <b>not</b> exist."
3395
  msgstr ""
3396
 
3397
- #: src/admin.php:3773
3398
  msgid "Backup directory specified exists, but is <b>not</b> writable."
3399
  msgstr ""
3400
 
3401
- #: src/admin.php:3775
3402
  msgid "Follow this link to attempt to create the directory and set the permissions"
3403
  msgstr ""
3404
 
3405
- #: src/admin.php:3775
3406
  msgid "or, to reset this option"
3407
  msgstr ""
3408
 
3409
- #: src/admin.php:3775
3410
  msgid "press here"
3411
  msgstr ""
3412
 
3413
- #: src/admin.php:3775
3414
  msgid "If that is unsuccessful check the permissions on your server or change it to another directory that is writable by your web server process."
3415
  msgstr ""
3416
 
3417
- #: src/admin.php:3855
3418
  msgid "Your wp-content directory server path: %s"
3419
  msgstr ""
3420
 
3421
- #: src/admin.php:3855
3422
  msgid "Any other directories found inside wp-content"
3423
  msgstr ""
3424
 
3425
- #: src/admin.php:3866
3426
  msgid "Exclude these from"
3427
  msgstr ""
3428
 
3429
- #: src/admin.php:3954
3430
  msgid "Your web server's PHP/Curl installation does not support https access. Communications with %s will be unencrypted. Ask your web host to install Curl/SSL in order to gain the ability for encryption (via an add-on)."
3431
  msgstr ""
3432
 
3433
- #: src/admin.php:3956
3434
  msgid "Your web server's PHP/Curl installation does not support https access. We cannot access %s without this support. Please contact your web hosting provider's support. %s <strong>requires</strong> Curl+https. Please do not file any support requests; there is no alternative."
3435
  msgstr ""
3436
 
3437
- #: src/admin.php:3959
3438
  msgid "Good news: Your site's communications with %s can be encrypted. If you see any errors to do with encryption, then look in the 'Expert Settings' for more help."
3439
  msgstr ""
3440
 
3441
- #: src/admin.php:3997, src/templates/wp-admin/settings/backupnow-modal.php:60, src/templates/wp-admin/settings/existing-backups-table.php:71, src/templates/wp-admin/settings/existing-backups-table.php:74
3442
  msgid "Only allow this backup to be deleted manually (i.e. keep it even if retention limits are hit)."
3443
  msgstr ""
3444
 
3445
- #: src/admin.php:4045
3446
  msgid "Total backup size:"
3447
  msgstr ""
3448
 
3449
- #: src/admin.php:4111, src/includes/class-wpadmin-commands.php:162, src/restorer.php:2179
3450
  msgid "Backup created by unknown source (%s) - cannot be restored."
3451
  msgstr ""
3452
 
3453
- #: src/admin.php:4140
3454
  msgid "Press here to download or browse"
3455
  msgstr ""
3456
 
3457
- #: src/admin.php:4145
3458
  msgid "(%d archive(s) in set)."
3459
  msgstr ""
3460
 
3461
- #: src/admin.php:4148
3462
  msgid "You appear to be missing one or more archives from this multi-archive set."
3463
  msgstr ""
3464
 
3465
- #: src/admin.php:4176, src/admin.php:4178
3466
  msgid "(Not finished)"
3467
  msgstr ""
3468
 
3469
- #: src/admin.php:4178
3470
  msgid "If you are seeing more backups than you expect, then it is probably because the deletion of old backup sets does not happen until a fresh backup completes."
3471
  msgstr ""
3472
 
3473
- #: src/admin.php:4203
3474
  msgid "(backup set imported from remote location)"
3475
  msgstr ""
3476
 
3477
- #: src/admin.php:4206
3478
  msgid "After pressing this button, you will be given the option to choose which components you wish to restore"
3479
  msgstr ""
3480
 
3481
- #: src/admin.php:4285
3482
  msgid "After pressing this button, you can select where to upload your backup from a list of your currently saved remote storage locations"
3483
  msgstr ""
3484
 
3485
- #: src/admin.php:4305
3486
  msgid "Delete this backup set"
3487
  msgstr ""
3488
 
3489
- #: src/admin.php:4458, src/admin.php:4466
3490
  msgid "Sufficient information about the in-progress restoration operation could not be found."
3491
  msgstr ""
3492
 
3493
- #: src/admin.php:4586
3494
  msgid "This backup does not exist in the backup history - restoration aborted. Timestamp:"
3495
  msgstr ""
3496
 
3497
- #: src/admin.php:4587
3498
  msgid "Backup does not exist in the backup history"
3499
  msgstr ""
3500
 
3501
- #: src/admin.php:4607
3502
  msgid "ABORT: Could not find the information on which entities to restore."
3503
  msgstr ""
3504
 
3505
- #: src/admin.php:4607
3506
  msgid "If making a request for support, please include this information:"
3507
  msgstr ""
3508
 
3509
- #: src/admin.php:4772
3510
  msgid "Backup won't be sent to any remote storage - none has been saved in the %s"
3511
  msgstr ""
3512
 
3513
- #: src/admin.php:4772
3514
  msgid "settings"
3515
  msgstr ""
3516
 
3517
- #: src/admin.php:4772
3518
  msgid "Not got any remote storage?"
3519
  msgstr ""
3520
 
3521
- #: src/admin.php:4772
3522
  msgid "Check out UpdraftPlus Vault."
3523
  msgstr ""
3524
 
3525
- #: src/admin.php:4774
3526
  msgid "Send this backup to remote storage"
3527
  msgstr ""
3528
 
3529
- #: src/admin.php:4864
3530
  msgid "UpdraftPlus seems to have been updated to version (%s), which is different to the version running when this settings page was loaded. Please reload the settings page before trying to save settings."
3531
  msgstr ""
3532
 
3533
- #: src/admin.php:4871, src/templates/wp-admin/settings/take-backup.php:51
3534
  msgid "This button is disabled because your backup directory is not writable (see the settings)."
3535
  msgstr ""
3536
 
3537
- #: src/admin.php:4900
3538
  msgid "Your settings have been saved."
3539
  msgstr ""
3540
 
3541
- #: src/admin.php:4905
3542
  msgid "Your settings failed to save. Please refresh the settings page and try again"
3543
  msgstr ""
3544
 
3545
- #: src/admin.php:4953
3546
  msgid "authentication error"
3547
  msgstr ""
3548
 
3549
- #: src/admin.php:4957
3550
  msgid "Remote storage method and instance id are required for authentication."
3551
  msgstr ""
3552
 
3553
- #: src/admin.php:5024
3554
  msgid "Your settings have been wiped."
3555
  msgstr ""
3556
 
3557
- #: src/admin.php:5125
3558
  msgid "Known backups (raw)"
3559
  msgstr ""
3560
 
3561
- #: src/admin.php:5160
3562
  msgid "Options (raw)"
3563
  msgstr ""
3564
 
3565
- #: src/admin.php:5163
3566
  msgid "Value"
3567
  msgstr ""
3568
 
3569
- #: src/admin.php:5315
3570
  msgid "The file %s has a \"byte order mark\" (BOM) at its beginning."
3571
  msgid_plural "The files %s have a \"byte order mark\" (BOM) at their beginning."
3572
  msgstr[0] ""
3573
  msgstr[1] ""
3574
 
3575
- #: src/admin.php:5315, src/methods/openstack2.php:144, src/restorer.php:183, src/restorer.php:185, src/templates/wp-admin/settings/downloading-and-restoring.php:27, src/templates/wp-admin/settings/tab-backups.php:27, src/templates/wp-admin/settings/updraftcentral-connect.php:14
3576
  msgid "Follow this link for more information"
3577
  msgstr ""
3578
 
3579
- #: src/admin.php:5339, src/admin.php:5343, src/templates/wp-admin/advanced/site-info.php:45, src/templates/wp-admin/advanced/site-info.php:51, src/templates/wp-admin/advanced/site-info.php:58, src/templates/wp-admin/advanced/site-info.php:59
3580
  msgid "%s version:"
3581
  msgstr ""
3582
 
3583
- #: src/admin.php:5347
3584
  msgid "Clone region:"
3585
  msgstr ""
3586
 
3587
- #: src/admin.php:5362
3588
  msgid "Forbid non-administrators to login to WordPress on your clone"
3589
  msgstr ""
3590
 
3591
- #: src/admin.php:5385
3592
  msgid "(current version)"
3593
  msgstr ""
3594
 
3595
- #: src/admin.php:5405
3596
  msgid "Your clone has started and will be available at the following URLs once it is ready."
3597
  msgstr ""
3598
 
3599
- #: src/admin.php:5406
3600
  msgid "Front page:"
3601
  msgstr ""
3602
 
3603
- #: src/admin.php:5407
3604
  msgid "Dashboard:"
3605
  msgstr ""
3606
 
3607
- #: src/admin.php:5409, src/admin.php:5412
3608
  msgid "You can find your temporary clone information in your updraftplus.com account here."
3609
  msgstr ""
3610
 
3611
- #: src/admin.php:5411
3612
  msgid "Your clone has started, network information is not yet available but will be displayed here and at your updraftplus.com account once it is ready."
3613
  msgstr ""
3614
 
3615
- #: src/admin.php:5477, src/admin.php:5479
3616
  msgid "You have requested saving to remote storage (%s), but without entering any settings for that storage."
3617
  msgstr ""
3618
 
@@ -4580,7 +4588,7 @@ msgstr ""
4580
  msgid "Allow only administrators to log in"
4581
  msgstr ""
4582
 
4583
- #: src/includes/updraftplus-login.php:57, src/methods/updraftvault.php:715, src/udaddons/updraftplus-addons.php:982
4584
  msgid "UpdraftPlus.Com returned a response which we could not understand (data: %s)"
4585
  msgstr ""
4586
 
@@ -5693,7 +5701,7 @@ msgstr ""
5693
  msgid "Refresh current status"
5694
  msgstr ""
5695
 
5696
- #: src/methods/updraftvault.php:689, src/udaddons/updraftplus-addons.php:881
5697
  msgid "You need to supply both an email address and a password"
5698
  msgstr ""
5699
 
@@ -5701,11 +5709,11 @@ msgstr ""
5701
  msgid "You do not currently have any UpdraftPlus Vault quota"
5702
  msgstr ""
5703
 
5704
- #: src/methods/updraftvault.php:742, src/methods/updraftvault.php:757, src/udaddons/updraftplus-addons.php:1023
5705
  msgid "UpdraftPlus.Com returned a response, but we could not understand it"
5706
  msgstr ""
5707
 
5708
- #: src/methods/updraftvault.php:748, src/udaddons/updraftplus-addons.php:1012
5709
  msgid "Your email address was valid, but your password was not recognised by UpdraftPlus.Com."
5710
  msgstr ""
5711
 
@@ -5713,11 +5721,11 @@ msgstr ""
5713
  msgid "If you have forgotten your password, then go here to change your password on updraftplus.com."
5714
  msgstr ""
5715
 
5716
- #: src/methods/updraftvault.php:751, src/udaddons/updraftplus-addons.php:1016
5717
  msgid "You entered an email address that was not recognised by UpdraftPlus.Com"
5718
  msgstr ""
5719
 
5720
- #: src/methods/updraftvault.php:754, src/udaddons/updraftplus-addons.php:1019
5721
  msgid "Your email address and password were not recognised by UpdraftPlus.Com"
5722
  msgstr ""
5723
 
@@ -7001,6 +7009,30 @@ msgstr ""
7001
  msgid "Premium / Find out more"
7002
  msgstr ""
7003
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7004
  #: src/templates/wp-admin/settings/take-backup.php:6
7005
  msgid "JavaScript warning"
7006
  msgstr ""
@@ -7281,7 +7313,7 @@ msgstr ""
7281
  msgid "The claim and installation was successful. You can now use your purchase!"
7282
  msgstr ""
7283
 
7284
- #: src/udaddons/options.php:371, src/udaddons/updraftplus-addons.php:321
7285
  msgid "UpdraftPlus Addons"
7286
  msgstr ""
7287
 
@@ -7365,95 +7397,91 @@ msgstr ""
7365
  msgid "Manage Addons"
7366
  msgstr ""
7367
 
7368
- #: src/udaddons/updraftplus-addons.php:234
7369
  msgid "Dismiss from main dashboard (for %s weeks)"
7370
  msgstr ""
7371
 
7372
- #: src/udaddons/updraftplus-addons.php:265
7373
  msgid "The installed version of UpdraftPlus Backup/Restore has not been tested on your version of WordPress (%s)."
7374
  msgstr ""
7375
 
7376
- #: src/udaddons/updraftplus-addons.php:265
7377
  msgid "It has been tested up to version %s."
7378
  msgstr ""
7379
 
7380
- #: src/udaddons/updraftplus-addons.php:265
7381
  msgid "You should update UpdraftPlus to make sure that you have a version that has been tested for compatibility."
7382
  msgstr ""
7383
 
7384
- #: src/udaddons/updraftplus-addons.php:272
7385
  msgid "Your paid access to UpdraftPlus updates for this site has expired. You will no longer receive updates to UpdraftPlus."
7386
  msgstr ""
7387
 
7388
- #: src/udaddons/updraftplus-addons.php:272, src/udaddons/updraftplus-addons.php:278
7389
  msgid "To regain access to updates (including future features and compatibility with future WordPress releases) and support, please renew."
7390
  msgstr ""
7391
 
7392
- #: src/udaddons/updraftplus-addons.php:274, src/udaddons/updraftplus-addons.php:286
7393
  msgid "If you have already renewed, then you need to allocate a licence to this site - %s"
7394
  msgstr ""
7395
 
7396
- #: src/udaddons/updraftplus-addons.php:274, src/udaddons/updraftplus-addons.php:286
7397
- msgid "go here"
7398
- msgstr ""
7399
-
7400
- #: src/udaddons/updraftplus-addons.php:278
7401
  msgid "Your paid access to UpdraftPlus updates for %s add-ons on this site has expired."
7402
  msgstr ""
7403
 
7404
- #: src/udaddons/updraftplus-addons.php:282
7405
  msgid "Your paid access to UpdraftPlus updates for %s of the %s add-ons on this site will soon expire."
7406
  msgstr ""
7407
 
7408
- #: src/udaddons/updraftplus-addons.php:282, src/udaddons/updraftplus-addons.php:284
7409
  msgid "To retain your access, and maintain access to updates (including future features and compatibility with future WordPress releases) and support, please renew."
7410
  msgstr ""
7411
 
7412
- #: src/udaddons/updraftplus-addons.php:284
7413
  msgid "Your paid access to UpdraftPlus updates for this site will soon expire."
7414
  msgstr ""
7415
 
7416
- #: src/udaddons/updraftplus-addons.php:292
7417
  msgid "Your paid access to UpdraftPlus support has expired."
7418
  msgstr ""
7419
 
7420
- #: src/udaddons/updraftplus-addons.php:292
7421
  msgid "To regain your access, please renew."
7422
  msgstr ""
7423
 
7424
- #: src/udaddons/updraftplus-addons.php:294
7425
  msgid "Your paid access to UpdraftPlus support will soon expire."
7426
  msgstr ""
7427
 
7428
- #: src/udaddons/updraftplus-addons.php:294
7429
  msgid "To maintain your access to support, please renew."
7430
  msgstr ""
7431
 
7432
- #: src/udaddons/updraftplus-addons.php:493, src/udaddons/updraftplus-addons.php:587
7433
  msgid "Errors occurred:"
7434
  msgstr ""
7435
 
7436
- #: src/udaddons/updraftplus-addons.php:906
7437
  msgid "We failed to successfully connect to UpdraftPlus.Com"
7438
  msgstr ""
7439
 
7440
- #: src/udaddons/updraftplus-addons.php:908
7441
  msgid "UpdraftPlus.Com responded, but we did not understand the response"
7442
  msgstr ""
7443
 
7444
- #: src/udaddons/updraftplus-addons.php:980
7445
  msgid "No response data was received. This usually indicates a network connectivity issue (e.g. an outgoing firewall or overloaded network) between this site and UpdraftPlus.com."
7446
  msgstr ""
7447
 
7448
- #: src/udaddons/updraftplus-addons.php:1012
7449
  msgid "Go here to re-enter your password."
7450
  msgstr ""
7451
 
7452
- #: src/udaddons/updraftplus-addons.php:1013
7453
  msgid "If you have forgotten your password "
7454
  msgstr ""
7455
 
7456
- #: src/udaddons/updraftplus-addons.php:1013
7457
  msgid "go here to change your password on updraftplus.com."
7458
  msgstr ""
7459
 
25
  msgid "UpdraftPlus Automatic Backups"
26
  msgstr ""
27
 
28
+ #: src/addons/autobackup.php:157, src/addons/autobackup.php:1026, src/admin.php:928
29
  msgid "Automatic backup before update"
30
  msgstr ""
31
 
49
  msgid "(logs can be found in the UpdraftPlus settings page as normal)..."
50
  msgstr ""
51
 
52
+ #: src/addons/autobackup.php:344, src/addons/autobackup.php:439, src/admin.php:3104, src/admin.php:3110, src/templates/wp-admin/settings/take-backup.php:69
53
  msgid "Last log message"
54
  msgstr ""
55
 
57
  msgid "Starting automatic backup..."
58
  msgstr ""
59
 
60
+ #: src/addons/autobackup.php:349, src/addons/autobackup.php:441, src/admin.php:879, src/methods/remotesend.php:71, src/methods/remotesend.php:79, src/methods/remotesend.php:245, src/methods/remotesend.php:262, src/methods/remotesend.php:310
61
  msgid "Unexpected response:"
62
  msgstr ""
63
 
97
  msgid "now proceeding with the updates..."
98
  msgstr ""
99
 
100
+ #: src/addons/autobackup.php:1072, src/admin.php:1058
101
  msgid "Be safe with an automatic backup"
102
  msgstr ""
103
 
109
  msgid "Do not abort after pressing Proceed below - wait for the backup to complete."
110
  msgstr ""
111
 
112
+ #: src/addons/autobackup.php:1104, src/admin.php:924
113
  msgid "Proceed with update"
114
  msgstr ""
115
 
145
  msgid "You must add the following as the authorised redirect URI in your Azure console (under \"API Settings\") when asked"
146
  msgstr ""
147
 
148
+ #: src/addons/azure.php:608, src/addons/migrator.php:948, src/admin.php:1235, src/admin.php:1239, src/admin.php:1243, src/admin.php:1247, src/admin.php:1251, src/admin.php:1260, src/admin.php:3960, src/admin.php:3967, src/admin.php:3969, src/admin.php:5328, src/methods/cloudfiles-new.php:100, src/methods/cloudfiles.php:440, src/methods/ftp.php:335, src/methods/openstack-base.php:571, src/methods/s3.php:865, src/methods/s3.php:869, src/methods/updraftvault.php:324, src/templates/wp-admin/settings/downloading-and-restoring.php:27, src/templates/wp-admin/settings/tab-backups.php:27, src/udaddons/updraftplus-addons.php:270
149
  msgid "Warning"
150
  msgstr ""
151
 
152
+ #: src/addons/azure.php:608, src/admin.php:3960, src/methods/updraftvault.php:324
153
  msgid "Your web server's PHP installation does not included a <strong>required</strong> (for %s) module (%s). Please contact your web hosting provider's support and ask for them to enable it."
154
  msgstr ""
155
 
229
  msgid "Azure China"
230
  msgstr ""
231
 
232
+ #: src/addons/backblaze.php:205, src/admin.php:2220
233
  msgid "Error: unexpected file read fail"
234
  msgstr ""
235
 
236
+ #: src/addons/backblaze.php:225, src/addons/cloudfiles-enhanced.php:117, src/addons/migrator.php:893, src/addons/migrator.php:1190, src/addons/migrator.php:1271, src/addons/migrator.php:1320, src/addons/migrator.php:1558, src/addons/s3-enhanced.php:161, src/addons/s3-enhanced.php:166, src/addons/s3-enhanced.php:168, src/addons/sftp.php:919, src/addons/webdav.php:203, src/admin.php:93, src/admin.php:893, src/includes/class-remote-send.php:273, src/includes/class-remote-send.php:300, src/includes/class-remote-send.php:306, src/includes/class-remote-send.php:369, src/includes/class-remote-send.php:428, src/includes/class-remote-send.php:455, src/includes/class-remote-send.php:478, src/includes/class-remote-send.php:488, src/includes/class-remote-send.php:493, src/methods/remotesend.php:76, src/methods/remotesend.php:259, src/methods/updraftvault.php:560, src/restorer.php:332, src/restorer.php:360, src/restorer.php:2104
237
  msgid "Error:"
238
  msgstr ""
239
 
601
  msgid "You do not have access to this bucket"
602
  msgstr ""
603
 
604
+ #: src/addons/googlecloud.php:329, src/addons/sftp.php:50, src/methods/addon-base-v2.php:74, src/methods/addon-base-v2.php:115, src/methods/addon-base-v2.php:149, src/methods/addon-base-v2.php:195, src/methods/addon-base-v2.php:285, src/methods/ftp.php:42, src/methods/googledrive.php:202, src/methods/googledrive.php:204, src/methods/remotesend.php:295, src/methods/stream-base.php:27, src/methods/stream-base.php:163, src/methods/stream-base.php:169, src/methods/stream-base.php:203, src/methods/stream-base.php:278
605
  msgid "No %s settings were found"
606
  msgstr ""
607
 
613
  msgid "No refresh token was received from Google. This often means that you entered your client secret wrongly, or that you have not yet re-authenticated (below) since correcting it. Re-check it, then follow the link to authenticate again. Finally, if that does not work, then use expert mode to wipe all your settings, create a new Google client ID/secret, and start again."
614
  msgstr ""
615
 
616
+ #: src/addons/googlecloud.php:445, src/addons/migrator.php:590, src/admin.php:2403, src/admin.php:2424, src/admin.php:2432, src/class-updraftplus.php:1017, src/class-updraftplus.php:1023, src/class-updraftplus.php:4140, src/class-updraftplus.php:4142, src/class-updraftplus.php:4307, src/class-updraftplus.php:4314, src/class-updraftplus.php:4385, src/methods/googledrive.php:401, src/methods/s3.php:344
617
  msgid "Error: %s"
618
  msgstr ""
619
 
641
  msgid "However, subsequent access attempts failed:"
642
  msgstr ""
643
 
644
+ #: src/addons/googlecloud.php:725, src/addons/googlecloud.php:846, src/addons/onedrive.php:933, src/addons/sftp.php:587, src/addons/sftp.php:591, src/addons/wp-cli.php:516, src/methods/addon-base-v2.php:327, src/methods/cloudfiles.php:575, src/methods/googledrive.php:473, src/methods/openstack-base.php:530, src/methods/s3.php:1205, src/methods/stream-base.php:372
645
  msgid "Success"
646
  msgstr ""
647
 
657
  msgid "You must save and authenticate before you can test your settings."
658
  msgstr ""
659
 
660
+ #: src/addons/googlecloud.php:783, src/addons/googlecloud.php:817, src/addons/googlecloud.php:823, src/addons/sftp.php:549, src/admin.php:3514, src/admin.php:3550, src/admin.php:3560, src/methods/addon-base-v2.php:313, src/methods/stream-base.php:356
661
  msgid "Failed"
662
  msgstr ""
663
 
733
  msgid "Otherwise, you can leave it blank."
734
  msgstr ""
735
 
736
+ #: src/addons/googlecloud.php:1041, src/addons/migrator.php:493, src/addons/migrator.php:496, src/addons/migrator.php:499, src/admin.php:1239, src/admin.php:2642, src/backup.php:3296, src/class-updraftplus.php:4406, src/class-updraftplus.php:4406, src/updraftplus.php:157
737
  msgid "Go here for more information."
738
  msgstr ""
739
 
789
  msgid "Supported backup plugins: %s"
790
  msgstr ""
791
 
792
+ #: src/addons/importer.php:276, src/admin.php:4121, src/includes/class-backup-history.php:499
793
  msgid "Backup created by: %s."
794
  msgstr ""
795
 
813
  msgid "No incremental backup of your files is possible, as no suitable existing backup was found to add increments to."
814
  msgstr ""
815
 
816
+ #: src/addons/incremental.php:342, src/addons/reporting.php:261, src/admin.php:4053
817
  msgid "None"
818
  msgstr ""
819
 
821
  msgid "Every hour"
822
  msgstr ""
823
 
824
+ #: src/addons/incremental.php:344, src/addons/incremental.php:345, src/addons/incremental.php:346, src/addons/incremental.php:347, src/admin.php:3768, src/admin.php:3769, src/admin.php:3770, src/updraftplus.php:100, src/updraftplus.php:101, src/updraftplus.php:102
825
  msgid "Every %s hours"
826
  msgstr ""
827
 
828
+ #: src/addons/incremental.php:348, src/admin.php:3771
829
  msgid "Daily"
830
  msgstr ""
831
 
832
+ #: src/addons/incremental.php:349, src/admin.php:3772
833
  msgid "Weekly"
834
  msgstr ""
835
 
836
+ #: src/addons/incremental.php:350, src/admin.php:3773
837
  msgid "Fortnightly"
838
  msgstr ""
839
 
840
+ #: src/addons/incremental.php:351, src/admin.php:3774
841
  msgid "Monthly"
842
  msgstr ""
843
 
869
  msgid "Please make sure that you have made a note of the password!"
870
  msgstr ""
871
 
872
+ #: src/addons/lockadmin.php:171, src/addons/moredatabase.php:241, src/addons/sftp.php:455, src/addons/webdav.php:193, src/admin.php:2997, src/methods/openstack2.php:164, src/methods/updraftvault.php:382, src/templates/wp-admin/settings/updraftcentral-connect.php:50
873
  msgid "Password"
874
  msgstr ""
875
 
961
  msgid "After pressing this button, you will be given the option to choose which components you wish to migrate"
962
  msgstr ""
963
 
964
+ #: src/addons/migrator.php:274, src/admin.php:739, src/admin.php:926, src/admin.php:4219
965
  msgid "Restore"
966
  msgstr ""
967
 
985
  msgid "Replace with"
986
  msgstr ""
987
 
988
+ #: src/addons/migrator.php:340, src/addons/moredatabase.php:89, src/addons/moredatabase.php:91, src/addons/moredatabase.php:93, src/addons/sftp.php:518, src/addons/sftp.php:522, src/addons/sftp.php:526, src/addons/webdav.php:253, src/admin.php:945, src/includes/class-remote-send.php:470, src/methods/addon-base-v2.php:305, src/methods/cloudfiles-new.php:184, src/methods/cloudfiles-new.php:189, src/methods/cloudfiles.php:519, src/methods/cloudfiles.php:524, src/methods/ftp.php:417, src/methods/ftp.php:421, src/methods/openstack2.php:180, src/methods/openstack2.php:185, src/methods/openstack2.php:190, src/methods/openstack2.php:195, src/methods/s3.php:1139, src/methods/s3.php:1143
989
  msgid "Failure: No %s was given."
990
  msgstr ""
991
 
1187
  msgid "SQL update commands run:"
1188
  msgstr ""
1189
 
1190
+ #: src/addons/migrator.php:1305, src/admin.php:890
1191
  msgid "Errors:"
1192
  msgstr ""
1193
 
1239
  msgid "Paste key here"
1240
  msgstr ""
1241
 
1242
+ #: src/addons/migrator.php:1748, src/admin.php:938
1243
  msgid "Add site"
1244
  msgstr ""
1245
 
1259
  msgid "Enter your chosen name"
1260
  msgstr ""
1261
 
1262
+ #: src/addons/migrator.php:1761, src/addons/sftp.php:463, src/admin.php:944, src/admin.php:5176, src/templates/wp-admin/settings/temporary-clone.php:63
1263
  msgid "Key"
1264
  msgstr ""
1265
 
1331
  msgid "%s total table(s) found; %s with the indicated prefix."
1332
  msgstr ""
1333
 
1334
+ #: src/addons/moredatabase.php:144, src/admin.php:1730
1335
  msgid "Messages:"
1336
  msgstr ""
1337
 
1367
  msgid "Backup external database"
1368
  msgstr ""
1369
 
1370
+ #: src/addons/moredatabase.php:239, src/addons/sftp.php:434, src/addons/webdav.php:199
1371
  msgid "Host"
1372
  msgstr ""
1373
 
1374
+ #: src/addons/moredatabase.php:240, src/addons/sftp.php:448, src/addons/webdav.php:187, src/methods/cloudfiles-new.php:189, src/methods/cloudfiles.php:524, src/methods/openstack2.php:158
1375
  msgid "Username"
1376
  msgstr ""
1377
 
1378
+ #: src/addons/moredatabase.php:242, src/addons/reporting.php:276, src/addons/wp-cli.php:432, src/admin.php:360, src/admin.php:4028, src/admin.php:4081, src/includes/class-remote-send.php:338, src/includes/class-wpadmin-commands.php:157, src/includes/class-wpadmin-commands.php:521, src/restorer.php:466, src/templates/wp-admin/settings/delete-and-restore-modals.php:74, src/templates/wp-admin/settings/delete-and-restore-modals.php:75, src/templates/wp-admin/settings/take-backup.php:34
1379
  msgid "Database"
1380
  msgstr ""
1381
 
1427
  msgid "(None configured)"
1428
  msgstr ""
1429
 
1430
+ #: src/addons/morefiles.php:71, src/admin.php:953
1431
  msgctxt "(verb)"
1432
  msgid "Download"
1433
  msgstr ""
1512
  msgid "Go up a directory"
1513
  msgstr ""
1514
 
1515
+ #: src/addons/morefiles.php:311, src/admin.php:919
1516
  msgid "Cancel"
1517
  msgstr ""
1518
 
1528
  msgid "Exclude these:"
1529
  msgstr ""
1530
 
1531
+ #: src/addons/morefiles.php:476, src/admin.php:3882
1532
  msgid "If entering multiple files/directories, then separate them with commas. For entities at the top level, you can use a * at the start or end of the entry as a wildcard."
1533
  msgstr ""
1534
 
1544
  msgid "(as many as you like)"
1545
  msgstr ""
1546
 
1547
+ #: src/addons/morestorage.php:81, src/admin.php:999
1548
  msgid "Currently enabled"
1549
  msgstr ""
1550
 
1551
+ #: src/addons/morestorage.php:81, src/admin.php:1000
1552
  msgid "Currently disabled"
1553
  msgstr ""
1554
 
1612
  msgid "%s download: failed: file not found"
1613
  msgstr ""
1614
 
1615
+ #: src/addons/onedrive.php:677, src/udaddons/updraftplus-addons.php:956
1616
  msgid "An error response was received; HTTP code:"
1617
  msgstr ""
1618
 
1619
+ #: src/addons/onedrive.php:690, src/addons/onedrive.php:710, src/includes/updraftplus-login.php:55, src/methods/updraftvault.php:713, src/udaddons/updraftplus-addons.php:969, src/udaddons/updraftplus-addons.php:982
1620
  msgid "This most likely means that you share a webserver with a hacked website that has been used in previous attacks."
1621
  msgstr ""
1622
 
1623
+ #: src/addons/onedrive.php:690, src/udaddons/updraftplus-addons.php:969, src/udaddons/updraftplus-addons.php:982
1624
  msgid "To remove any block, please go here."
1625
  msgstr ""
1626
 
1627
+ #: src/addons/onedrive.php:690, src/udaddons/updraftplus-addons.php:969
1628
  msgid "Your IP address:"
1629
  msgstr ""
1630
 
1631
+ #: src/addons/onedrive.php:710, src/includes/updraftplus-login.php:55, src/methods/updraftvault.php:713, src/udaddons/updraftplus-addons.php:982
1632
  msgid "UpdraftPlus.com has responded with 'Access Denied'."
1633
  msgstr ""
1634
 
1635
+ #: src/addons/onedrive.php:710, src/includes/updraftplus-login.php:55, src/methods/updraftvault.php:713, src/udaddons/updraftplus-addons.php:982
1636
  msgid "It appears that your web server's IP Address (%s) is blocked."
1637
  msgstr ""
1638
 
1780
  msgid "Time taken:"
1781
  msgstr ""
1782
 
1783
+ #: src/addons/reporting.php:239, src/admin.php:4041
1784
  msgid "Uploaded to:"
1785
  msgstr ""
1786
 
1816
  msgid "Log all messages to syslog (only server admins are likely to want this)"
1817
  msgstr ""
1818
 
1819
+ #: src/addons/reporting.php:539, src/admin.php:874
1820
  msgid "To send to more than one address, separate each address with a comma."
1821
  msgstr ""
1822
 
1823
+ #: src/addons/reporting.php:541, src/admin.php:868
1824
  msgid "Send a report only when there are warnings/errors"
1825
  msgstr ""
1826
 
1828
  msgid "Be aware that mail servers tend to have size limits; typically around %s MB; backups larger than any limits will likely not arrive."
1829
  msgstr ""
1830
 
1831
+ #: src/addons/reporting.php:543, src/admin.php:869
1832
  msgid "When the Email storage method is enabled, also send the backup"
1833
  msgstr ""
1834
 
1840
  msgid "Use this option to only send database backups when sending to email, and skip other components."
1841
  msgstr ""
1842
 
1843
+ #: src/addons/reporting.php:545, src/admin.php:872
1844
  msgid "Only email the database backup"
1845
  msgstr ""
1846
 
2060
  msgid "Do remember to save your settings."
2061
  msgstr ""
2062
 
2063
+ #: src/addons/sftp.php:40
2064
  msgid "Encrypted FTP is available, and will be automatically tried first (before falling back to non-encrypted if it is not successful), unless you disable it using the expert options. The 'Test FTP Login' button will tell you what type of connection is in use."
2065
  msgstr ""
2066
 
2067
+ #: src/addons/sftp.php:40
2068
  msgid "Some servers advertise encrypted FTP as available, but then time-out (after a long time) when you attempt to use it. If you find this happening, then go into the \"Expert Options\" (below) and turn off SSL there."
2069
  msgstr ""
2070
 
2071
+ #: src/addons/sftp.php:52, src/addons/sftp.php:53, src/addons/sftp.php:54
2072
  msgid "No %s found"
2073
  msgstr ""
2074
 
2075
+ #: src/addons/sftp.php:52
2076
  msgid "SCP/SFTP host setting"
2077
  msgstr ""
2078
 
2079
+ #: src/addons/sftp.php:53
2080
  msgid "SCP/SFTP user setting"
2081
  msgstr ""
2082
 
2083
+ #: src/addons/sftp.php:54
2084
  msgid "SCP/SFTP password/key"
2085
  msgstr ""
2086
 
2087
+ #: src/addons/sftp.php:80
2088
  msgid "Check your file permissions: Could not successfully create and enter directory:"
2089
  msgstr ""
2090
 
2091
+ #: src/addons/sftp.php:87
2092
  msgid "Fingerprints don't match."
2093
  msgstr ""
2094
 
2095
+ #: src/addons/sftp.php:148, src/methods/cloudfiles.php:147, src/methods/cloudfiles.php:189
2096
  msgid "Error: Failed to upload"
2097
  msgstr ""
2098
 
2099
+ #: src/addons/sftp.php:160, src/methods/openstack-base.php:81, src/methods/openstack-base.php:315, src/methods/s3.php:379, src/methods/s3.php:391, src/methods/s3.php:392
2100
  msgid "%s Error: Failed to upload"
2101
  msgstr ""
2102
 
2103
+ #: src/addons/sftp.php:283
2104
  msgid "Error: Failed to download"
2105
  msgstr ""
2106
 
2107
+ #: src/addons/sftp.php:339
2108
  msgid "The key provided was not in a valid format, or was corrupt."
2109
  msgstr ""
2110
 
2111
+ #: src/addons/sftp.php:416
2112
  msgid "Resuming partial uploads is supported for SFTP, but not for SCP. Thus, if using SCP then you will need to ensure that your webserver allows PHP processes to run long enough to upload your largest backup file."
2113
  msgstr ""
2114
 
2115
+ #: src/addons/sftp.php:441, src/addons/webdav.php:207
2116
  msgid "Port"
2117
  msgstr ""
2118
 
2119
+ #: src/addons/sftp.php:458
2120
  msgid "Your login may be either password or key-based - you only need to enter one, not both."
2121
  msgstr ""
2122
 
2123
+ #: src/addons/sftp.php:466
2124
  msgctxt "Do not translate BEGIN RSA PRIVATE KEY. PCKS1, XML, PEM and PuTTY are also technical acronyms which should not be translated."
2125
  msgid "PKCS1 (PEM header: BEGIN RSA PRIVATE KEY), XML and PuTTY format keys are accepted."
2126
  msgstr ""
2127
 
2128
+ #: src/addons/sftp.php:471
2129
  msgid "RSA fingerprint"
2130
  msgstr ""
2131
 
2132
+ #: src/addons/sftp.php:474
2133
  msgid "MD5 (128-bit) fingerprint, in hex format - should have the same length and general appearance as this (colons optional): 73:51:43:b1:b5:fc:8b:b7:0a:3a:a9:b1:0f:69:73:a8. Using a fingerprint is not essential, but you are not secure against %s if you do not use one"
2134
  msgstr ""
2135
 
2136
+ #: src/addons/sftp.php:479
2137
  msgid "Directory path"
2138
  msgstr ""
2139
 
2140
+ #: src/addons/sftp.php:481
2141
  msgid "Where to change directory to after logging in - often this is relative to your home directory."
2142
  msgstr ""
2143
 
2144
+ #: src/addons/sftp.php:488
2145
  msgid "Use SCP instead of SFTP"
2146
  msgstr ""
2147
 
2148
+ #: src/addons/sftp.php:518
2149
  msgid "host name"
2150
  msgstr ""
2151
 
2152
+ #: src/addons/sftp.php:522, src/methods/openstack2.php:180
2153
  msgid "username"
2154
  msgstr ""
2155
 
2156
+ #: src/addons/sftp.php:526
2157
  msgid "password/key"
2158
  msgstr ""
2159
 
2160
+ #: src/addons/sftp.php:531
2161
  msgid "Failure: Port must be an integer."
2162
  msgstr ""
2163
 
2164
+ #: src/addons/sftp.php:563
2165
  msgid "Check your file permissions: Could not successfully create and enter:"
2166
  msgstr ""
2167
 
2168
+ #: src/addons/sftp.php:593
2169
  msgid "Failed: We are unable to match the fingerprint. However, we were able to log in and move to the indicated directory and successfully create a file in that location."
2170
  msgstr ""
2171
 
2172
+ #: src/addons/sftp.php:597, src/addons/sftp.php:599
2173
  msgid "The server's RSA key %s fingerprint: %s."
2174
  msgstr ""
2175
 
2176
+ #: src/addons/sftp.php:602
2177
  msgid "Failed: We were able to log in and move to the indicated directory, but failed to successfully create a file in that location."
2178
  msgstr ""
2179
 
2180
+ #: src/addons/sftp.php:604
2181
  msgid "Failed: We were able to log in, but failed to successfully create a file in that location."
2182
  msgstr ""
2183
 
2184
+ #: src/addons/sftp.php:800
2185
  msgid "Encrypted login failed; trying non-encrypted"
2186
  msgstr ""
2187
 
2188
+ #: src/addons/sftp.php:822, src/addons/sftp.php:825, src/includes/ftp.class.php:58, src/includes/ftp.class.php:61
2189
  msgid "The %s connection timed out; if you entered the server correctly, then this is usually caused by a firewall blocking the connection - you should check with your web hosting company."
2190
  msgstr ""
2191
 
2192
+ #: src/addons/sftp.php:1067
2193
  msgid "The UpdraftPlus module for this file access method (%s) does not support listing files"
2194
  msgstr ""
2195
 
2229
  msgid "No previous backup found to add an increment to."
2230
  msgstr ""
2231
 
2232
+ #: src/addons/wp-cli.php:110, src/admin.php:877
2233
  msgid "You have chosen to backup a database, but no tables have been selected"
2234
  msgstr ""
2235
 
2236
+ #: src/addons/wp-cli.php:116, src/admin.php:875
2237
  msgid "If you exclude both the database and the files, then you have excluded everything!"
2238
  msgstr ""
2239
 
2265
  msgid "Latest full backup found; identifier:"
2266
  msgstr ""
2267
 
2268
+ #: src/addons/wp-cli.php:430, src/admin.php:4075, src/admin.php:4123
2269
  msgid "unknown source"
2270
  msgstr ""
2271
 
2272
+ #: src/addons/wp-cli.php:432, src/admin.php:4081
2273
  msgid "Database (created by %s)"
2274
  msgstr ""
2275
 
2276
+ #: src/addons/wp-cli.php:438, src/admin.php:4083
2277
  msgid "External database"
2278
  msgstr ""
2279
 
2280
+ #: src/addons/wp-cli.php:450, src/admin.php:4127
2281
  msgid "Files and database WordPress backup (created by %s)"
2282
  msgstr ""
2283
 
2284
+ #: src/addons/wp-cli.php:450, src/admin.php:4127
2285
  msgid "Files backup (created by %s)"
2286
  msgstr ""
2287
 
2288
+ #: src/addons/wp-cli.php:519, src/admin.php:894, src/class-updraftplus.php:1318, src/class-updraftplus.php:1362, src/includes/class-filesystem-functions.php:409, src/includes/class-storage-methods-interface.php:324, src/methods/addon-base-v2.php:93, src/methods/addon-base-v2.php:98, src/methods/addon-base-v2.php:205, src/methods/addon-base-v2.php:225, src/methods/googledrive.php:1118, src/methods/remotesend.php:315, src/methods/stream-base.php:219, src/restorer.php:3165, src/restorer.php:3190, src/restorer.php:3271, src/udaddons/options.php:231, src/updraftplus.php:157
2289
  msgid "Error"
2290
  msgstr ""
2291
 
2305
  msgid "No valid components found, please select different components or a backup set with components that can be restored."
2306
  msgstr ""
2307
 
2308
+ #: src/addons/wp-cli.php:650, src/admin.php:4611
2309
  msgid "UpdraftPlus Restoration: Progress"
2310
  msgstr ""
2311
 
2312
+ #: src/addons/wp-cli.php:664, src/admin.php:4614
2313
  msgid "Follow this link to download the log file for this restoration (needed for any support requests)."
2314
  msgstr ""
2315
 
2349
  msgid "At the same time as the files backup"
2350
  msgstr ""
2351
 
2352
+ #: src/admin.php:350, src/admin.php:5145, src/templates/wp-admin/settings/take-backup.php:24
2353
  msgid "Files"
2354
  msgstr ""
2355
 
2373
  msgid "Are you sure you want to dismiss all UpdraftPlus news forever?"
2374
  msgstr ""
2375
 
2376
+ #: src/admin.php:577
2377
+ msgid "You can test upgrading your site on an instant copy using UpdraftClone credits"
2378
+ msgstr ""
2379
+
2380
+ #: src/admin.php:577, src/udaddons/updraftplus-addons.php:279, src/udaddons/updraftplus-addons.php:291
2381
+ msgid "go here"
2382
+ msgstr ""
2383
+
2384
+ #: src/admin.php:588
2385
  msgid "You can test running your site on a different PHP (or WordPress) version using UpdraftClone credits."
2386
  msgstr ""
2387
 
2388
+ #: src/admin.php:739
2389
  msgid "Backup"
2390
  msgstr ""
2391
 
2392
+ #: src/admin.php:747, src/admin.php:2845
2393
  msgid "Migrate / Clone"
2394
  msgstr ""
2395
 
2396
+ #: src/admin.php:755, src/admin.php:1172, src/admin.php:2846
2397
  msgid "Settings"
2398
  msgstr ""
2399
 
2400
+ #: src/admin.php:763, src/admin.php:2847
2401
  msgid "Advanced Tools"
2402
  msgstr ""
2403
 
2404
+ #: src/admin.php:771
2405
  msgid "Extensions"
2406
  msgstr ""
2407
 
2408
+ #: src/admin.php:870
2409
  msgid "Be aware that mail servers tend to have size limits; typically around %s Mb; backups larger than any limits will likely not arrive."
2410
  msgstr ""
2411
 
2412
+ #: src/admin.php:871
2413
  msgid "Rescanning (looking for backups that you have uploaded manually into the internal backup store)..."
2414
  msgstr ""
2415
 
2416
+ #: src/admin.php:873
2417
  msgid "Rescanning remote and local storage for backup sets..."
2418
  msgstr ""
2419
 
2420
+ #: src/admin.php:876
2421
  msgid "You have chosen to backup files, but no file entities have been selected"
2422
  msgstr ""
2423
 
2424
+ #: src/admin.php:878
2425
  msgid "The restore operation has begun. Do not press stop or close your browser until it reports itself as having finished."
2426
  msgstr ""
2427
 
2428
+ #: src/admin.php:880
2429
  msgid "The web server returned an error code (try again, or check your web server logs)"
2430
  msgstr ""
2431
 
2432
+ #: src/admin.php:881
2433
  msgid "The new user's RackSpace console password is (this will not be shown again):"
2434
  msgstr ""
2435
 
2436
+ #: src/admin.php:882
2437
  msgid "Trying..."
2438
  msgstr ""
2439
 
2440
+ #: src/admin.php:883
2441
  msgid "Fetching..."
2442
  msgstr ""
2443
 
2444
+ #: src/admin.php:884
2445
  msgid "calculating..."
2446
  msgstr ""
2447
 
2448
+ #: src/admin.php:885
2449
  msgid "Begun looking for this entity"
2450
  msgstr ""
2451
 
2452
+ #: src/admin.php:886
2453
  msgid "Some files are still downloading or being processed - please wait."
2454
  msgstr ""
2455
 
2456
+ #: src/admin.php:887
2457
  msgid "Processing files - please wait..."
2458
  msgstr ""
2459
 
2460
+ #: src/admin.php:888
2461
  msgid "Error: the server sent an empty response."
2462
  msgstr ""
2463
 
2464
+ #: src/admin.php:889
2465
  msgid "Warnings:"
2466
  msgstr ""
2467
 
2468
+ #: src/admin.php:891
2469
  msgid "Error: the server sent us a response which we did not understand."
2470
  msgstr ""
2471
 
2472
+ #: src/admin.php:892, src/restorer.php:180
2473
  msgid "Error data:"
2474
  msgstr ""
2475
 
2476
+ #: src/admin.php:895, src/admin.php:2006, src/includes/deprecated-actions.php:29, src/templates/wp-admin/settings/downloading-and-restoring.php:21, src/templates/wp-admin/settings/tab-backups.php:21, src/templates/wp-admin/settings/tab-backups.php:44
2477
  msgid "Existing Backups"
2478
  msgstr ""
2479
 
2480
+ #: src/admin.php:896, src/admin.php:2298
2481
  msgid "File ready."
2482
  msgstr ""
2483
 
2484
+ #: src/admin.php:897, src/admin.php:2625, src/admin.php:3483, src/admin.php:4508, src/admin.php:4518, src/admin.php:4527, src/templates/wp-admin/settings/existing-backups-table.php:19, src/templates/wp-admin/settings/existing-backups-table.php:137
2485
  msgid "Actions"
2486
  msgstr ""
2487
 
2488
+ #: src/admin.php:898
2489
  msgid "Delete from your web server"
2490
  msgstr ""
2491
 
2492
+ #: src/admin.php:899
2493
  msgid "Download to your computer"
2494
  msgstr ""
2495
 
2496
+ #: src/admin.php:900
2497
  msgid "Browse contents"
2498
  msgstr ""
2499
 
2500
+ #: src/admin.php:901
2501
  msgid "Download error: the server sent us a response which we did not understand."
2502
  msgstr ""
2503
 
2504
+ #: src/admin.php:902
2505
  msgid "Requesting start of backup..."
2506
  msgstr ""
2507
 
2508
+ #: src/admin.php:903
2509
  msgid "PHP information"
2510
  msgstr ""
2511
 
2512
+ #: src/admin.php:904, src/admin.php:3197
2513
  msgid "Delete Old Directories"
2514
  msgstr ""
2515
 
2516
+ #: src/admin.php:905
2517
  msgid "Raw backup history"
2518
  msgstr ""
2519
 
2520
+ #: src/admin.php:906, src/admin.php:907, src/includes/class-backup-history.php:506
2521
  msgid "This file does not appear to be an UpdraftPlus backup archive (such files are .zip or .gz files which have a name like: backup_(time)_(site name)_(code)_(type).(zip|gz))."
2522
  msgstr ""
2523
 
2524
+ #: src/admin.php:906
2525
  msgid "However, UpdraftPlus archives are standard zip/SQL files - so if you are sure that your file has the right format, then you can rename it to match that pattern."
2526
  msgstr ""
2527
 
2528
+ #: src/admin.php:907, src/includes/class-backup-history.php:506
2529
  msgid "If this is a backup created by a different backup plugin, then UpdraftPlus Premium may be able to help you."
2530
  msgstr ""
2531
 
2532
+ #: src/admin.php:908
2533
  msgid "(make sure that you were trying to upload a zip file previously created by UpdraftPlus)"
2534
  msgstr ""
2535
 
2536
+ #: src/admin.php:909
2537
  msgid "Upload error:"
2538
  msgstr ""
2539
 
2540
+ #: src/admin.php:910
2541
  msgid "This file does not appear to be an UpdraftPlus encrypted database archive (such files are .gz.crypt files which have a name like: backup_(time)_(site name)_(code)_db.crypt.gz)."
2542
  msgstr ""
2543
 
2544
+ #: src/admin.php:911
2545
  msgid "Upload error"
2546
  msgstr ""
2547
 
2548
+ #: src/admin.php:912
2549
  msgid "Follow this link to attempt decryption and download the database file to your computer."
2550
  msgstr ""
2551
 
2552
+ #: src/admin.php:913
2553
  msgid "This decryption key will be attempted:"
2554
  msgstr ""
2555
 
2556
+ #: src/admin.php:914
2557
  msgid "Unknown server response:"
2558
  msgstr ""
2559
 
2560
+ #: src/admin.php:915
2561
  msgid "Unknown server response status:"
2562
  msgstr ""
2563
 
2564
+ #: src/admin.php:916
2565
  msgid "The file was uploaded."
2566
  msgstr ""
2567
 
2568
+ #: src/admin.php:918, src/templates/wp-admin/settings/take-backup.php:51
2569
  msgid "Backup Now"
2570
  msgstr ""
2571
 
2572
+ #: src/admin.php:920, src/admin.php:3511, src/admin.php:3545, src/admin.php:4318, src/includes/class-remote-send.php:560, src/templates/wp-admin/settings/existing-backups-table.php:153, src/templates/wp-admin/settings/file-backup-exclude.php:11
2573
  msgid "Delete"
2574
  msgstr ""
2575
 
2576
+ #: src/admin.php:921, src/central/bootstrap.php:565
2577
  msgid "Create"
2578
  msgstr ""
2579
 
2580
+ #: src/admin.php:922, src/admin.php:4298
2581
  msgid "Upload"
2582
  msgstr ""
2583
 
2584
+ #: src/admin.php:923
2585
  msgid "You did not select any components to restore. Please select at least one, and then try again."
2586
  msgstr ""
2587
 
2588
+ #: src/admin.php:925, src/includes/updraftplus-tour.php:89
2589
  msgid "Close"
2590
  msgstr ""
2591
 
2592
+ #: src/admin.php:927, src/admin.php:3749
2593
  msgid "Download log file"
2594
  msgstr ""
2595
 
2596
+ #: src/admin.php:929, src/admin.php:955, src/admin.php:956
2597
  msgid "You have made changes to your settings, and not saved."
2598
  msgstr ""
2599
 
2600
+ #: src/admin.php:930
2601
  msgid "Saving..."
2602
  msgstr ""
2603
 
2604
+ #: src/admin.php:931, src/admin.php:2928, src/methods/updraftvault.php:337, src/methods/updraftvault.php:383, src/templates/wp-admin/settings/temporary-clone.php:82
2605
  msgid "Connect"
2606
  msgstr ""
2607
 
2608
+ #: src/admin.php:932
2609
  msgid "Connecting..."
2610
  msgstr ""
2611
 
2612
+ #: src/admin.php:933, src/methods/updraftvault.php:413, src/methods/updraftvault.php:483
2613
  msgid "Disconnect"
2614
  msgstr ""
2615
 
2616
+ #: src/admin.php:934
2617
  msgid "Disconnecting..."
2618
  msgstr ""
2619
 
2620
+ #: src/admin.php:935
2621
  msgid "Counting..."
2622
  msgstr ""
2623
 
2624
+ #: src/admin.php:936
2625
  msgid "Update quota count"
2626
  msgstr ""
2627
 
2628
+ #: src/admin.php:937
2629
  msgid "Adding..."
2630
  msgstr ""
2631
 
2632
+ #: src/admin.php:939
2633
  msgid "Resetting..."
2634
  msgstr ""
2635
 
2636
+ #: src/admin.php:940
2637
  msgid "Creating..."
2638
  msgstr ""
2639
 
2640
+ #: src/admin.php:940
2641
  msgid "your PHP install lacks the openssl module; as a result, this can take minutes; if nothing has happened by then, then you should either try a smaller key size, or ask your web hosting company how to enable this PHP module on your setup."
2642
  msgstr ""
2643
 
2644
+ #: src/admin.php:941, src/includes/class-remote-send.php:530
2645
  msgid "Send to site:"
2646
  msgstr ""
2647
 
2648
+ #: src/admin.php:942, src/includes/class-remote-send.php:306
2649
  msgid "You should check that the remote site is online, not firewalled, does not have security modules that may be blocking access, has UpdraftPlus version %s or later active and that the keys have been entered correctly."
2650
  msgstr ""
2651
 
2652
+ #: src/admin.php:943
2653
  msgid "Please give this key a name (e.g. indicate the site it is for):"
2654
  msgstr ""
2655
 
2656
+ #: src/admin.php:945
2657
  msgid "key name"
2658
  msgstr ""
2659
 
2660
+ #: src/admin.php:946, src/templates/wp-admin/settings/existing-backups-table.php:159
2661
  msgid "Deleting..."
2662
  msgstr ""
2663
 
2664
+ #: src/admin.php:947
2665
  msgid "Please enter a valid URL"
2666
  msgstr ""
2667
 
2668
+ #: src/admin.php:948
2669
  msgid "We requested to delete the file, but could not understand the server's response"
2670
  msgstr ""
2671
 
2672
+ #: src/admin.php:949, src/includes/class-remote-send.php:334
2673
  msgid "Testing connection..."
2674
  msgstr ""
2675
 
2676
+ #: src/admin.php:950, src/includes/class-remote-send.php:365, src/includes/class-remote-send.php:536
2677
  msgid "Send"
2678
  msgstr ""
2679
 
2680
+ #: src/admin.php:954
2681
  msgid "With UpdraftPlus Premium, you can directly download individual files from here."
2682
  msgstr ""
2683
 
2684
+ #: src/admin.php:955
2685
  msgid "You should save your changes to ensure that they are used for making your backup."
2686
  msgstr ""
2687
 
2688
+ #: src/admin.php:956
2689
  msgid "Your export file will be of your displayed settings, not your saved ones."
2690
  msgstr ""
2691
 
2692
+ #: src/admin.php:959
2693
  msgid "day"
2694
  msgstr ""
2695
 
2696
+ #: src/admin.php:960
2697
  msgid "in the month"
2698
  msgstr ""
2699
 
2700
+ #: src/admin.php:961
2701
  msgid "day(s)"
2702
  msgstr ""
2703
 
2704
+ #: src/admin.php:962
2705
  msgid "hour(s)"
2706
  msgstr ""
2707
 
2708
+ #: src/admin.php:963
2709
  msgid "week(s)"
2710
  msgstr ""
2711
 
2712
+ #: src/admin.php:964
2713
  msgid "For backups older than"
2714
  msgstr ""
2715
 
2716
+ #: src/admin.php:966
2717
  msgid "Processing..."
2718
  msgstr ""
2719
 
2720
+ #: src/admin.php:967
2721
  msgid "Please fill in the required information."
2722
  msgstr ""
2723
 
2724
+ #: src/admin.php:968, src/methods/backup-module.php:317
2725
  msgid "Test %s Settings"
2726
  msgstr ""
2727
 
2728
+ #: src/admin.php:969
2729
  msgid "Testing %s Settings..."
2730
  msgstr ""
2731
 
2732
+ #: src/admin.php:970
2733
  msgid "%s settings test result:"
2734
  msgstr ""
2735
 
2736
+ #: src/admin.php:971
2737
  msgid "Nothing yet logged"
2738
  msgstr ""
2739
 
2740
+ #: src/admin.php:972
2741
  msgid "You have not yet selected a file to import."
2742
  msgstr ""
2743
 
2744
+ #: src/admin.php:973
2745
  msgid "Error: The chosen file is corrupt. Please choose a valid UpdraftPlus export file."
2746
  msgstr ""
2747
 
2748
+ #: src/admin.php:976
2749
  msgid "Importing..."
2750
  msgstr ""
2751
 
2752
+ #: src/admin.php:977
2753
  msgid "This will import data from:"
2754
  msgstr ""
2755
 
2756
+ #: src/admin.php:978
2757
  msgid "Which was exported on:"
2758
  msgstr ""
2759
 
2760
+ #: src/admin.php:979
2761
  msgid "Do you want to carry out the import?"
2762
  msgstr ""
2763
 
2764
+ #: src/admin.php:980
2765
  msgid "Complete"
2766
  msgstr ""
2767
 
2768
+ #: src/admin.php:981, src/admin.php:3256
2769
  msgid "The backup has finished running"
2770
  msgstr ""
2771
 
2772
+ #: src/admin.php:982
2773
  msgid "The backup was aborted"
2774
  msgstr ""
2775
 
2776
+ #: src/admin.php:984
2777
  msgid "remote files deleted"
2778
  msgstr ""
2779
 
2780
+ #: src/admin.php:985
2781
  msgid "HTTP code:"
2782
  msgstr ""
2783
 
2784
+ #: src/admin.php:986
2785
  msgid "The file failed to upload. Please check the following:"
2786
  msgstr ""
2787
 
2788
+ #: src/admin.php:986
2789
  msgid "Any settings in your .htaccess or web.config file that affects the maximum upload or post size."
2790
  msgstr ""
2791
 
2792
+ #: src/admin.php:986
2793
  msgid "The available memory on the server."
2794
  msgstr ""
2795
 
2796
+ #: src/admin.php:986
2797
  msgid "That you are attempting to upload a zip file previously created by UpdraftPlus."
2798
  msgstr ""
2799
 
2800
+ #: src/admin.php:986
2801
  msgid "Further information may be found in the browser JavaScript console, and the server PHP error logs."
2802
  msgstr ""
2803
 
2804
+ #: src/admin.php:987
2805
  msgid "Browsing zip file"
2806
  msgstr ""
2807
 
2808
+ #: src/admin.php:988
2809
  msgid "Select a file to view information about it"
2810
  msgstr ""
2811
 
2812
+ #: src/admin.php:989
2813
  msgid "Search"
2814
  msgstr ""
2815
 
2816
+ #: src/admin.php:990
2817
  msgid "Unable to download file. This could be caused by a timeout. It would be best to download the zip to your computer."
2818
  msgstr ""
2819
 
2820
+ #: src/admin.php:991
2821
  msgid "Loading log file"
2822
  msgstr ""
2823
 
2824
+ #: src/admin.php:994
2825
  msgid "Please enter a valid URL e.g http://example.com"
2826
  msgstr ""
2827
 
2828
+ #: src/admin.php:1001
2829
  msgid "Local backup upload has started; please check the log file to see the upload progress"
2830
  msgstr ""
2831
 
2832
+ #: src/admin.php:1002
2833
  msgid "You must select at least one remote storage destination to upload this backup set to."
2834
  msgstr ""
2835
 
2836
+ #: src/admin.php:1003
2837
  msgid "(already uploaded)"
2838
  msgstr ""
2839
 
2840
+ #: src/admin.php:1004
2841
  msgid "Please specify the Microsoft OneDrive folder name, not the URL."
2842
  msgstr ""
2843
 
2844
+ #: src/admin.php:1005, src/templates/wp-admin/settings/updraftcentral-connect.php:9
2845
  msgid "UpdraftCentral Cloud"
2846
  msgstr ""
2847
 
2848
+ #: src/admin.php:1006
2849
  msgid "Connected. Requesting UpdraftCentral Key."
2850
  msgstr ""
2851
 
2852
+ #: src/admin.php:1007
2853
  msgid "Key created. Adding site to UpdraftCentral Cloud."
2854
  msgstr ""
2855
 
2856
+ #: src/admin.php:1008
2857
  msgid "Login successful."
2858
  msgstr ""
2859
 
2860
+ #: src/admin.php:1008, src/admin.php:1010
2861
  msgid "Please follow this link to open %s in a new window."
2862
  msgstr ""
2863
 
2864
+ #: src/admin.php:1009
2865
  msgid "Login successful; reloading information."
2866
  msgstr ""
2867
 
2868
+ #: src/admin.php:1010
2869
  msgid "Registration successful."
2870
  msgstr ""
2871
 
2872
+ #: src/admin.php:1011
2873
  msgid "Both email and password fields are required."
2874
  msgstr ""
2875
 
2876
+ #: src/admin.php:1012
2877
  msgid "An email is required and needs to be in a valid format."
2878
  msgstr ""
2879
 
2880
+ #: src/admin.php:1013
2881
  msgid "Trouble connecting? Try using an alternative method in the advanced security options."
2882
  msgstr ""
2883
 
2884
+ #: src/admin.php:1014
2885
  msgid "Verifying one-time password..."
2886
  msgstr ""
2887
 
2888
+ #: src/admin.php:1015
2889
  msgid "Perhaps you would want to login instead."
2890
  msgstr ""
2891
 
2892
+ #: src/admin.php:1016
2893
  msgid "Please wait while the system generates and registers an encryption key for your website with UpdraftCentral Cloud."
2894
  msgstr ""
2895
 
2896
+ #: src/admin.php:1017
2897
  msgid "Please wait while you are redirected to UpdraftCentral Cloud."
2898
  msgstr ""
2899
 
2900
+ #: src/admin.php:1018
2901
  msgid "You need to read and accept the UpdraftCentral Cloud data and privacy policies before you can proceed."
2902
  msgstr ""
2903
 
2904
+ #: src/admin.php:1019
2905
  msgid "You can also close this wizard."
2906
  msgstr ""
2907
 
2908
+ #: src/admin.php:1020
2909
  msgid "For future control of all your UpdraftCentral connections, go to the \"Advanced Tools\" tab."
2910
  msgstr ""
2911
 
2912
+ #: src/admin.php:1022
2913
  msgid "Warning: you have selected a lower version than your currently installed version. This may fail if you have components that are incompatible with earlier versions."
2914
  msgstr ""
2915
 
2916
+ #: src/admin.php:1023
2917
  msgid "The clone has been provisioned, and its data has been sent to it. Once the clone has finished deploying it, you will receive an email."
2918
  msgstr ""
2919
 
2920
+ #: src/admin.php:1024
2921
  msgid "The preparation of the clone data has been aborted."
2922
  msgstr ""
2923
 
2924
+ #: src/admin.php:1026
2925
  msgid "Are you sure you want to remove this exclusion rule?"
2926
  msgstr ""
2927
 
2928
+ #: src/admin.php:1027
2929
  msgid "Please select a file/folder which you would like to exclude"
2930
  msgstr ""
2931
 
2932
+ #: src/admin.php:1028
2933
  msgid "Please enter a file extension, like zip"
2934
  msgstr ""
2935
 
2936
+ #: src/admin.php:1029
2937
  msgid "Please enter a valid file extension"
2938
  msgstr ""
2939
 
2940
+ #: src/admin.php:1030
2941
  msgid "Please enter characters that begin the filename which you would like to exclude"
2942
  msgstr ""
2943
 
2944
+ #: src/admin.php:1031
2945
  msgid "Please enter a valid file name prefix"
2946
  msgstr ""
2947
 
2948
+ #: src/admin.php:1032
2949
  msgid "The exclusion rule which you are trying to add already exists"
2950
  msgstr ""
2951
 
2952
+ #: src/admin.php:1033
2953
  msgid "UpdraftClone key is required."
2954
  msgstr ""
2955
 
2956
+ #: src/admin.php:1034, src/templates/wp-admin/settings/backupnow-modal.php:40
2957
  msgid "Include your files in the backup"
2958
  msgstr ""
2959
 
2960
+ #: src/admin.php:1035
2961
  msgid "File backup options"
2962
  msgstr ""
2963
 
2964
+ #: src/admin.php:1174
2965
  msgid "Add-Ons / Pro Support"
2966
  msgstr ""
2967
 
2968
+ #: src/admin.php:1221
2969
  msgid "An error occurred when fetching storage module options: "
2970
  msgstr ""
2971
 
2972
+ #: src/admin.php:1226, src/includes/class-commands.php:466, src/templates/wp-admin/settings/take-backup.php:13
2973
  msgid "The 'Backup Now' button is disabled as your backup directory is not writable (go to the 'Settings' tab and find the relevant option)."
2974
  msgstr ""
2975
 
2976
+ #: src/admin.php:1231
2977
  msgid "Welcome to UpdraftPlus!"
2978
  msgstr ""
2979
 
2980
+ #: src/admin.php:1231
2981
  msgid "To make a backup, just press the Backup Now button."
2982
  msgstr ""
2983
 
2984
+ #: src/admin.php:1231
2985
  msgid "To change any of the default settings of what is backed up, to configure scheduled backups, to send your backups to remote storage (recommended), and more, go to the settings tab."
2986
  msgstr ""
2987
 
2988
+ #: src/admin.php:1235, src/class-updraftplus.php:866
2989
  msgid "The amount of time allowed for WordPress plugins to run is very low (%s seconds) - you should increase it to avoid backup failures due to time-outs (consult your web hosting company for more help - it is the max_execution_time PHP setting; the recommended value is %s seconds or more)"
2990
  msgstr ""
2991
 
2992
+ #: src/admin.php:1239
2993
  msgid "The scheduler is disabled in your WordPress install, via the DISABLE_WP_CRON setting. No backups can run (even &quot;Backup Now&quot;) unless either you have set up a facility to call the scheduler manually, or until it is enabled."
2994
  msgstr ""
2995
 
2996
+ #: src/admin.php:1243
2997
  msgid "You have less than %s of free disk space on the disk which UpdraftPlus is configured to use to create backups. UpdraftPlus could well run out of space. Contact your the operator of your server (e.g. your web hosting company) to resolve this issue."
2998
  msgstr ""
2999
 
3000
+ #: src/admin.php:1247
3001
  msgid "UpdraftPlus does not officially support versions of WordPress before %s. It may work for you, but if it does not, then please be aware that no support is available until you upgrade WordPress."
3002
  msgstr ""
3003
 
3004
+ #: src/admin.php:1251
3005
  msgid "Your website is hosted using the %s web server."
3006
  msgstr ""
3007
 
3008
+ #: src/admin.php:1251
3009
  msgid "Please consult this FAQ if you have problems backing up."
3010
  msgstr ""
3011
 
3012
+ #: src/admin.php:1255
3013
  msgid "Notice"
3014
  msgstr ""
3015
 
3016
+ #: src/admin.php:1255
3017
  msgid "UpdraftPlus's debug mode is on. You may see debugging notices on this page not just from UpdraftPlus, but from any other plugin installed. Please try to make sure that the notice you are seeing is from UpdraftPlus before you raise a support request."
3018
  msgstr ""
3019
 
3020
+ #: src/admin.php:1260
3021
  msgid "WordPress has a number (%d) of scheduled tasks which are overdue. Unless this is a development site, this probably means that the scheduler in your WordPress install is not working."
3022
  msgstr ""
3023
 
3024
+ #: src/admin.php:1260
3025
  msgid "Read this page for a guide to possible causes and how to fix it."
3026
  msgstr ""
3027
 
3028
+ #: src/admin.php:1280, src/admin.php:1301, src/admin.php:1320, src/class-updraftplus.php:602, src/class-updraftplus.php:637, src/class-updraftplus.php:642, src/class-updraftplus.php:647
3029
  msgid "UpdraftPlus notice:"
3030
  msgstr ""
3031
 
3032
+ #: src/admin.php:1280
3033
  msgid "%s has been chosen for remote storage, but you are not currently connected."
3034
  msgstr ""
3035
 
3036
+ #: src/admin.php:1280
3037
  msgid "Go to the remote storage settings in order to connect."
3038
  msgstr ""
3039
 
3040
+ #: src/admin.php:1422, src/admin.php:1432
3041
  msgid "Error: invalid path"
3042
  msgstr ""
3043
 
3044
+ #: src/admin.php:1783, src/includes/class-wpadmin-commands.php:506
3045
  msgid "Backup set not found"
3046
  msgstr ""
3047
 
3048
+ #: src/admin.php:1869
3049
  msgid "Did not know how to delete from this cloud service."
3050
  msgstr ""
3051
 
3052
+ #: src/admin.php:1950
3053
  msgid "Backup sets removed:"
3054
  msgstr ""
3055
 
3056
+ #: src/admin.php:1951
3057
  msgid "Local files deleted:"
3058
  msgstr ""
3059
 
3060
+ #: src/admin.php:1952
3061
  msgid "Remote files deleted:"
3062
  msgstr ""
3063
 
3064
+ #: src/admin.php:2039
3065
  msgid "Job deleted"
3066
  msgstr ""
3067
 
3068
+ #: src/admin.php:2047
3069
  msgid "Could not find that job - perhaps it has already finished?"
3070
  msgstr ""
3071
 
3072
+ #: src/admin.php:2145, src/admin.php:2166, src/includes/class-commands.php:836
3073
  msgid "Start backup"
3074
  msgstr ""
3075
 
3076
+ #: src/admin.php:2145, src/includes/class-commands.php:836
3077
  msgid "OK. You should soon see activity in the \"Last log message\" field below."
3078
  msgstr ""
3079
 
3080
+ #: src/admin.php:2228, src/admin.php:2232, src/class-updraftplus.php:637
3081
  msgid "The log file could not be read."
3082
  msgstr ""
3083
 
3084
+ #: src/admin.php:2279
3085
  msgid "Download failed"
3086
  msgstr ""
3087
 
3088
+ #: src/admin.php:2309
3089
  msgid "Download in progress"
3090
  msgstr ""
3091
 
3092
+ #: src/admin.php:2312
3093
  msgid "No local copy present."
3094
  msgstr ""
3095
 
3096
+ #: src/admin.php:2366, src/backup.php:1197
3097
  msgid "Backup directory (%s) is not writable, or does not exist."
3098
  msgstr ""
3099
 
3100
+ #: src/admin.php:2366
3101
  msgid "You will find more information about this in the Settings section."
3102
  msgstr ""
3103
 
3104
+ #: src/admin.php:2403
3105
  msgid "This file could not be uploaded"
3106
  msgstr ""
3107
 
3108
+ #: src/admin.php:2418
3109
  msgid "This backup was created by %s, and can be imported."
3110
  msgstr ""
3111
 
3112
+ #: src/admin.php:2424
3113
  msgid "Bad filename format - this does not look like a file created by UpdraftPlus"
3114
  msgstr ""
3115
 
3116
+ #: src/admin.php:2432
3117
  msgid "This looks like a file created by UpdraftPlus, but this install does not know about this type of object: %s. Perhaps you need to install an add-on?"
3118
  msgstr ""
3119
 
3120
+ #: src/admin.php:2524
3121
  msgid "Bad filename format - this does not look like an encrypted database file created by UpdraftPlus"
3122
  msgstr ""
3123
 
3124
+ #: src/admin.php:2616
3125
  msgid "Backup directory could not be created"
3126
  msgstr ""
3127
 
3128
+ #: src/admin.php:2623
3129
  msgid "Backup directory successfully created."
3130
  msgstr ""
3131
 
3132
+ #: src/admin.php:2625, src/admin.php:3483, src/admin.php:4508, src/admin.php:4518, src/admin.php:4527, src/admin.php:5492
3133
  msgid "Return to UpdraftPlus configuration"
3134
  msgstr ""
3135
 
3136
+ #: src/admin.php:2637, src/class-updraftplus.php:4318, src/restorer.php:2872
3137
  msgid "Warning:"
3138
  msgstr ""
3139
 
3140
+ #: src/admin.php:2637
3141
  msgid "If you can still read these words after the page finishes loading, then there is a JavaScript or jQuery problem in the site."
3142
  msgstr ""
3143
 
3144
+ #: src/admin.php:2640
3145
  msgid "The UpdraftPlus directory in wp-content/plugins has white-space in it; WordPress does not like this. You should rename the directory to wp-content/plugins/updraftplus to fix this problem."
3146
  msgstr ""
3147
 
3148
+ #: src/admin.php:2655
3149
  msgid "OptimizePress 2.0 encodes its contents, so search/replace does not work."
3150
  msgstr ""
3151
 
3152
+ #: src/admin.php:2655
3153
  msgid "To fix this problem go here."
3154
  msgstr ""
3155
 
3156
+ #: src/admin.php:2657
3157
  msgid "For even more features and personal support, check out "
3158
  msgstr ""
3159
 
3160
+ #: src/admin.php:2659
3161
  msgid "Your backup has been restored."
3162
  msgstr ""
3163
 
3164
+ #: src/admin.php:2684
3165
  msgid "Your PHP memory limit (set by your web hosting company) is very low. UpdraftPlus attempted to raise it but was unsuccessful. This plugin may struggle with a memory limit of less than 64 Mb - especially if you have very large files uploaded (though on the other hand, many sites will be successful with a 32Mb limit - your experience may vary)."
3166
  msgstr ""
3167
 
3168
+ #: src/admin.php:2684
3169
  msgid "Current limit is:"
3170
  msgstr ""
3171
 
3172
+ #: src/admin.php:2745
3173
  msgid "Backup Contents And Schedule"
3174
  msgstr ""
3175
 
3176
+ #: src/admin.php:2844
3177
  msgid "Backup / Restore"
3178
  msgstr ""
3179
 
3180
+ #: src/admin.php:2848
3181
  msgid "Premium / Extensions"
3182
  msgstr ""
3183
 
3184
+ #: src/admin.php:2885
3185
  msgid "%s minutes, %s seconds"
3186
  msgstr ""
3187
 
3188
+ #: src/admin.php:2887
3189
  msgid "Unfinished restoration"
3190
  msgstr ""
3191
 
3192
+ #: src/admin.php:2888
3193
  msgid "You have an unfinished restoration operation, begun %s ago."
3194
  msgstr ""
3195
 
3196
+ #: src/admin.php:2893
3197
  msgid "Continue restoration"
3198
  msgstr ""
3199
 
3200
+ #: src/admin.php:2894, src/templates/wp-admin/notices/autobackup-notice.php:16, src/templates/wp-admin/notices/autobackup-notice.php:18, src/templates/wp-admin/notices/horizontal-notice.php:16, src/templates/wp-admin/notices/horizontal-notice.php:18
3201
  msgid "Dismiss"
3202
  msgstr ""
3203
 
3204
+ #: src/admin.php:2915
3205
  msgid "Not yet got an account (it's free)? Go get one!"
3206
  msgstr ""
3207
 
3208
+ #: src/admin.php:2926
3209
  msgid "Interested in knowing about your UpdraftPlus.Com password security? Read about it here."
3210
  msgstr ""
3211
 
3212
+ #: src/admin.php:2938, src/includes/class-commands.php:905, src/includes/class-commands.php:953, src/templates/wp-admin/settings/temporary-clone.php:83, src/templates/wp-admin/settings/updraftcentral-connect.php:71
3213
  msgid "Processing"
3214
  msgstr ""
3215
 
3216
+ #: src/admin.php:2981
3217
  msgid "Connect with your UpdraftPlus.Com account"
3218
  msgstr ""
3219
 
3220
+ #: src/admin.php:2987, src/templates/wp-admin/settings/form-contents.php:255, src/templates/wp-admin/settings/updraftcentral-connect.php:44
3221
  msgid "Email"
3222
  msgstr ""
3223
 
3224
+ #: src/admin.php:3002
3225
  msgid "Forgotten your details?"
3226
  msgstr ""
3227
 
3228
+ #: src/admin.php:3014
3229
  msgid "Ask WordPress to update UpdraftPlus automatically when an update is available"
3230
  msgstr ""
3231
 
3232
+ #: src/admin.php:3025
3233
  msgid "Add this website to UpdraftCentral (remote, centralised control) - free for up to 5 sites."
3234
  msgstr ""
3235
 
3236
+ #: src/admin.php:3025
3237
  msgid "Learn more about UpdraftCentral"
3238
  msgstr ""
3239
 
3240
+ #: src/admin.php:3051, src/templates/wp-admin/settings/updraftcentral-connect.php:56
3241
  msgid "One Time Password (check your OTP app to get this password)"
3242
  msgstr ""
3243
 
3244
+ #: src/admin.php:3121
3245
  msgid "Latest UpdraftPlus.com news:"
3246
  msgstr ""
3247
 
3248
+ #: src/admin.php:3148
3249
  msgid "Download most recently modified log file"
3250
  msgstr ""
3251
 
3252
+ #: src/admin.php:3191
3253
  msgid "Your WordPress install has old directories from its state before you restored/migrated (technical information: these are suffixed with -old). You should press this button to delete them as soon as you have verified that the restoration worked."
3254
  msgstr ""
3255
 
3256
+ #: src/admin.php:3256, src/admin.php:4328
3257
  msgid "View Log"
3258
  msgstr ""
3259
 
3260
+ #: src/admin.php:3295
3261
  msgid "Backup begun"
3262
  msgstr ""
3263
 
3264
+ #: src/admin.php:3300
3265
  msgid "Creating file backup zips"
3266
  msgstr ""
3267
 
3268
+ #: src/admin.php:3313
3269
  msgid "Created file backup zips"
3270
  msgstr ""
3271
 
3272
+ #: src/admin.php:3318
3273
  msgid "Clone server being provisioned and booted (can take several minutes)"
3274
  msgstr ""
3275
 
3276
+ #: src/admin.php:3322
3277
  msgid "Uploading files to remote storage"
3278
  msgstr ""
3279
 
3280
+ #: src/admin.php:3323
3281
  msgid "Sending files to remote site"
3282
  msgstr ""
3283
 
3284
+ #: src/admin.php:3330
3285
  msgid "(%s%%, file %s of %s)"
3286
  msgstr ""
3287
 
3288
+ #: src/admin.php:3335
3289
  msgid "Pruning old backup sets"
3290
  msgstr ""
3291
 
3292
+ #: src/admin.php:3339
3293
  msgid "Waiting until scheduled time to retry because of errors"
3294
  msgstr ""
3295
 
3296
+ #: src/admin.php:3344
3297
  msgid "Backup finished"
3298
  msgstr ""
3299
 
3300
+ #: src/admin.php:3357
3301
  msgid "Created database backup"
3302
  msgstr ""
3303
 
3304
+ #: src/admin.php:3368
3305
  msgid "Creating database backup"
3306
  msgstr ""
3307
 
3308
+ #: src/admin.php:3370
3309
  msgid "table: %s"
3310
  msgstr ""
3311
 
3312
+ #: src/admin.php:3383
3313
  msgid "Encrypting database"
3314
  msgstr ""
3315
 
3316
+ #: src/admin.php:3391
3317
  msgid "Encrypted database"
3318
  msgstr ""
3319
 
3320
+ #: src/admin.php:3393, src/central/bootstrap.php:444, src/central/bootstrap.php:451, src/methods/updraftvault.php:431, src/methods/updraftvault.php:477, src/methods/updraftvault.php:562
3321
  msgid "Unknown"
3322
  msgstr ""
3323
 
3324
+ #: src/admin.php:3410
3325
  msgid "next resumption: %d (after %ss)"
3326
  msgstr ""
3327
 
3328
+ #: src/admin.php:3411
3329
  msgid "last activity: %ss ago"
3330
  msgstr ""
3331
 
3332
+ #: src/admin.php:3431
3333
  msgid "Job ID: %s"
3334
  msgstr ""
3335
 
3336
+ #: src/admin.php:3445, src/admin.php:3735
3337
  msgid "Warning: %s"
3338
  msgstr ""
3339
 
3340
+ #: src/admin.php:3465
3341
  msgid "show log"
3342
  msgstr ""
3343
 
3344
+ #: src/admin.php:3466
3345
  msgid "Note: the progress bar below is based on stages, NOT time. Do not stop the backup simply because it seems to have remained in the same place for a while - that is normal."
3346
  msgstr ""
3347
 
3348
+ #: src/admin.php:3466
3349
  msgid "stop"
3350
  msgstr ""
3351
 
3352
+ #: src/admin.php:3476, src/admin.php:3476
3353
  msgid "Remove old directories"
3354
  msgstr ""
3355
 
3356
+ #: src/admin.php:3479
3357
  msgid "Old directories successfully removed."
3358
  msgstr ""
3359
 
3360
+ #: src/admin.php:3481
3361
  msgid "Old directory removal failed for some reason. You may want to do this manually."
3362
  msgstr ""
3363
 
3364
+ #: src/admin.php:3518, src/admin.php:3553, src/admin.php:3557, src/includes/class-remote-send.php:334, src/includes/class-storage-methods-interface.php:315, src/restorer.php:330, src/restorer.php:3169, src/restorer.php:3274
3365
  msgid "OK"
3366
  msgstr ""
3367
 
3368
+ #: src/admin.php:3602
3369
  msgid "The request to the filesystem to create the directory failed."
3370
  msgstr ""
3371
 
3372
+ #: src/admin.php:3616
3373
  msgid "The folder was created, but we had to change its file permissions to 777 (world-writable) to be able to write to it. You should check with your hosting provider that this will not cause any problems"
3374
  msgstr ""
3375
 
3376
+ #: src/admin.php:3621
3377
  msgid "The folder exists, but your webserver does not have permission to write to it."
3378
  msgstr ""
3379
 
3380
+ #: src/admin.php:3621
3381
  msgid "You will need to consult with your web hosting provider to find out how to set permissions for a WordPress plugin to write to the directory."
3382
  msgstr ""
3383
 
3384
+ #: src/admin.php:3723
3385
  msgid "incremental backup; base backup: %s"
3386
  msgstr ""
3387
 
3388
+ #: src/admin.php:3753
3389
  msgid "No backup has been completed"
3390
  msgstr ""
3391
 
3392
+ #: src/admin.php:3767
3393
  msgctxt "i.e. Non-automatic"
3394
  msgid "Manual"
3395
  msgstr ""
3396
 
3397
+ #: src/admin.php:3780
3398
  msgid "Backup directory specified is writable, which is good."
3399
  msgstr ""
3400
 
3401
+ #: src/admin.php:3784
3402
  msgid "Backup directory specified does <b>not</b> exist."
3403
  msgstr ""
3404
 
3405
+ #: src/admin.php:3786
3406
  msgid "Backup directory specified exists, but is <b>not</b> writable."
3407
  msgstr ""
3408
 
3409
+ #: src/admin.php:3788
3410
  msgid "Follow this link to attempt to create the directory and set the permissions"
3411
  msgstr ""
3412
 
3413
+ #: src/admin.php:3788
3414
  msgid "or, to reset this option"
3415
  msgstr ""
3416
 
3417
+ #: src/admin.php:3788
3418
  msgid "press here"
3419
  msgstr ""
3420
 
3421
+ #: src/admin.php:3788
3422
  msgid "If that is unsuccessful check the permissions on your server or change it to another directory that is writable by your web server process."
3423
  msgstr ""
3424
 
3425
+ #: src/admin.php:3868
3426
  msgid "Your wp-content directory server path: %s"
3427
  msgstr ""
3428
 
3429
+ #: src/admin.php:3868
3430
  msgid "Any other directories found inside wp-content"
3431
  msgstr ""
3432
 
3433
+ #: src/admin.php:3879
3434
  msgid "Exclude these from"
3435
  msgstr ""
3436
 
3437
+ #: src/admin.php:3967
3438
  msgid "Your web server's PHP/Curl installation does not support https access. Communications with %s will be unencrypted. Ask your web host to install Curl/SSL in order to gain the ability for encryption (via an add-on)."
3439
  msgstr ""
3440
 
3441
+ #: src/admin.php:3969
3442
  msgid "Your web server's PHP/Curl installation does not support https access. We cannot access %s without this support. Please contact your web hosting provider's support. %s <strong>requires</strong> Curl+https. Please do not file any support requests; there is no alternative."
3443
  msgstr ""
3444
 
3445
+ #: src/admin.php:3972
3446
  msgid "Good news: Your site's communications with %s can be encrypted. If you see any errors to do with encryption, then look in the 'Expert Settings' for more help."
3447
  msgstr ""
3448
 
3449
+ #: src/admin.php:4010, src/templates/wp-admin/settings/backupnow-modal.php:60, src/templates/wp-admin/settings/existing-backups-table.php:71, src/templates/wp-admin/settings/existing-backups-table.php:74
3450
  msgid "Only allow this backup to be deleted manually (i.e. keep it even if retention limits are hit)."
3451
  msgstr ""
3452
 
3453
+ #: src/admin.php:4058
3454
  msgid "Total backup size:"
3455
  msgstr ""
3456
 
3457
+ #: src/admin.php:4124, src/includes/class-wpadmin-commands.php:162, src/restorer.php:2179
3458
  msgid "Backup created by unknown source (%s) - cannot be restored."
3459
  msgstr ""
3460
 
3461
+ #: src/admin.php:4153
3462
  msgid "Press here to download or browse"
3463
  msgstr ""
3464
 
3465
+ #: src/admin.php:4158
3466
  msgid "(%d archive(s) in set)."
3467
  msgstr ""
3468
 
3469
+ #: src/admin.php:4161
3470
  msgid "You appear to be missing one or more archives from this multi-archive set."
3471
  msgstr ""
3472
 
3473
+ #: src/admin.php:4189, src/admin.php:4191
3474
  msgid "(Not finished)"
3475
  msgstr ""
3476
 
3477
+ #: src/admin.php:4191
3478
  msgid "If you are seeing more backups than you expect, then it is probably because the deletion of old backup sets does not happen until a fresh backup completes."
3479
  msgstr ""
3480
 
3481
+ #: src/admin.php:4216
3482
  msgid "(backup set imported from remote location)"
3483
  msgstr ""
3484
 
3485
+ #: src/admin.php:4219
3486
  msgid "After pressing this button, you will be given the option to choose which components you wish to restore"
3487
  msgstr ""
3488
 
3489
+ #: src/admin.php:4298
3490
  msgid "After pressing this button, you can select where to upload your backup from a list of your currently saved remote storage locations"
3491
  msgstr ""
3492
 
3493
+ #: src/admin.php:4318
3494
  msgid "Delete this backup set"
3495
  msgstr ""
3496
 
3497
+ #: src/admin.php:4471, src/admin.php:4479
3498
  msgid "Sufficient information about the in-progress restoration operation could not be found."
3499
  msgstr ""
3500
 
3501
+ #: src/admin.php:4599
3502
  msgid "This backup does not exist in the backup history - restoration aborted. Timestamp:"
3503
  msgstr ""
3504
 
3505
+ #: src/admin.php:4600
3506
  msgid "Backup does not exist in the backup history"
3507
  msgstr ""
3508
 
3509
+ #: src/admin.php:4620
3510
  msgid "ABORT: Could not find the information on which entities to restore."
3511
  msgstr ""
3512
 
3513
+ #: src/admin.php:4620
3514
  msgid "If making a request for support, please include this information:"
3515
  msgstr ""
3516
 
3517
+ #: src/admin.php:4785
3518
  msgid "Backup won't be sent to any remote storage - none has been saved in the %s"
3519
  msgstr ""
3520
 
3521
+ #: src/admin.php:4785
3522
  msgid "settings"
3523
  msgstr ""
3524
 
3525
+ #: src/admin.php:4785
3526
  msgid "Not got any remote storage?"
3527
  msgstr ""
3528
 
3529
+ #: src/admin.php:4785
3530
  msgid "Check out UpdraftPlus Vault."
3531
  msgstr ""
3532
 
3533
+ #: src/admin.php:4787
3534
  msgid "Send this backup to remote storage"
3535
  msgstr ""
3536
 
3537
+ #: src/admin.php:4877
3538
  msgid "UpdraftPlus seems to have been updated to version (%s), which is different to the version running when this settings page was loaded. Please reload the settings page before trying to save settings."
3539
  msgstr ""
3540
 
3541
+ #: src/admin.php:4884, src/templates/wp-admin/settings/take-backup.php:51
3542
  msgid "This button is disabled because your backup directory is not writable (see the settings)."
3543
  msgstr ""
3544
 
3545
+ #: src/admin.php:4913
3546
  msgid "Your settings have been saved."
3547
  msgstr ""
3548
 
3549
+ #: src/admin.php:4918
3550
  msgid "Your settings failed to save. Please refresh the settings page and try again"
3551
  msgstr ""
3552
 
3553
+ #: src/admin.php:4966
3554
  msgid "authentication error"
3555
  msgstr ""
3556
 
3557
+ #: src/admin.php:4970
3558
  msgid "Remote storage method and instance id are required for authentication."
3559
  msgstr ""
3560
 
3561
+ #: src/admin.php:5037
3562
  msgid "Your settings have been wiped."
3563
  msgstr ""
3564
 
3565
+ #: src/admin.php:5138
3566
  msgid "Known backups (raw)"
3567
  msgstr ""
3568
 
3569
+ #: src/admin.php:5173
3570
  msgid "Options (raw)"
3571
  msgstr ""
3572
 
3573
+ #: src/admin.php:5176
3574
  msgid "Value"
3575
  msgstr ""
3576
 
3577
+ #: src/admin.php:5328
3578
  msgid "The file %s has a \"byte order mark\" (BOM) at its beginning."
3579
  msgid_plural "The files %s have a \"byte order mark\" (BOM) at their beginning."
3580
  msgstr[0] ""
3581
  msgstr[1] ""
3582
 
3583
+ #: src/admin.php:5328, src/methods/openstack2.php:144, src/restorer.php:183, src/restorer.php:185, src/templates/wp-admin/settings/downloading-and-restoring.php:27, src/templates/wp-admin/settings/tab-backups.php:27, src/templates/wp-admin/settings/updraftcentral-connect.php:14
3584
  msgid "Follow this link for more information"
3585
  msgstr ""
3586
 
3587
+ #: src/admin.php:5352, src/admin.php:5356, src/templates/wp-admin/advanced/site-info.php:45, src/templates/wp-admin/advanced/site-info.php:51, src/templates/wp-admin/advanced/site-info.php:58, src/templates/wp-admin/advanced/site-info.php:59
3588
  msgid "%s version:"
3589
  msgstr ""
3590
 
3591
+ #: src/admin.php:5360
3592
  msgid "Clone region:"
3593
  msgstr ""
3594
 
3595
+ #: src/admin.php:5375
3596
  msgid "Forbid non-administrators to login to WordPress on your clone"
3597
  msgstr ""
3598
 
3599
+ #: src/admin.php:5398
3600
  msgid "(current version)"
3601
  msgstr ""
3602
 
3603
+ #: src/admin.php:5418
3604
  msgid "Your clone has started and will be available at the following URLs once it is ready."
3605
  msgstr ""
3606
 
3607
+ #: src/admin.php:5419
3608
  msgid "Front page:"
3609
  msgstr ""
3610
 
3611
+ #: src/admin.php:5420
3612
  msgid "Dashboard:"
3613
  msgstr ""
3614
 
3615
+ #: src/admin.php:5422, src/admin.php:5425
3616
  msgid "You can find your temporary clone information in your updraftplus.com account here."
3617
  msgstr ""
3618
 
3619
+ #: src/admin.php:5424
3620
  msgid "Your clone has started, network information is not yet available but will be displayed here and at your updraftplus.com account once it is ready."
3621
  msgstr ""
3622
 
3623
+ #: src/admin.php:5490, src/admin.php:5492
3624
  msgid "You have requested saving to remote storage (%s), but without entering any settings for that storage."
3625
  msgstr ""
3626
 
4588
  msgid "Allow only administrators to log in"
4589
  msgstr ""
4590
 
4591
+ #: src/includes/updraftplus-login.php:57, src/methods/updraftvault.php:715, src/udaddons/updraftplus-addons.php:987
4592
  msgid "UpdraftPlus.Com returned a response which we could not understand (data: %s)"
4593
  msgstr ""
4594
 
5701
  msgid "Refresh current status"
5702
  msgstr ""
5703
 
5704
+ #: src/methods/updraftvault.php:689, src/udaddons/updraftplus-addons.php:886
5705
  msgid "You need to supply both an email address and a password"
5706
  msgstr ""
5707
 
5709
  msgid "You do not currently have any UpdraftPlus Vault quota"
5710
  msgstr ""
5711
 
5712
+ #: src/methods/updraftvault.php:742, src/methods/updraftvault.php:757, src/udaddons/updraftplus-addons.php:1028
5713
  msgid "UpdraftPlus.Com returned a response, but we could not understand it"
5714
  msgstr ""
5715
 
5716
+ #: src/methods/updraftvault.php:748, src/udaddons/updraftplus-addons.php:1017
5717
  msgid "Your email address was valid, but your password was not recognised by UpdraftPlus.Com."
5718
  msgstr ""
5719
 
5721
  msgid "If you have forgotten your password, then go here to change your password on updraftplus.com."
5722
  msgstr ""
5723
 
5724
+ #: src/methods/updraftvault.php:751, src/udaddons/updraftplus-addons.php:1021
5725
  msgid "You entered an email address that was not recognised by UpdraftPlus.Com"
5726
  msgstr ""
5727
 
5728
+ #: src/methods/updraftvault.php:754, src/udaddons/updraftplus-addons.php:1024
5729
  msgid "Your email address and password were not recognised by UpdraftPlus.Com"
5730
  msgstr ""
5731
 
7009
  msgid "Premium / Find out more"
7010
  msgstr ""
7011
 
7012
+ #: src/templates/wp-admin/settings/tab-addons.php:311
7013
+ msgid "More great plugins by the Updraft Team"
7014
+ msgstr ""
7015
+
7016
+ #: src/templates/wp-admin/settings/tab-addons.php:315
7017
+ msgid "Manage multiple WordPress sites from one central dashboard"
7018
+ msgstr ""
7019
+
7020
+ #: src/templates/wp-admin/settings/tab-addons.php:316, src/templates/wp-admin/settings/tab-addons.php:321, src/templates/wp-admin/settings/tab-addons.php:326, src/templates/wp-admin/settings/tab-addons.php:331
7021
+ msgid "Find out more"
7022
+ msgstr ""
7023
+
7024
+ #: src/templates/wp-admin/settings/tab-addons.php:320
7025
+ msgid "Keep your database fast & efficient"
7026
+ msgstr ""
7027
+
7028
+ #: src/templates/wp-admin/settings/tab-addons.php:325
7029
+ msgid "Instant & secure logins with a wave of your phone"
7030
+ msgstr ""
7031
+
7032
+ #: src/templates/wp-admin/settings/tab-addons.php:330
7033
+ msgid "Create powerful, seo-optimized slideshows in minutes"
7034
+ msgstr ""
7035
+
7036
  #: src/templates/wp-admin/settings/take-backup.php:6
7037
  msgid "JavaScript warning"
7038
  msgstr ""
7313
  msgid "The claim and installation was successful. You can now use your purchase!"
7314
  msgstr ""
7315
 
7316
+ #: src/udaddons/options.php:371, src/udaddons/updraftplus-addons.php:326
7317
  msgid "UpdraftPlus Addons"
7318
  msgstr ""
7319
 
7397
  msgid "Manage Addons"
7398
  msgstr ""
7399
 
7400
+ #: src/udaddons/updraftplus-addons.php:239
7401
  msgid "Dismiss from main dashboard (for %s weeks)"
7402
  msgstr ""
7403
 
7404
+ #: src/udaddons/updraftplus-addons.php:270
7405
  msgid "The installed version of UpdraftPlus Backup/Restore has not been tested on your version of WordPress (%s)."
7406
  msgstr ""
7407
 
7408
+ #: src/udaddons/updraftplus-addons.php:270
7409
  msgid "It has been tested up to version %s."
7410
  msgstr ""
7411
 
7412
+ #: src/udaddons/updraftplus-addons.php:270
7413
  msgid "You should update UpdraftPlus to make sure that you have a version that has been tested for compatibility."
7414
  msgstr ""
7415
 
7416
+ #: src/udaddons/updraftplus-addons.php:277
7417
  msgid "Your paid access to UpdraftPlus updates for this site has expired. You will no longer receive updates to UpdraftPlus."
7418
  msgstr ""
7419
 
7420
+ #: src/udaddons/updraftplus-addons.php:277, src/udaddons/updraftplus-addons.php:283
7421
  msgid "To regain access to updates (including future features and compatibility with future WordPress releases) and support, please renew."
7422
  msgstr ""
7423
 
7424
+ #: src/udaddons/updraftplus-addons.php:279, src/udaddons/updraftplus-addons.php:291
7425
  msgid "If you have already renewed, then you need to allocate a licence to this site - %s"
7426
  msgstr ""
7427
 
7428
+ #: src/udaddons/updraftplus-addons.php:283
 
 
 
 
7429
  msgid "Your paid access to UpdraftPlus updates for %s add-ons on this site has expired."
7430
  msgstr ""
7431
 
7432
+ #: src/udaddons/updraftplus-addons.php:287
7433
  msgid "Your paid access to UpdraftPlus updates for %s of the %s add-ons on this site will soon expire."
7434
  msgstr ""
7435
 
7436
+ #: src/udaddons/updraftplus-addons.php:287, src/udaddons/updraftplus-addons.php:289
7437
  msgid "To retain your access, and maintain access to updates (including future features and compatibility with future WordPress releases) and support, please renew."
7438
  msgstr ""
7439
 
7440
+ #: src/udaddons/updraftplus-addons.php:289
7441
  msgid "Your paid access to UpdraftPlus updates for this site will soon expire."
7442
  msgstr ""
7443
 
7444
+ #: src/udaddons/updraftplus-addons.php:297
7445
  msgid "Your paid access to UpdraftPlus support has expired."
7446
  msgstr ""
7447
 
7448
+ #: src/udaddons/updraftplus-addons.php:297
7449
  msgid "To regain your access, please renew."
7450
  msgstr ""
7451
 
7452
+ #: src/udaddons/updraftplus-addons.php:299
7453
  msgid "Your paid access to UpdraftPlus support will soon expire."
7454
  msgstr ""
7455
 
7456
+ #: src/udaddons/updraftplus-addons.php:299
7457
  msgid "To maintain your access to support, please renew."
7458
  msgstr ""
7459
 
7460
+ #: src/udaddons/updraftplus-addons.php:498, src/udaddons/updraftplus-addons.php:592
7461
  msgid "Errors occurred:"
7462
  msgstr ""
7463
 
7464
+ #: src/udaddons/updraftplus-addons.php:911
7465
  msgid "We failed to successfully connect to UpdraftPlus.Com"
7466
  msgstr ""
7467
 
7468
+ #: src/udaddons/updraftplus-addons.php:913
7469
  msgid "UpdraftPlus.Com responded, but we did not understand the response"
7470
  msgstr ""
7471
 
7472
+ #: src/udaddons/updraftplus-addons.php:985
7473
  msgid "No response data was received. This usually indicates a network connectivity issue (e.g. an outgoing firewall or overloaded network) between this site and UpdraftPlus.com."
7474
  msgstr ""
7475
 
7476
+ #: src/udaddons/updraftplus-addons.php:1017
7477
  msgid "Go here to re-enter your password."
7478
  msgstr ""
7479
 
7480
+ #: src/udaddons/updraftplus-addons.php:1018
7481
  msgid "If you have forgotten your password "
7482
  msgstr ""
7483
 
7484
+ #: src/udaddons/updraftplus-addons.php:1018
7485
  msgid "go here to change your password on updraftplus.com."
7486
  msgstr ""
7487
 
methods/dropbox.php CHANGED
@@ -826,9 +826,9 @@ class UpdraftPlus_BackupModule_dropbox extends UpdraftPlus_BackupModule {
826
 
827
  try {
828
  /**
829
- * Quota information is no longer provided with account information a new call to qoutaInfo must be made to get this information.
830
  */
831
- $quota_info = $dropbox->quotaInfo();
832
 
833
  if (empty($quota_info['code']) || "200" != $quota_info['code']) {
834
  $message .= " (".__('though part of the returned information was not as expected - your mileage may vary', 'updraftplus').")". $quota_info['code'];
826
 
827
  try {
828
  /**
829
+ * Quota information is no longer provided with account information a new call to qoutaInfo must be made to get this information. The timeout is because we've seen cases where it returned after 180 seconds (apparently a faulty outgoing proxy), and we may as well wait as cause an error leading to user confusion.
830
  */
831
+ $quota_info = $dropbox->quotaInfo(array('timeout' => 190));
832
 
833
  if (empty($quota_info['code']) || "200" != $quota_info['code']) {
834
  $message .= " (".__('though part of the returned information was not as expected - your mileage may vary', 'updraftplus').")". $quota_info['code'];
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === UpdraftPlus WordPress Backup Plugin ===
2
  Contributors: Backup with UpdraftPlus, DavidAnderson, DNutbourne, aporter, snightingale, bcrodua
3
  Tags: backup, restore, database backup, wordpress backup, cloud backup, s3, dropbox, google drive, onedrive, ftp, backups
4
  Requires at least: 3.2
5
  Tested up to: 5.1
6
- Stable tag: 1.16.10
7
  Author URI: https://updraftplus.com
8
  Donate link: https://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
@@ -166,7 +166,18 @@ Unfortunately not; since this is free software, there’s no warranty and no gua
166
 
167
  The <a href="https://updraftplus.com/news/">UpdraftPlus backup blog</a> is the best place to learn in more detail about any important changes.
168
 
169
- N.B. Paid versions of UpdraftPlus Backup / Restore have a version number which is 1 higher in the first digit, and has an extra component on the end, but the changelog below still applies. i.e. changes listed for 1.16.8.x of the free version correspond to changes made in 2.16.8.x of the paid version.
 
 
 
 
 
 
 
 
 
 
 
170
 
171
  = 1.16.10 - 23/Mar/2019 =
172
 
@@ -819,5 +830,6 @@ Furthermore, reliance upon any non-English translation is at your own risk. Updr
819
 
820
  We recognise and thank the following for code and/or libraries used and/or modified under the terms of their open source licences; see: https://updraftplus.com/acknowledgements/
821
 
 
822
  == Upgrade Notice ==
823
- * 1.16.10: Add capability to backup SQL triggers. Fix a regression causing incomplete downloading of multi-archive backup sets in the UI. Add UpdraftClone mention in WP's PHP update notice. A recommended update for all.
1
+ === UpdraftPlus WordPress Backup Plugin ===
2
  Contributors: Backup with UpdraftPlus, DavidAnderson, DNutbourne, aporter, snightingale, bcrodua
3
  Tags: backup, restore, database backup, wordpress backup, cloud backup, s3, dropbox, google drive, onedrive, ftp, backups
4
  Requires at least: 3.2
5
  Tested up to: 5.1
6
+ Stable tag: 1.16.11
7
  Author URI: https://updraftplus.com
8
  Donate link: https://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
166
 
167
  The <a href="https://updraftplus.com/news/">UpdraftPlus backup blog</a> is the best place to learn in more detail about any important changes.
168
 
169
+ N.B. Paid versions of UpdraftPlus Backup / Restore have a version number which is 1 higher in the first digit, and has an extra component on the end, but the changelog below still applies. i.e. changes listed for 1.16.11.x of the free version correspond to changes made in 2.16.11.x of the paid version.
170
+
171
+ = 1.6.11 - 08/Apr/2019 =
172
+
173
+ * FIX: issue which prevented the downloader UI being removed during a manual entity download (regression)
174
+ * FIX: regression in 1.16.10 whereby restore resumptions did not correctly resume because the jobdata had not been loaded
175
+ * TWEAK: Update UpdraftCentral description and internationalize strings
176
+ * TWEAK: Handle HTTP/2 responses from Dropbox on some operations
177
+ * TWEAK: Add a timeout on Dropbox quota look-up operations during backup, in response to cases of faulty outgoing HTTP proxies
178
+ * TWEAK: The backup_finish() method should not have been private; could cause a harmless PHP abort when manually stopping a backup
179
+ * TWEAK: Wrong variable context could cause failure of SFTP progress recording
180
+ * TWEAK: Update to the current series (4.6) of yahnis-elsts/plugin-update-checker (paid versions), thereby inheriting improvements including suppressing some unnecessary background updates checks
181
 
182
  = 1.16.10 - 23/Mar/2019 =
183
 
830
 
831
  We recognise and thank the following for code and/or libraries used and/or modified under the terms of their open source licences; see: https://updraftplus.com/acknowledgements/
832
 
833
+
834
  == Upgrade Notice ==
835
+ * 1.16.11: Small tweaks and fixes. A recommended update for all.
templates/wp-admin/settings/tab-addons.php CHANGED
@@ -308,27 +308,27 @@ if ($updraftplus_checkout_embed) {
308
  </section>
309
  <?php endif; ?>
310
  <section id="other-plugins">
311
- <h2>More great plugins by the Updraft Team</h2>
312
  <div class="updraft-more-plugins">
313
  <div class="udp-box">
314
  <h3><img src="<?php echo UPDRAFTPLUS_URL; ?>/images/other-plugins/updraft-central.png" alt="UpdraftCentral"></h3>
315
- <p>Backup multiple websites from one place</p>
316
- <a target="_blank" href="https://updraftcentral.com/">Find out more</a>
317
  </div>
318
  <div class="udp-box">
319
  <h3><img src="<?php echo UPDRAFTPLUS_URL; ?>/images/other-plugins/wp-optimize.png" alt="WP Optimize"></h3>
320
- <p>Keep your database fast & efficient</p>
321
- <a target="_blank" href="https://getwpo.com/">Find out more</a>
322
  </div>
323
  <div class="udp-box">
324
  <h3><img src="<?php echo UPDRAFTPLUS_URL; ?>/images/other-plugins/keyy.png" alt="Keyy"></h3>
325
- <p>Instant & secure logins with a wave of your phone</p>
326
- <a target="_blank" href="https://getkeyy.com/">Find out more</a>
327
  </div>
328
  <div class="udp-box">
329
  <h3><img src="<?php echo UPDRAFTPLUS_URL; ?>/images/other-plugins/meta-slider.png" alt="MetaSlider"></h3>
330
- <p>Create powerful, seo-optimized slideshows in minutes</p>
331
- <a target="_blank" href="https://www.metaslider.com/">Find out more</a>
332
  </div>
333
  </div>
334
  </section>
308
  </section>
309
  <?php endif; ?>
310
  <section id="other-plugins">
311
+ <h2><?php _e('More great plugins by the Updraft Team', 'updraftplus'); ?></h2>
312
  <div class="updraft-more-plugins">
313
  <div class="udp-box">
314
  <h3><img src="<?php echo UPDRAFTPLUS_URL; ?>/images/other-plugins/updraft-central.png" alt="UpdraftCentral"></h3>
315
+ <p><?php _e('Manage multiple WordPress sites from one central dashboard', 'updraftplus'); ?></p>
316
+ <a target="_blank" href="https://updraftcentral.com/?utm_source=updraftplus&utm_medium=cross-sell&utm_campaign=addons-tab"><?php _e('Find out more', 'updraftplus'); ?></a>
317
  </div>
318
  <div class="udp-box">
319
  <h3><img src="<?php echo UPDRAFTPLUS_URL; ?>/images/other-plugins/wp-optimize.png" alt="WP Optimize"></h3>
320
+ <p><?php _e('Keep your database fast & efficient', 'updraftplus'); ?></p>
321
+ <a target="_blank" href="https://getwpo.com/?utm_source=updraftplus&utm_medium=cross-sell&utm_campaign=addons-tab"><?php _e('Find out more', 'updraftplus'); ?></a>
322
  </div>
323
  <div class="udp-box">
324
  <h3><img src="<?php echo UPDRAFTPLUS_URL; ?>/images/other-plugins/keyy.png" alt="Keyy"></h3>
325
+ <p><?php _e('Instant & secure logins with a wave of your phone', 'updraftplus'); ?></p>
326
+ <a target="_blank" href="https://getkeyy.com/?utm_source=updraftplus&utm_medium=cross-sell&utm_campaign=addons-tab"><?php _e('Find out more', 'updraftplus'); ?></a>
327
  </div>
328
  <div class="udp-box">
329
  <h3><img src="<?php echo UPDRAFTPLUS_URL; ?>/images/other-plugins/meta-slider.png" alt="MetaSlider"></h3>
330
+ <p><?php _e('Create powerful, seo-optimized slideshows in minutes', 'updraftplus'); ?></p>
331
+ <a target="_blank" href="https://www.metaslider.com/?utm_source=updraftplus&utm_medium=cross-sell&utm_campaign=addons-tab"><?php _e('Find out more', 'updraftplus'); ?></a>
332
  </div>
333
  </div>
334
  </section>
updraftplus.php CHANGED
@@ -5,7 +5,7 @@ Plugin Name: UpdraftPlus - Backup/Restore
5
  Plugin URI: https://updraftplus.com
6
  Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
7
  Author: UpdraftPlus.Com, DavidAnderson
8
- Version: 1.16.10
9
  Donate link: https://david.dw-perspective.org.uk/donate
10
  License: GPLv3 or later
11
  Text Domain: updraftplus
5
  Plugin URI: https://updraftplus.com
6
  Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
7
  Author: UpdraftPlus.Com, DavidAnderson
8
+ Version: 1.16.11
9
  Donate link: https://david.dw-perspective.org.uk/donate
10
  License: GPLv3 or later
11
  Text Domain: updraftplus
vendor/composer/installed.json CHANGED
@@ -708,8 +708,8 @@
708
  },
709
  {
710
  "name": "symfony/process",
711
- "version": "v3.4.23",
712
- "version_normalized": "3.4.23.0",
713
  "source": {
714
  "type": "git",
715
  "url": "https://github.com/symfony/process.git",
708
  },
709
  {
710
  "name": "symfony/process",
711
+ "version": "v3.4.24",
712
+ "version_normalized": "3.4.24.0",
713
  "source": {
714
  "type": "git",
715
  "url": "https://github.com/symfony/process.git",