UpdraftPlus WordPress Backup Plugin - Version 1.8.12

Version Description

  • 2014/02/27 =

  • FIX: Prevent spurious warning message showing when authenticating new Dropbox connections (introduced in 1.8.11)

  • TWEAK: Add support for Amazon S3's China + government zones

Download this release

Release Info

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

Code changes from version 1.8.11 to 1.8.12

includes/S3.php CHANGED
@@ -2166,7 +2166,7 @@ final class UpdraftPlus_S3Request
2166
  if (in_array($this->response->code, array(200, 206)) && $this->fp !== false)
2167
  return fwrite($this->fp, $data);
2168
  else
2169
- $this->response->body .= $data;
2170
  return strlen($data);
2171
  }
2172
 
2166
  if (in_array($this->response->code, array(200, 206)) && $this->fp !== false)
2167
  return fwrite($this->fp, $data);
2168
  else
2169
+ $this->response->body = (empty($this->response->body)) ? $data : $this->response->body.$data;
2170
  return strlen($data);
2171
  }
2172
 
methods/cloudfiles-new.php CHANGED
@@ -84,7 +84,7 @@ class UpdraftPlus_BackupModule_cloudfiles_opencloudsdk extends UpdraftPlus_Backu
84
  $uploaded_size = $this->get_remote_size($file);
85
 
86
  try {
87
- if (1 === $updraftplus->chunked_upload($this, $file, "cloudfiles://".$this->container."/$file", 'Cloud Files', $this->CHUNK_SIZE, $uploaded_size)) {
88
  try {
89
  if (false !== ($data = fopen($updraftplus->backups_dir_location().'/'.$file, 'r+'))) {
90
  $this->container_object->uploadObject($file, $data);
84
  $uploaded_size = $this->get_remote_size($file);
85
 
86
  try {
87
+ if (1 === $updraftplus->chunked_upload($this, $file, "cloudfiles://".$this->container."/$file", 'Cloud Files', UpdraftPlus_BackupModule_cloudfiles_opencloudsdk::CHUNK_SIZE, $uploaded_size)) {
88
  try {
89
  if (false !== ($data = fopen($updraftplus->backups_dir_location().'/'.$file, 'r+'))) {
90
  $this->container_object->uploadObject($file, $data);
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Backup with UpdraftPlus, DavidAnderson
3
  Tags: backup, backups, restore, database, rackspace, amazon, s3, amazon s3, s3 compatible, dropbox, google drive, rackspace cloud files, rackspace, cloud files, dreamhost, dreamobjects, ftp, ftp backup, webdav, google cloud storage, cloudian, cloudn, connectria, constant cloud, eucalyptus, nifty, nimbula, back up, multisite, restoration, sftp, ftps, scp, migrate, duplicate, copy, updraft, schedule, mysql backup, database backup, db backup, website backup, wordpress backup, full backup
4
  Requires at least: 3.2
5
  Tested up to: 3.8.1
6
- Stable tag: 1.8.11
7
  Author URI: http://updraftplus.com
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
@@ -139,6 +139,11 @@ Thanks for asking - yes, I have. Check out my profile page - http://profiles.wor
139
 
140
  The <a href="http://updraftplus.com/news/">UpdraftPlus backup blog</a> is the best place to learn in more detail about any important changes.
141
 
 
 
 
 
 
142
  = 1.8.11 - 2014/02/27 =
143
 
144
  * FIX: Deal with some unlikely multisite migration combinations
@@ -753,4 +758,4 @@ We recognise and thank the following for code and/or libraries used and/or modif
753
  Furthermore, reliance upon any non-English translation is at your own risk. UpdraftPlus can give no guarantees that translations from the original English are accurate.
754
 
755
  == Upgrade Notice ==
756
- * 1.8.11 : More exclusion + more files options; Amazon S3 RRS; various small tweaks for performance + usability
3
  Tags: backup, backups, restore, database, rackspace, amazon, s3, amazon s3, s3 compatible, dropbox, google drive, rackspace cloud files, rackspace, cloud files, dreamhost, dreamobjects, ftp, ftp backup, webdav, google cloud storage, cloudian, cloudn, connectria, constant cloud, eucalyptus, nifty, nimbula, back up, multisite, restoration, sftp, ftps, scp, migrate, duplicate, copy, updraft, schedule, mysql backup, database backup, db backup, website backup, wordpress backup, full backup
4
  Requires at least: 3.2
5
  Tested up to: 3.8.1
6
+ Stable tag: 1.8.12
7
  Author URI: http://updraftplus.com
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
139
 
140
  The <a href="http://updraftplus.com/news/">UpdraftPlus backup blog</a> is the best place to learn in more detail about any important changes.
141
 
142
+ = 1.8.12 - 2014/02/27 =
143
+
144
+ * FIX: Prevent spurious warning message showing when authenticating new Dropbox connections (introduced in 1.8.11)
145
+ * TWEAK: Add support for Amazon S3's China + government zones
146
+
147
  = 1.8.11 - 2014/02/27 =
148
 
149
  * FIX: Deal with some unlikely multisite migration combinations
758
  Furthermore, reliance upon any non-English translation is at your own risk. UpdraftPlus can give no guarantees that translations from the original English are accurate.
759
 
760
  == Upgrade Notice ==
761
+ * 1.8.12 : More exclusion + more files options; Amazon S3 RRS; various small tweaks for performance + usability
restorer.php CHANGED
@@ -948,7 +948,7 @@ class Updraft_Restorer extends WP_Upgrader {
948
  // Up to 1Mb
949
  $buffer = rtrim(gzgets($dbhandle, 1048576));
950
  // Discard comments
951
- if (empty($buffer) || substr($buffer, 0, 1) == '#') {
952
  if ('' == $this->old_siteurl && preg_match('/^\# Backup of: (http(.*))$/', $buffer, $matches)) {
953
  $this->old_siteurl = untrailingslashit($matches[1]);
954
  $updraftplus->log_e('<strong>Backup of:</strong> %s', htmlspecialchars($this->old_siteurl));
948
  // Up to 1Mb
949
  $buffer = rtrim(gzgets($dbhandle, 1048576));
950
  // Discard comments
951
+ if (empty($buffer) || substr($buffer, 0, 1) == '#' || preg_match('/^--(\s|$)/', substr($buffer, 0, 3))) {
952
  if ('' == $this->old_siteurl && preg_match('/^\# Backup of: (http(.*))$/', $buffer, $matches)) {
953
  $this->old_siteurl = untrailingslashit($matches[1]);
954
  $updraftplus->log_e('<strong>Backup of:</strong> %s', htmlspecialchars($this->old_siteurl));
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.8.11
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.8.12
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Text Domain: updraftplus