UpdraftPlus WordPress Backup Plugin - Version 1.3.6

Version Description

  • 01/24/2013 =
  • Fixed faulty assumptions in 'resume' code, now leading to more reliable resuming
  • Removed some duplicate code; first attempt and resumptions now uses same code
  • Added further parameters that should be removed on a wipe operation
Download this release

Release Info

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

Code changes from version 1.3.4 to 1.3.6

Files changed (2) hide show
  1. readme.txt +3 -2
  2. updraftplus.php +5 -3
readme.txt CHANGED
@@ -1,6 +1,6 @@
1
  === UpdraftPlus Backup ===
2
  Contributors: David Anderson
3
- Tags: backup, restore, database, cloud, amazon, s3, dropbox, google drive, gdrive, ftp, cloud, updraft, back up, multisite
4
  Requires at least: 3.2
5
  Tested up to: 3.5
6
  Stable tag: 1.3.2
@@ -141,9 +141,10 @@ Thanks for asking - yes, I have. Check out my profile page - http://profiles.wor
141
 
142
  == Changelog ==
143
 
144
- = 1.3.4 - 01/24/2013 =
145
  * Fixed faulty assumptions in 'resume' code, now leading to more reliable resuming
146
  * Removed some duplicate code; first attempt and resumptions now uses same code
 
147
 
148
  = 1.3.2 - 01/23/2013 =
149
  * Internal reorganisation, enabling UpdraftPlus Premium
1
  === UpdraftPlus Backup ===
2
  Contributors: David Anderson
3
+ Tags: backup, restore, database, cloud, amazon, s3, dropbox, google drive, ftp, cloud, back up, multisite
4
  Requires at least: 3.2
5
  Tested up to: 3.5
6
  Stable tag: 1.3.2
141
 
142
  == Changelog ==
143
 
144
+ = 1.3.6 - 01/24/2013 =
145
  * Fixed faulty assumptions in 'resume' code, now leading to more reliable resuming
146
  * Removed some duplicate code; first attempt and resumptions now uses same code
147
+ * Added further parameters that should be removed on a wipe operation
148
 
149
  = 1.3.2 - 01/23/2013 =
150
  * Internal reorganisation, enabling UpdraftPlus Premium
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.3.4
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Author URI: http://wordshell.net
@@ -29,7 +29,9 @@ TODO
29
  // Turn expert options into a jQuery toggle
30
  // Provide backup/restoration for UpdraftPlus's settings, to allow 'bootstrap' on a fresh WP install - some kind of single-use code which a remote UpdraftPlus can use to authenticate
31
  // Multiple jobs
 
32
  // Create single zip, containing even WordPress itself
 
33
 
34
  Encrypt filesystem, if memory allows (and have option for abort if not); split up into multiple zips when needed
35
  // Does not delete old custom directories upon a restore?
@@ -76,7 +78,7 @@ if (!class_exists('UpdraftPlus_Options')) require_once(UPDRAFTPLUS_DIR.'/options
76
 
77
  class UpdraftPlus {
78
 
79
- var $version = '1.3.4';
80
  var $plugin_title = 'UpdraftPlus Backup/Restore';
81
 
82
  // Choices will be shown in the admin menu in the order used here
@@ -1749,7 +1751,7 @@ class UpdraftPlus {
1749
  if(isset($_POST['action']) && $_POST['action'] == 'updraft_backup_debug_all') { $this->boot_backup(true,true); }
1750
  elseif (isset($_POST['action']) && $_POST['action'] == 'updraft_backup_debug_db') { $this->backup_db(); }
1751
  elseif (isset($_POST['action']) && $_POST['action'] == 'updraft_wipesettings') {
1752
- $settings = array('updraft_interval', 'updraft_interval_database', 'updraft_retain', 'updraft_retain_db', 'updraft_encryptionphrase', 'updraft_service', 'updraft_s3_login', 'updraft_s3_pass', 'updraft_s3_remote_path', 'updraft_dropbox_appkey', 'updraft_dropbox_secret', 'updraft_dropbox_folder', 'updraft_googledrive_clientid', 'updraft_googledrive_secret', 'updraft_googledrive_remotepath', 'updraft_ftp_login', 'updraft_ftp_pass', 'updraft_ftp_remote_path', 'updraft_server_address', 'updraft_dir', 'updraft_email', 'updraft_delete_local', 'updraft_debug_mode', 'updraft_include_plugins', 'updraft_include_themes', 'updraft_include_uploads', 'updraft_include_others', 'updraft_include_others_exclude', 'updraft_lastmessage');
1753
  foreach ($settings as $s) {
1754
  UpdraftPlus_Options::delete_updraft_option($s);
1755
  }
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.3.6
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Author URI: http://wordshell.net
29
  // Turn expert options into a jQuery toggle
30
  // Provide backup/restoration for UpdraftPlus's settings, to allow 'bootstrap' on a fresh WP install - some kind of single-use code which a remote UpdraftPlus can use to authenticate
31
  // Multiple jobs
32
+ // When looking for files to delete, is the current encryption setting used? Should not be.
33
  // Create single zip, containing even WordPress itself
34
+ // When a new backup starts, AJAX-update the 'Last backup' display in the admin page.
35
 
36
  Encrypt filesystem, if memory allows (and have option for abort if not); split up into multiple zips when needed
37
  // Does not delete old custom directories upon a restore?
78
 
79
  class UpdraftPlus {
80
 
81
+ var $version = '1.3.6';
82
  var $plugin_title = 'UpdraftPlus Backup/Restore';
83
 
84
  // Choices will be shown in the admin menu in the order used here
1751
  if(isset($_POST['action']) && $_POST['action'] == 'updraft_backup_debug_all') { $this->boot_backup(true,true); }
1752
  elseif (isset($_POST['action']) && $_POST['action'] == 'updraft_backup_debug_db') { $this->backup_db(); }
1753
  elseif (isset($_POST['action']) && $_POST['action'] == 'updraft_wipesettings') {
1754
+ $settings = array('updraft_interval', 'updraft_interval_database', 'updraft_retain', 'updraft_retain_db', 'updraft_encryptionphrase', 'updraft_service', 'updraft_s3_login', 'updraft_s3_pass', 'updraft_s3_remote_path', 'updraft_dropbox_appkey', 'updraft_dropbox_secret', 'updraft_dropbox_folder', 'updraft_googledrive_clientid', 'updraft_googledrive_secret', 'updraft_googledrive_remotepath', 'updraft_ftp_login', 'updraft_ftp_pass', 'updraft_ftp_remote_path', 'updraft_server_address', 'updraft_dir', 'updraft_email', 'updraft_delete_local', 'updraft_debug_mode', 'updraft_include_plugins', 'updraft_include_themes', 'updraft_include_uploads', 'updraft_include_others', 'updraft_include_others_exclude', 'updraft_lastmessage', 'updraft_googledrive_clientid', 'updraft_googledrive_token', 'updraft_googledrive_secret', 'updraft_dropboxtk_request_token', 'updraft_dropboxtk_access_token', 'updraft_dropbox_folder', '');
1755
  foreach ($settings as $s) {
1756
  UpdraftPlus_Options::delete_updraft_option($s);
1757
  }