UpdraftPlus WordPress Backup Plugin - Version 1.2.39

Version Description

  • 01/18/2013 =
  • Easier Dropbox setup (we are now an official production app)
  • New button to delete all existing settings
  • Admin console now displays rolling status updates
  • Fixed bug with checking access token on Google Drive restore
Download this release

Release Info

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

Code changes from version 1.2.38 to 1.2.39

methods/email.php CHANGED
@@ -21,7 +21,7 @@ class UpdraftPlus_BackupModule_email {
21
  ?>
22
  <tr class="updraftplusmethod email">
23
  <th>Note:</th>
24
- <td>If choosing &quot;E-Mail&quot;, then be aware that mail servers tend to have size limits; typically around 10-20Mb; backups larger than any limits will not arrive.</td>
25
  </tr>
26
  <?php
27
  }
21
  ?>
22
  <tr class="updraftplusmethod email">
23
  <th>Note:</th>
24
+ <td>If choosing &quot;E-Mail&quot;, then be aware that mail servers tend to have size limits; typically around 10-20Mb; backups larger than any limits will not arrive. If you really need a large backup via email, then you could fund a new feature (to break the backup set into configurable-size pieces) - but the demand has not yet existed for such a feature.</td>
25
  </tr>
26
  <?php
27
  }
