UpdraftPlus WordPress Backup Plugin - Version 1.16.8

Version Description

  • 13/Mar/2019 =

  • FIX: If requesting clone credentials that were not ready, the loop could rapidly repeat instead of waiting the intended time

  • TWEAK: Some background updates checks (paid versions) that were intended to be suppressed, weren't being.

Download this release

Release Info

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

Code changes from version 1.16.7 to 1.16.8

languages/updraftplus.pot CHANGED
@@ -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:943
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:697, src/udaddons/updraftplus-addons.php:956, src/udaddons/updraftplus-addons.php:969
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:956, src/udaddons/updraftplus-addons.php:969
1624
  msgid "To remove any block, please go here."
1625
  msgstr ""
1626
 
1627
- #: src/addons/onedrive.php:690, src/udaddons/updraftplus-addons.php:956
1628
  msgid "Your IP address:"
1629
  msgstr ""
1630
 
1631
- #: src/addons/onedrive.php:710, src/includes/updraftplus-login.php:55, src/methods/updraftvault.php:697, src/udaddons/updraftplus-addons.php:969
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:697, src/udaddons/updraftplus-addons.php:969
1636
  msgid "It appears that your web server's IP Address (%s) is blocked."
1637
  msgstr ""
1638
 
@@ -4576,7 +4576,7 @@ msgstr ""
4576
  msgid "Allow only administrators to log in"
4577
  msgstr ""
4578
 
4579
- #: src/includes/updraftplus-login.php:57, src/methods/updraftvault.php:699, src/udaddons/updraftplus-addons.php:974
4580
  msgid "UpdraftPlus.Com returned a response which we could not understand (data: %s)"
4581
  msgstr ""
4582
 
@@ -5673,7 +5673,7 @@ msgstr ""
5673
  msgid "Refresh current status"
5674
  msgstr ""
5675
 
5676
- #: src/methods/updraftvault.php:673, src/udaddons/updraftplus-addons.php:873
5677
  msgid "You need to supply both an email address and a password"
5678
  msgstr ""
5679
 
@@ -5681,11 +5681,11 @@ msgstr ""
5681
  msgid "You do not currently have any UpdraftPlus Vault quota"
5682
  msgstr ""
5683
 
5684
- #: src/methods/updraftvault.php:726, src/methods/updraftvault.php:741, src/udaddons/updraftplus-addons.php:1015
5685
  msgid "UpdraftPlus.Com returned a response, but we could not understand it"
5686
  msgstr ""
5687
 
5688
- #: src/methods/updraftvault.php:732, src/udaddons/updraftplus-addons.php:1004
5689
  msgid "Your email address was valid, but your password was not recognised by UpdraftPlus.Com."
5690
  msgstr ""
5691
 
@@ -5693,11 +5693,11 @@ msgstr ""
5693
  msgid "If you have forgotten your password, then go here to change your password on updraftplus.com."
5694
  msgstr ""
5695
 
5696
- #: src/methods/updraftvault.php:735, src/udaddons/updraftplus-addons.php:1008
5697
  msgid "You entered an email address that was not recognised by UpdraftPlus.Com"
5698
  msgstr ""
5699
 
5700
- #: src/methods/updraftvault.php:738, src/udaddons/updraftplus-addons.php:1011
5701
  msgid "Your email address and password were not recognised by UpdraftPlus.Com"
5702
  msgstr ""
5703
 
@@ -7409,31 +7409,31 @@ msgstr ""
7409
  msgid "To maintain your access to support, please renew."
7410
  msgstr ""
7411
 
7412
- #: src/udaddons/updraftplus-addons.php:485, src/udaddons/updraftplus-addons.php:579
7413
  msgid "Errors occurred:"
7414
  msgstr ""
7415
 
7416
- #: src/udaddons/updraftplus-addons.php:898
7417
  msgid "We failed to successfully connect to UpdraftPlus.Com"
7418
  msgstr ""
7419
 
7420
- #: src/udaddons/updraftplus-addons.php:900
7421
  msgid "UpdraftPlus.Com responded, but we did not understand the response"
7422
  msgstr ""
7423
 
7424
- #: src/udaddons/updraftplus-addons.php:972
7425
  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."
7426
  msgstr ""
7427
 
7428
- #: src/udaddons/updraftplus-addons.php:1004
7429
  msgid "Go here to re-enter your password."
7430
  msgstr ""
7431
 
7432
- #: src/udaddons/updraftplus-addons.php:1005
7433
  msgid "If you have forgotten your password "
7434
  msgstr ""
7435
 
7436
- #: src/udaddons/updraftplus-addons.php:1005
7437
  msgid "go here to change your password on updraftplus.com."
7438
  msgstr ""
7439
 
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:697, 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:697, 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:697, src/udaddons/updraftplus-addons.php:977
1636
  msgid "It appears that your web server's IP Address (%s) is blocked."
1637
  msgstr ""
1638
 
4576
  msgid "Allow only administrators to log in"
4577
  msgstr ""
4578
 
