UpdraftPlus WordPress Backup Plugin - Version 1.0.12

Version Description

  • 12/22/2012 =
  • Fixed bug that set 1Tb (instead of 1Mb) chunk sizes for Google Drive uploads
  • Added link to some screenshots to help with Google Drive setup
  • Allowed use of existing Amazon S3 buckets with restrictive policies (previously, we tested for the bucket's existence by running a create operation on it, which may not be permitted)
  • Use WordPress's native HTTP functions for greater reliability when performing Google Drive authorisation
Download this release

Release Info

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

Code changes from version 1.0.11 to 1.0.12

Files changed (2) hide show
  1. readme.txt +1 -1
  2. updraftplus.php +7 -7
readme.txt CHANGED
@@ -87,7 +87,7 @@ No, there's no warranty or guarantee, etc. It's completely up to you to verify t
87
 
88
  == Changelog ==
89
 
90
- = 1.0.11 - 12/22/2012 =
91
  * Fixed bug that set 1Tb (instead of 1Mb) chunk sizes for Google Drive uploads
92
  * Added link to some screenshots to help with Google Drive setup
93
  * Allowed use of existing Amazon S3 buckets with restrictive policies (previously, we tested for the bucket's existence by running a create operation on it, which may not be permitted)
87
 
88
  == Changelog ==
89
 
90
+ = 1.0.12 - 12/22/2012 =
91
  * Fixed bug that set 1Tb (instead of 1Mb) chunk sizes for Google Drive uploads
92
  * Added link to some screenshots to help with Google Drive setup
93
  * Allowed use of existing Amazon S3 buckets with restrictive policies (previously, we tested for the bucket's existence by running a create operation on it, which may not be permitted)
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.11
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.11';
64
 
65
  var $dbhandle;
66
  var $errors = array();
@@ -170,11 +170,11 @@ class UpdraftPlus {
170
  function gdrive_auth_token() {
171
  if( isset( $_GET['code'] ) ) {
172
  $post_vars = array(
173
- 'code' => $_GET['code'],
174
- 'client_id' => get_option('updraft_googledrive_clientid'),
175
- 'client_secret' => get_option('updraft_googledrive_secret'),
176
- 'redirect_uri' => admin_url('options-general.php?page=updraftplus&action=auth'),
177
- 'grant_type' => 'authorization_code'
178
  );
179
 
180
  $result = wp_remote_post('https://accounts.google.com/o/oauth2/token', array('timeout' => 30, 'method' => 'POST', 'body' => $post_vars) );
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.12
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.12';
64
 
65
  var $dbhandle;
66
  var $errors = array();
170
  function gdrive_auth_token() {
171
  if( isset( $_GET['code'] ) ) {
172
  $post_vars = array(
173
+ 'code' => $_GET['code'],
174
+ 'client_id' => get_option('updraft_googledrive_clientid'),
175
+ 'client_secret' => get_option('updraft_googledrive_secret'),
176
+ 'redirect_uri' => admin_url('options-general.php?page=updraftplus&action=auth'),
177
+ 'grant_type' => 'authorization_code'
178
  );
179
 
180
  $result = wp_remote_post('https://accounts.google.com/o/oauth2/token', array('timeout' => 30, 'method' => 'POST', 'body' => $post_vars) );