methods/googledrive.php CHANGED
@@ -235,7 +235,7 @@ class UpdraftPlus_BackupModule_googledrive {
235
  if( !class_exists('UpdraftPlus_GDocs')) require_once(UPDRAFTPLUS_DIR.'/includes/class-gdocs.php');
236
 
237
  // Do we have an access token?
238
- if ( !$access_token = $updraftplus->access_token( get_option('updraft_googledrive_token'), get_option('updraft_googledrive_clientid'), get_option('updraft_googledrive_secret') )) {
239
  $updraftplus->error('Have not yet obtained an access token from Google (has the user authorised?)');
240
  return false;
241
  }
@@ -248,7 +248,7 @@ class UpdraftPlus_BackupModule_googledrive {
248
 
249
  $ids = get_option('updraft_file_ids', array());
250
  if (!isset($ids[$file])) {
251
- $this->error("Google Drive error: $file: could not download: could not find a record of the Google Drive file ID for this file");
252
  return;
253
  } else {
254
  $content_link = $gdocs_object->get_content_link( $ids[$file], $file );
@@ -307,7 +307,10 @@ class UpdraftPlus_BackupModule_googledrive {
307
  ?>
308
  <tr class="updraftplusmethod googledrive">
309
  <td>Google Drive:</td>
310
- <td><em>Google Drive is a great choice, because UpdraftPlus supports chunked uploads - no matter how big your blog is, UpdraftPlus can upload it a little at a time, and not get thwarted by timeouts.</em></td>
 
 
 
311
  </tr>
312
  <tr class="updraftplusmethod googledrive">
313
  <th>Google Drive:</th>
235
  if( !class_exists('UpdraftPlus_GDocs')) require_once(UPDRAFTPLUS_DIR.'/includes/class-gdocs.php');
236
 
237
  // Do we have an access token?
238
+ if ( !$access_token = $this->access_token( get_option('updraft_googledrive_token'), get_option('updraft_googledrive_clientid'), get_option('updraft_googledrive_secret') )) {
239
  $updraftplus->error('Have not yet obtained an access token from Google (has the user authorised?)');
240
  return false;
241
  }
248
 
249
  $ids = get_option('updraft_file_ids', array());
250
  if (!isset($ids[$file])) {
251
+ $updraftplus->error("Google Drive error: $file: could not download: could not find a record of the Google Drive file ID for this file");
252
  return;
253
  } else {
254
  $content_link = $gdocs_object->get_content_link( $ids[$file], $file );
307
  ?>
308
  <tr class="updraftplusmethod googledrive">
309
  <td>Google Drive:</td>
310
+ <td>
311
+ <img src="https://developers.google.com/drive/images/drive_logo.png" alt="Google Drive">
312
+ <p><em>Google Drive is a great choice, because UpdraftPlus supports chunked uploads - no matter how big your blog is, UpdraftPlus can upload it a little at a time, and not get thwarted by timeouts.</em></p>
313
+ </td>
314
  </tr>
315
  <tr class="updraftplusmethod googledrive">
316
  <th>Google Drive:</th>
methods/s3.php CHANGED
@@ -180,7 +180,7 @@ class UpdraftPlus_BackupModule_s3 {
180
  ?>
181
  <tr class="updraftplusmethod s3">
182
  <td></td>
183
- <td><em>Amazon S3 is a great choice, because UpdraftPlus supports chunked uploads - no matter how big your blog is, UpdraftPlus can upload it a little at a time, and not get thwarted by timeouts.</em></td>
184
  </tr>
185
  <tr class="updraftplusmethod s3">
186
  <th></th>
180
  ?>
181
  <tr class="updraftplusmethod s3">
182
  <td></td>
183
+ <td><img src="https://d36cz9buwru1tt.cloudfront.net/Powered-by-Amazon-Web-Services.jpg" alt="Amazon Web Services"><p><em>Amazon S3 is a great choice, because UpdraftPlus supports chunked uploads - no matter how big your blog is, UpdraftPlus can upload it a little at a time, and not get thwarted by timeouts.</em></p></td>
184
  </tr>
185
  <tr class="updraftplusmethod s3">
186
  <th></th>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: David Anderson
3
  Tags: backup, restore, database, cloud, amazon, s3, dropbox, google drive, gdrive, ftp, cloud, updraft, back up
4
  Requires at least: 3.2
5
  Tested up to: 3.5
6
- Stable tag: 1.2.38
7
  Donate link: http://david.dw-perspective.org.uk/donate
8
  License: GPLv3 or later
9
 
@@ -128,10 +128,11 @@ Thanks for asking - yes, I have. Check out my profile page - http://profiles.wor
128
 
129
  == Changelog ==
130
 
131
- = 1.2.38 - 01/17/2013 =
132
  * Easier Dropbox setup (we are now an official production app)
133
  * New button to delete all existing settings
134
  * Admin console now displays rolling status updates
 
135
 
136
  = 1.2.31 - 01/15/2013 =
137
  * Fixed bug with Dropbox deletions
3
  Tags: backup, restore, database, cloud, amazon, s3, dropbox, google drive, gdrive, ftp, cloud, updraft, back up
4
  Requires at least: 3.2
5
  Tested up to: 3.5
6
+ Stable tag: 1.2.39
7
  Donate link: http://david.dw-perspective.org.uk/donate
8
  License: GPLv3 or later
9
 
128
 
129
  == Changelog ==
130
 
131
+ = 1.2.39 - 01/18/2013 =
132
  * Easier Dropbox setup (we are now an official production app)
133
  * New button to delete all existing settings
134
  * Admin console now displays rolling status updates
135
+ * Fixed bug with checking access token on Google Drive restore
136
 
137
  = 1.2.31 - 01/15/2013 =
138
  * Fixed bug with Dropbox deletions
updraftplus.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: UpdraftPlus - Backup/Restore
4
  Plugin URI: http://wordpress.org/extend/plugins/updraftplus
5
  Description: Backup and restore: your content and database can be automatically backed up to Amazon S3, Dropbox, Google Drive, FTP or email, on separate schedules.
6
  Author: David Anderson.
7
- Version: 1.2.38
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Author URI: http://wordshell.net
@@ -65,7 +65,7 @@ define('UPDRAFT_DEFAULT_OTHERS_EXCLUDE','upgrade,cache,updraft,index.php');
65
 
66
  class UpdraftPlus {
67
 
68
- var $version = '1.2.38';
69
 
70
  // Choices will be shown in the admin menu in the order used here
71
  var $backup_methods = array (
4
  Plugin URI: http://wordpress.org/extend/plugins/updraftplus
5
  Description: Backup and restore: your content and database can be automatically backed up to Amazon S3, Dropbox, Google Drive, FTP or email, on separate schedules.
6
  Author: David Anderson.
7
+ Version: 1.2.39
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Author URI: http://wordshell.net
65
 
66
  class UpdraftPlus {
67
 
68
+ var $version = '1.2.39';
69
 
70
  // Choices will be shown in the admin menu in the order used here
71
  var $backup_methods = array (