4579
+ #: src/includes/updraftplus-login.php:57, src/methods/updraftvault.php:699, src/udaddons/updraftplus-addons.php:982
4580
  msgid "UpdraftPlus.Com returned a response which we could not understand (data: %s)"
4581
  msgstr ""
4582
 
5673
  msgid "Refresh current status"
5674
  msgstr ""
5675
 
5676
+ #: src/methods/updraftvault.php:673, src/udaddons/updraftplus-addons.php:881
5677
  msgid "You need to supply both an email address and a password"
5678
  msgstr ""
5679
 
5681
  msgid "You do not currently have any UpdraftPlus Vault quota"
5682
  msgstr ""
5683
 
5684
+ #: src/methods/updraftvault.php:726, src/methods/updraftvault.php:741, src/udaddons/updraftplus-addons.php:1023
5685
  msgid "UpdraftPlus.Com returned a response, but we could not understand it"
5686
  msgstr ""
5687
 
5688
+ #: src/methods/updraftvault.php:732, src/udaddons/updraftplus-addons.php:1012
5689
  msgid "Your email address was valid, but your password was not recognised by UpdraftPlus.Com."
5690
  msgstr ""
5691
 
5693
  msgid "If you have forgotten your password, then go here to change your password on updraftplus.com."
5694
  msgstr ""
5695
 
5696
+ #: src/methods/updraftvault.php:735, src/udaddons/updraftplus-addons.php:1016
5697
  msgid "You entered an email address that was not recognised by UpdraftPlus.Com"
5698
  msgstr ""
5699
 
5700
+ #: src/methods/updraftvault.php:738, src/udaddons/updraftplus-addons.php:1019
5701
  msgid "Your email address and password were not recognised by UpdraftPlus.Com"
5702
  msgstr ""
5703
 
7409
  msgid "To maintain your access to support, please renew."
7410
  msgstr ""
7411
 
7412
+ #: src/udaddons/updraftplus-addons.php:493, src/udaddons/updraftplus-addons.php:587
7413
  msgid "Errors occurred:"
7414
  msgstr ""
7415
 
7416
+ #: src/udaddons/updraftplus-addons.php:906
7417
  msgid "We failed to successfully connect to UpdraftPlus.Com"
7418
  msgstr ""
7419
 
7420
+ #: src/udaddons/updraftplus-addons.php:908
7421
  msgid "UpdraftPlus.Com responded, but we did not understand the response"
7422
  msgstr ""
7423
 
7424
+ #: src/udaddons/updraftplus-addons.php:980
7425
  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."
7426
  msgstr ""
7427
 
7428
+ #: src/udaddons/updraftplus-addons.php:1012
7429
  msgid "Go here to re-enter your password."
7430
  msgstr ""
7431
 
7432
+ #: src/udaddons/updraftplus-addons.php:1013
7433
  msgid "If you have forgotten your password "
7434
  msgstr ""
7435
 
7436
+ #: src/udaddons/updraftplus-addons.php:1013
7437
  msgid "go here to change your password on updraftplus.com."
7438
  msgstr ""
7439
 
methods/remotesend.php CHANGED
@@ -383,6 +383,9 @@ class UpdraftPlus_Addons_RemoteStorage_remotesend extends UpdraftPlus_RemoteStor
383
  * @return Array - an array of options
384
  */
