UpdraftPlus WordPress Backup Plugin - Version 1.9.63

Version Description

  • 2015-04-03 =

  • TWEAK: Revert to previous global SSL CA bundle: it seems Amazon S3 still has servers with 1024-bit SSL certificates

Download this release

Release Info

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

Code changes from version 1.9.62 to 1.9.63

Files changed (5) hide show
  1. backup.php +2 -1
  2. includes/cacert.pem +110 -0
  3. readme.txt +9 -4
  4. restorer.php +14 -3
  5. updraftplus.php +1 -1
backup.php CHANGED
@@ -283,7 +283,8 @@ class UpdraftPlus_Backup {
283
  # Used when deciding whether to delete the local file
284
  $this->last_service = ($ind+1 >= count($services) && $errors_before_uploads == $updraftplus->error_count()) ? true : false;
285
 
286
- $updraftplus->log("Cloud backup selection: ".$service);
 
287
  @set_time_limit(900);
288
 
289
  $method_include = UPDRAFTPLUS_DIR.'/methods/'.$service.'.php';
283
  # Used when deciding whether to delete the local file
284
  $this->last_service = ($ind+1 >= count($services) && $errors_before_uploads == $updraftplus->error_count()) ? true : false;
285
 
286
+ $log_extra = ($this->last_service) ? ' (last)' : '';
287
+ $updraftplus->log("Cloud backup selection (".($ind+1)."/".count($services)."): ".$service.$log_extra);
288
  @set_time_limit(900);
289
 
290
  $method_include = UPDRAFTPLUS_DIR.'/methods/'.$service.'.php';
includes/cacert.pem CHANGED
@@ -4121,3 +4121,113 @@ ONFLAzkopR6RctR9q5czxNM+4Gm2KHmgCY0c0f9BckgG/Jou5yD5m6Leie2uPAmvylezkolwQOQv
4121
  T8Jwg0DXJCxr5wkf09XHwQj02w47HAcLQxGEIYbpgNR12KvxAmLBsX5VYc8T1yaw15zLKYs4SgsO
4122
  kI26oQ==
4123
  -----END CERTIFICATE-----
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4121
  T8Jwg0DXJCxr5wkf09XHwQj02w47HAcLQxGEIYbpgNR12KvxAmLBsX5VYc8T1yaw15zLKYs4SgsO
4122
  kI26oQ==
4123
  -----END CERTIFICATE-----
4124
+
4125
+ USERTrust RSA Certification Authority
4126
+ =====================================
4127
+ -----BEGIN CERTIFICATE-----
4128
+ MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkGA1UE
4129
+ BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQK
4130
+ ExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNh
4131
+ dGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UE
4132
+ BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQK
4133
+ ExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNh
4134
+ dGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCAEmUXNg7D2wiz
4135
+ 0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2j
4136
+ Y0K2dvKpOyuR+OJv0OwWIJAJPuLodMkYtJHUYmTbf6MG8YgYapAiPLz+E/CHFHv25B+O1ORRxhFn
4137
+ RghRy4YUVD+8M/5+bJz/Fp0YvVGONaanZshyZ9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mFF0sbmZgIn/f3gZXHlKYC6SQK5MNyosycdi
4151
+ yA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL39ZeatTXaw2ewh0qpKJ4jjv9c
4152
+ J2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnuWih0hKWbt5DHDAff9Yk2dDLWKMGw
4153
+ sAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gx
4154
+ Q+6IHdfGjjxDah2nGN59PRbxYvnKkKj9
4155
+ -----END CERTIFICATE-----
4156
+
4157
+ USERTrust ECC Certification Authority
4158
+ =====================================
4159
+ -----BEGIN CERTIFICATE-----
4160
+ MIICjzCCAhWgAwIBAgIQXIuZxVqUxdJxVt7NiYDMJjAKBggqhkjOPQQDAzCBiDELMAkGA1UEBhMC
4161
+ VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU
4162
+ aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv
4163
+ biBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMC
4164
+ VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU
4165
+ aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv
4166
+ biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQarFRaqfloI+d61SRvU8Za2EurxtW2
4167
+ 0eZzca7dnNYMYf3boIkDuAUU7FfO7l0/4iGzzvfUinngo4N+LZfQYcTxmdwlkWOrfzCjtHDix6Ez
4168
+ nPO/LlxTsV+zfTJ/ijTjeXmjQjBAMB0GA1UdDgQWBBQ64QmG1M8ZwpZ2dEl23OA1xmNjmjAOBgNV
4169
+ HQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjA2Z6EWCNzklwBB
4170
+ HU6+4WMBzzuqQhFkoJ2UOQIReVx7Hfpkue4WQrO/isIJxOzksU0CMQDpKmFHjFJKS04YcPbWRNZu
4171
+ 9YO6bVi9JNlWSOrvxKJGgYhqOkbRqZtNyWHa0V1Xahg=
4172
+ -----END CERTIFICATE-----
4173
+ GlobalSign ECC Root CA - R4
4174
+ ===========================
4175
+ -----BEGIN CERTIFICATE-----
4176
+ MIIB4TCCAYegAwIBAgIRKjikHJYKBN5CsiilC+g0mAIwCgYIKoZIzj0EAwIwUDEkMCIGA1UECxMb
4177
+ R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI0MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD
4178
+ EwpHbG9iYWxTaWduMB4XDTEyMTExMzAwMDAwMFoXDTM4MDExOTAzMTQwN1owUDEkMCIGA1UECxMb
4179
+ R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI0MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD
4180
+ EwpHbG9iYWxTaWduMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuMZ5049sJQ6fLjkZHAOkrprl
4181
+ OQcJFspjsbmG+IpXwVfOQvpzofdlQv8ewQCybnMO/8ch5RikqtlxP6jUuc6MHaNCMEAwDgYDVR0P
4182
+ AQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFFSwe61FuOJAf/sKbvu+M8k8o4TV
4183
+ MAoGCCqGSM49BAMCA0gAMEUCIQDckqGgE6bPA7DmxCGXkPoUVy0D7O48027KqGx2vKLeuwIgJ6iF
4184
+ JzWbVsaj8kfSt24bAgAXqmemFZHe+pTsewv4n4Q=
4185
+ -----END CERTIFICATE-----
4186
+
4187
+ GlobalSign ECC Root CA - R5
4188
+ ===========================
4189
+ -----BEGIN CERTIFICATE-----
4190
+ MIICHjCCAaSgAwIBAgIRYFlJ4CYuu1X5CneKcflK2GwwCgYIKoZIzj0EAwMwUDEkMCIGA1UECxMb
4191
+ R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD
4192
+ EwpHbG9iYWxTaWduMB4XDTEyMTExMzAwMDAwMFoXDTM4MDExOTAzMTQwN1owUDEkMCIGA1UECxMb
4193
+ R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD
4194
+ EwpHbG9iYWxTaWduMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAER0UOlvt9Xb/pOdEh+J8LttV7HpI6
4195
+ SFkc8GIxLcB6KP4ap1yztsyX50XUWPrRd21DosCHZTQKH3rd6zwzocWdTaRvQZU4f8kehOvRnkmS
4196
+ h5SHDDqFSmafnVmTTZdhBoZKo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAd
4197
+ BgNVHQ4EFgQUPeYpSJvqB8ohREom3m7e0oPQn1kwCgYIKoZIzj0EAwMDaAAwZQIxAOVpEslu28Yx
4198
+ uglB4Zf4+/2a4n0Sye18ZNPLBSWLVtmg515dTguDnFt2KaAJJiFqYgIwcdK1j1zqO+F4CYWodZI7
4199
+ yFz9SO8NdCKoCOJuxUnOxwy8p2Fp8fc74SrL+SvzZpA3
4200
+ -----END CERTIFICATE-----
4201
+
4202
+ COMODO RSA Certification Authority
4203
+ ==================================
4204
+ -----BEGIN CERTIFICATE-----
4205
+ MIIF2DCCA8CgAwIBAgIQTKr5yttjb+Af907YWwOGnTANBgkqhkiG9w0BAQwFADCBhTELMAkGA1UE
4206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7 +3,7 @@ Contributors: Backup with UpdraftPlus, DavidAnderson
3
  Tags: backup, backups, restore, amazon backup, s3 backup, dropbox backup, google drive backup, rackspace cloud files, rackspace backup, cloud files, dreamhost, dreamobjects backup, ftp backup, webdav backup, google cloud storage, cloudian, cloudn, connectria, constant cloud, eucalyptus, nifty, nimbula, back up, multisite, restoration, sftp backup, ftps, scp, migrate, duplicate, copy, mysql backup, database backup, db backup, website backup, wordpress backup, full backup, openstack, swift
4
  Requires at least: 3.2
5
  Tested up to: 4.2
6
- Stable tag: 1.9.62
7
  Author URI: http://updraftplus.com
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
@@ -155,6 +155,10 @@ The <a href="https://updraftplus.com/news/">UpdraftPlus backup blog</a> is the b
155
 
156
  N.B. Paid versions of UpdraftPlus 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.9.60 of the free version correspond to changes made in 2.9.60.x of the paid version.
157
 
 
 
 
 
158
  = 1.9.62 - 2015-04-01 =
159
 
160
  * FEATURE: Automatic backups now integrate with the forthcoming WP 4.2's "shiny plugin updates"
@@ -172,9 +176,10 @@ N.B. Paid versions of UpdraftPlus have a version number which is 1 higher in the
172
  * TWEAK: Detect + show a more helpful error message if blocked by CloudFlare when connecting for updates (paid versions)
173
  * TWEAK: Make it easier to use custom Dropbox API keys, via UPDRAFTPLUS_CUSTOM_DROPBOX_APP constant (define to true in wp-config.php)
174
  * TWEAK: Tweak debug output of webserver information to avoid triggering a (silly) mod_security rule in some setups
175
- * TWEAK: Alert the user if using Amazon S3 if they do not have the PHP XML module available
176
  * TWEAK: Log the fact that local deletions are being skipped, if the user set that option.
177
- * TWEAK: Give timestamp of WP2B backups without relying upon location of SQL file
 
178
  * TRANSLATIONS: French translation updated from less than half to complete, thanks to Erwan François. Various other translations updated (many thanks to all translators).
179
 
180
  = 1.9.60 - 2015-02-24 =
@@ -1098,4 +1103,4 @@ Furthermore, reliance upon any non-English translation is at your own risk. Updr
1098
 
1099
 
1100
  == Upgrade Notice ==
1101
- * 1.9.62 : WP 4.2 compatibility. Fix regression for corner-case of S3 users with no permission to check their bucket's location (but permission to write to it); various other minor tweaks.
3
  Tags: backup, backups, restore, amazon backup, s3 backup, dropbox backup, google drive backup, rackspace cloud files, rackspace backup, cloud files, dreamhost, dreamobjects backup, ftp backup, webdav backup, google cloud storage, cloudian, cloudn, connectria, constant cloud, eucalyptus, nifty, nimbula, back up, multisite, restoration, sftp backup, ftps, scp, migrate, duplicate, copy, mysql backup, database backup, db backup, website backup, wordpress backup, full backup, openstack, swift
4
  Requires at least: 3.2
5
  Tested up to: 4.2
6
+ Stable tag: 1.9.63
7
  Author URI: http://updraftplus.com
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
155
 
156
  N.B. Paid versions of UpdraftPlus 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.9.60 of the free version correspond to changes made in 2.9.60.x of the paid version.
157
 
158
+ = 1.9.63 - 2015-04-03 =
159
+
160
+ * TWEAK: Revert to previous global SSL CA bundle: it seems Amazon S3 still has servers with 1024-bit SSL certificates
161
+
162
  = 1.9.62 - 2015-04-01 =
163
 
164
  * FEATURE: Automatic backups now integrate with the forthcoming WP 4.2's "shiny plugin updates"
176
  * TWEAK: Detect + show a more helpful error message if blocked by CloudFlare when connecting for updates (paid versions)
177
  * TWEAK: Make it easier to use custom Dropbox API keys, via UPDRAFTPLUS_CUSTOM_DROPBOX_APP constant (define to true in wp-config.php)
178
  * TWEAK: Tweak debug output of webserver information to avoid triggering a (silly) mod_security rule in some setups
179
+ * TWEAK: Alert the user if using Amazon S3 if they do not have the PHP XML Writer module available
180
  * TWEAK: Log the fact that local deletions are being skipped, if the user set that option.
181
+ * TWEAK: Give timestamp of WPB2D backups without relying upon location of SQL file
182
+ * TWEAK: Detect a situation on migration where the uploads path is changed (from a site that began pre-WP 3.5) that was previously undetected
183
  * TRANSLATIONS: French translation updated from less than half to complete, thanks to Erwan François. Various other translations updated (many thanks to all translators).
184
 
185
  = 1.9.60 - 2015-02-24 =
1103
 
1104
 
1105
  == Upgrade Notice ==
1106
+ * 1.9.63 : Revert updating of certificate roots in 1.9.62 (it seems some Amazon S3 servers are still using 1024-bit SSL certificates)
restorer.php CHANGED
@@ -24,6 +24,7 @@ class Updraft_Restorer extends WP_Upgrader {
24
  private $wpdb_obj = false;
25
 
26
  private $line_last_logged = 0;
 
27
 
28
  public function __construct($skin = null, $info = null, $shortinit = false) {
29
 
@@ -31,6 +32,8 @@ class Updraft_Restorer extends WP_Upgrader {
31
  // Line up a wpdb-like object to use
32
  $this->use_wpdb = ((!function_exists('mysql_query') && !function_exists('mysqli_query')) || !$wpdb->is_mysql || !$wpdb->ready) ? true : false;
33
 
 
 
34
  if (false == $this->use_wpdb) {
35
  // We have our own extension which drops lots of the overhead on the query
36
  $wpdb_obj = new UpdraftPlus_WPDB(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
@@ -1705,12 +1708,20 @@ class Updraft_Restorer extends WP_Upgrader {
1705
  $new_upload_path = $wpdb->get_row($wpdb->prepare("SELECT option_value FROM ${import_table_prefix}".$mprefix."options WHERE option_name = %s LIMIT 1", 'upload_path'));
1706
  $new_upload_path = (is_object($new_upload_path)) ? $new_upload_path->option_value : '';
1707
  // The danger situation is absolute and points somewhere that is now perhaps not accessible at all
 
1708
  if (!empty($new_upload_path) && $new_upload_path != $this->prior_upload_path && (strpos($new_upload_path, '/') === 0) || preg_match('#^[A-Za-z]:[/\\\]#', $new_upload_path)) {
1709
- if (!file_exists($new_upload_path)) {
1710
- $updraftplus->log_e("Uploads path (%s) does not exist - resetting (%s)", $new_upload_path, $this->prior_upload_path);
 
 
 
 
 
 
 
1711
  if (false === $wpdb->query("UPDATE ${import_table_prefix}".$mprefix."options SET option_value='".esc_sql($this->prior_upload_path)."' WHERE option_name='upload_path' LIMIT 1")) {
1712
  echo __('Error','updraftplus');
1713
- $updraftplus->log("Error when changing upload path: ".$wpdb->last_error);
1714
  $updraftplus->log("Failed");
1715
  }
1716
  #update_option('upload_path', $this->prior_upload_path);
24
  private $wpdb_obj = false;
25
 
26
  private $line_last_logged = 0;
27
+ private $our_siteurl;
28
 
29
  public function __construct($skin = null, $info = null, $shortinit = false) {
30
 
32
  // Line up a wpdb-like object to use
33
  $this->use_wpdb = ((!function_exists('mysql_query') && !function_exists('mysqli_query')) || !$wpdb->is_mysql || !$wpdb->ready) ? true : false;
34
 
35
+ $this->our_siteurl = untrailingslashit(site_url());
36
+
37
  if (false == $this->use_wpdb) {
38
  // We have our own extension which drops lots of the overhead on the query
39
  $wpdb_obj = new UpdraftPlus_WPDB(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
1708
  $new_upload_path = $wpdb->get_row($wpdb->prepare("SELECT option_value FROM ${import_table_prefix}".$mprefix."options WHERE option_name = %s LIMIT 1", 'upload_path'));
1709
  $new_upload_path = (is_object($new_upload_path)) ? $new_upload_path->option_value : '';
1710
  // The danger situation is absolute and points somewhere that is now perhaps not accessible at all
1711
+
1712
  if (!empty($new_upload_path) && $new_upload_path != $this->prior_upload_path && (strpos($new_upload_path, '/') === 0) || preg_match('#^[A-Za-z]:[/\\\]#', $new_upload_path)) {
1713
+
1714
+ // $this->old_siteurl != untrailingslashit(site_url()) is not a perfect proxy for "is a migration" (other possibilities exist), but since the upload_path option should not exist since WP 3.5 anyway, the chances of other possibilities are vanishingly small
1715
+ if (!file_exists($new_upload_path) || $this->old_siteurl != $this->our_siteurl) {
1716
+
1717
+ if (!file_exists($new_upload_path)) {
1718
+ $updraftplus->log_e("Uploads path (%s) does not exist - resetting (%s)", $new_upload_path, $this->prior_upload_path);
1719
+ } else {
1720
+ $updraftplus->log_e("Uploads path (%s) has changed during a migration - resetting (to: %s)", $new_upload_path, $this->prior_upload_path);
1721
+ }
1722
  if (false === $wpdb->query("UPDATE ${import_table_prefix}".$mprefix."options SET option_value='".esc_sql($this->prior_upload_path)."' WHERE option_name='upload_path' LIMIT 1")) {
1723
  echo __('Error','updraftplus');
1724
+ $updraftplus->log("Error when changing upload path: ".$wpdb->last_error);
1725
  $updraftplus->log("Failed");
1726
  }
1727
  #update_option('upload_path', $this->prior_upload_path);
updraftplus.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: UpdraftPlus - Backup/Restore
4
  Plugin URI: http://updraftplus.com
5
  Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
6
  Author: UpdraftPlus.Com, DavidAnderson
7
- Version: 1.9.62
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Text Domain: updraftplus
4
  Plugin URI: http://updraftplus.com
5
  Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
6
  Author: UpdraftPlus.Com, DavidAnderson
7
+ Version: 1.9.63
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Text Domain: updraftplus