UpdraftPlus WordPress Backup Plugin - Version 1.0.5

Version Description

  • 12/13/2012 =
  • Tweaked default Google Drive options
Download this release

Release Info

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

Code changes from version 1.0.4 to 1.0.5

Files changed (2) hide show
  1. readme.txt +4 -1
  2. updraftplus.php +5 -6
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: David Anderson
3
  Tags: backup, restore, database, cloud, amazon, s3, Amazon S3, google drive, google, gdrive, ftp, cloud, updraft, back up
4
  Requires at least: 3.2
5
  Tested up to: 3.5
6
- Stable tag: 1.0.4
7
  Donate link: http://david.dw-perspective.org.uk/donate
8
  License: GPLv3 or later
9
 
@@ -81,6 +81,9 @@ No, there's no warranty or guarantee, etc. It's completely up to you to verify t
81
 
82
  == Changelog ==
83
 
 
 
 
84
  = 1.0.4 - 12/10/2012 =
85
  * Implemented resumption/chunked uploading on Google Drive - much bigger sites can now be backed up
86
  * Fixed bug whereby setting for deleting local backups was lost
3
  Tags: backup, restore, database, cloud, amazon, s3, Amazon S3, google drive, google, gdrive, ftp, cloud, updraft, back up
4
  Requires at least: 3.2
5
  Tested up to: 3.5
6
+ Stable tag: 1.0.5
7
  Donate link: http://david.dw-perspective.org.uk/donate
8
  License: GPLv3 or later
9
 
81
 
82
  == Changelog ==
83
 
84
+ = 1.0.5 - 12/13/2012 =
85
+ * Tweaked default Google Drive options
86
+
87
  = 1.0.4 - 12/10/2012 =
88
  * Implemented resumption/chunked uploading on Google Drive - much bigger sites can now be backed up
89
  * Fixed bug whereby setting for deleting local backups was lost
updraftplus.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: UpdraftPlus - Backup/Restore
4
  Plugin URI: http://wordpress.org/extend/plugins/updraftplus
5
  Description: Uploads, themes, plugins, and your DB can be automatically backed up to Amazon S3, Google Drive, FTP, or emailed, on separate schedules.
6
  Author: David Anderson.
7
- Version: 1.0.4
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Author URI: http://wordshell.net
@@ -60,7 +60,7 @@ define('UPDRAFT_DEFAULT_OTHERS_EXCLUDE','upgrade,cache,updraft,index.php');
60
 
61
  class UpdraftPlus {
62
 
63
- var $version = '1.0.4';
64
 
65
  var $dbhandle;
66
  var $errors = array();
@@ -738,10 +738,9 @@ class UpdraftPlus {
738
  if ( is_wp_error( $this->gdocs_access_token ) ) return $access_token;
739
 
740
  $this->gdocs = new UpdraftPlus_GDocs( $this->gdocs_access_token );
741
- $this->gdocs->set_option( 'chunk_size', $this->options['chunk_size'] );
742
- $this->gdocs->set_option( 'time_limit', $this->options['time_limit'] );
743
- $this->gdocs->set_option( 'request_timeout', $this->options['request_timeout'] );
744
- $this->gdocs->set_option( 'max_resume_attempts', $this->options['backup_attempts'] );
745
  }
746
  return true;
747
  }
4
  Plugin URI: http://wordpress.org/extend/plugins/updraftplus
5
  Description: Uploads, themes, plugins, and your DB can be automatically backed up to Amazon S3, Google Drive, FTP, or emailed, on separate schedules.
6
  Author: David Anderson.
7
+ Version: 1.0.5
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Author URI: http://wordshell.net
60
 
61
  class UpdraftPlus {
62
 
63
+ var $version = '1.0.5';
64
 
65
  var $dbhandle;
66
  var $errors = array();
738
  if ( is_wp_error( $this->gdocs_access_token ) ) return $access_token;
739
 
740
  $this->gdocs = new UpdraftPlus_GDocs( $this->gdocs_access_token );
741
+ $this->gdocs->set_option( 'chunk_size', 1*1024*1024 ); # 1Mb; change from default of 512Kb
742
+ $this->gdocs->set_option( 'request_timeout', 10 ); # Change from default of 10s
743
+ $this->gdocs->set_option( 'max_resume_attempts', 36 ); # Doesn't look like GDocs class actually uses this anyway
 
744
  }
745
  return true;
746
  }