385
  public function updraftplus_clone_remotesend_options($opts) {
 
 
 
386
  global $updraftplus;
387
  if (empty($updraftplus_admin)) include_once(UPDRAFTPLUS_DIR.'/admin.php');
388
 
@@ -406,12 +409,12 @@ class UpdraftPlus_Addons_RemoteStorage_remotesend extends UpdraftPlus_RemoteStor
406
  $response = $updraftplus->get_updraftplus_clone()->clone_info_poll($params);
407
 
408
  if (!isset($response['status']) || 'success' != $response['status']) {
409
- $this->log("UpdraftClone migration information poll failed with code: " . $response['code']);
410
  return $opts;
411
  }
412
 
413
  if (!isset($response['data']) || !isset($response['data']['url']) || !isset($response['data']['key'])) {
414
- $this->log("UpdraftClone migration information poll unexpected return information with code:" . $response['code']);
415
  return $opts;
416
  }
417
 
@@ -419,7 +422,7 @@ class UpdraftPlus_Addons_RemoteStorage_remotesend extends UpdraftPlus_RemoteStor
419
  $clone_key = json_decode($response['data']['key'], true);
420
 
421
  if (empty($clone_url) || empty($clone_key)) {
422
- $this->log("UpdraftClone migration information not found (probably still provisioning): will poll again in 60");
423
  UpdraftPlus_Job_Scheduler::reschedule(60);
424
  UpdraftPlus_Job_Scheduler::record_still_alive();
425
  die;
383
  * @return Array - an array of options
384
  */
385
  public function updraftplus_clone_remotesend_options($opts) {
386
+
387
+ // Don't call self::log() - this then requests options (to get the label), causing an infinite loop.
388
+
389
  global $updraftplus;
390
  if (empty($updraftplus_admin)) include_once(UPDRAFTPLUS_DIR.'/admin.php');
391
 
409
  $response = $updraftplus->get_updraftplus_clone()->clone_info_poll($params);
410
 
411
  if (!isset($response['status']) || 'success' != $response['status']) {
412
+ $updraftplus->log("UpdraftClone migration information poll failed with code: " . $response['code']);
413
  return $opts;
414
  }
415
 
416
  if (!isset($response['data']) || !isset($response['data']['url']) || !isset($response['data']['key'])) {
417
+ $updraftplus->log("UpdraftClone migration information poll unexpected return information with code:" . $response['code']);
418
  return $opts;
419
  }
420
 
422
  $clone_key = json_decode($response['data']['key'], true);
423
 
424
  if (empty($clone_url) || empty($clone_key)) {
425
+ $updraftplus->log("UpdraftClone migration information not found (probably still provisioning): will poll again in 60");
426
  UpdraftPlus_Job_Scheduler::reschedule(60);
427
  UpdraftPlus_Job_Scheduler::record_still_alive();
428
  die;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Backup with UpdraftPlus, DavidAnderson, DNutbourne, aporter, snigh
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.7
7
  Author URI: https://updraftplus.com
8
  Donate link: https://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
@@ -57,7 +57,7 @@ The free version of UpdraftPlus works just fine, but if you need more features a
57
  * Multisite/multi-network compatible
58
  * Backs up non WP files and databases to multiple remote destinations
59
  * More storage destinations (e.g. OneDrive, BackBlaze, Azure, SFTP) and multiple destinations
60
- * Database encrpytion
61
  * Advanced reporting
62
  * Supports WP-CLI
63
  * Free dedicated expert support
@@ -81,7 +81,7 @@ A temporary clone is an instant copy of this website, running on our servers. Yo
81
  * Fast: Takes just the time needed to create a backup and send it.
82
  * Flexible: If you want, test upgrading to a different PHP or WP version.
83
 
84
- To create a temporary clone you need: 1) credit in your account and 2) to connect to your account, below. You can buy UpdraftClone tokens <a href="https://updraftplus.com/shop/updraftclone-tokens/">from our shop, here</a>.
85
 
86
  = Are you multi-lingual? Can you translate? =
87
 
@@ -131,7 +131,7 @@ To find out more, why not take a look at our comparison page. UpdraftPremium is
131
 
132
  = How do I install UpdraftPlus? =
133
 
134
- Here are the installation guidelines from our <a href="https://updraftplus.com/download/">YouTube channel</a>.
135
 
136
  = Where are your other FAQs, other than the few found here? =
137
 
@@ -166,7 +166,12 @@ 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.6.x of the free version correspond to changes made in 2.16.6.x of the paid version.
 
 
 
 
 
170
 
171
  = 1.16.7 - 11/Mar/2019 =
172
 
@@ -801,4 +806,4 @@ Furthermore, reliance upon any non-English translation is at your own risk. Updr
801
  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/
802
 
803
  == Upgrade Notice ==
804
- * 1.16.7: Add support for bucket-specific application keys in Backblaze (Premium); added the ability to take incremental backups via UpdraftCentral; Dropbox authorisation setting getting lost after saving UpdraftPlus settings in the free version. A recommended updated for all.
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.8
7
  Author URI: https://updraftplus.com
8
  Donate link: https://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
57
  * Multisite/multi-network compatible
58
  * Backs up non WP files and databases to multiple remote destinations
59
  * More storage destinations (e.g. OneDrive, BackBlaze, Azure, SFTP) and multiple destinations
60
+ * Database encryption
61
  * Advanced reporting
62
  * Supports WP-CLI
63
  * Free dedicated expert support
81
  * Fast: Takes just the time needed to create a backup and send it.
82
  * Flexible: If you want, test upgrading to a different PHP or WP version.
83
 
84
+ To create a temporary clone you need: 1) credit in your account and 2) to connect to your account. You can buy UpdraftClone tokens <a href="https://updraftplus.com/shop/updraftclone-tokens/">from our shop, here</a>.
85
 
86
  = Are you multi-lingual? Can you translate? =
87
 
131
 
132
  = How do I install UpdraftPlus? =
133
 
134
+ Here are the installation guidelines from our <a href="https://www.youtube.com/watch?v=7ReY7Z19h2I">YouTube channel</a> or from <a href="https://updraftplus.com/download/">our website</a>.
135
 
136
  = Where are your other FAQs, other than the few found here? =
137
 
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.8 - 13/Mar/2019 =
172
+
173
+ * FIX: If requesting clone credentials that were not ready, the loop could rapidly repeat instead of waiting the intended time
174
+ * TWEAK: Some background updates checks (paid versions) that were intended to be suppressed, weren't being.
175
 
176
  = 1.16.7 - 11/Mar/2019 =
177
 
806
  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/
807
 
808
  == Upgrade Notice ==
809
+ * 1.16.8: Add some performance improvements regarding clones and updates. A recommended updated for all.
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.7
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.8
9
  Donate link: https://david.dw-perspective.org.uk/donate
10
  License: GPLv3 or later
11
  Text Domain: updraftplus