Version Description
- 01/29/2013 =
- Since 1.3.3, the 'Last Backup' indicator in the control panel had not been updating
Download this release
Release Info
Developer | DavidAnderson |
Plugin | UpdraftPlus WordPress Backup Plugin |
Version | 1.3.19 |
Comparing to | |
See all releases |
Code changes from version 1.3.18 to 1.3.19
- readme.txt +4 -1
- updraftplus.php +9 -5
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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.1
|
6 |
-
Stable tag: 1.3.
|
7 |
Donate link: http://david.dw-perspective.org.uk/donate
|
8 |
License: GPLv3 or later
|
9 |
|
@@ -141,6 +141,9 @@ Thanks for asking - yes, I have. Check out my profile page - http://profiles.wor
|
|
141 |
|
142 |
== Changelog ==
|
143 |
|
|
|
|
|
|
|
144 |
= 1.3.18 - 01/28/2013 =
|
145 |
* Made 'expert mode' easier to operate, and tidier options for non-expert users.
|
146 |
* Some (not total) compliance with PHP's strict coding standards mode
|
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.1
|
6 |
+
Stable tag: 1.3.19
|
7 |
Donate link: http://david.dw-perspective.org.uk/donate
|
8 |
License: GPLv3 or later
|
9 |
|
141 |
|
142 |
== Changelog ==
|
143 |
|
144 |
+
= 1.3.19 - 01/29/2013 =
|
145 |
+
* Since 1.3.3, the 'Last Backup' indicator in the control panel had not been updating
|
146 |
+
|
147 |
= 1.3.18 - 01/28/2013 =
|
148 |
* Made 'expert mode' easier to operate, and tidier options for non-expert users.
|
149 |
* Some (not total) compliance with PHP's strict coding standards mode
|
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.
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Author URI: http://wordshell.net
|
@@ -25,13 +25,13 @@ TODO
|
|
25 |
// Warn the user if their zip-file creation is slooowww...
|
26 |
// Create a "Want Support?" button/console, that leads them through what is needed, and performs some basic tests...
|
27 |
// Resuming partial FTP uploads
|
28 |
-
// Turn expert options into a jQuery toggle
|
29 |
// 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
|
30 |
// Multiple jobs
|
31 |
// When looking for files to delete, is the current encryption setting used? Should not be.
|
32 |
// Create single zip, containing even WordPress itself
|
33 |
// When a new backup starts, AJAX-update the 'Last backup' display in the admin page.
|
34 |
// Remove the recurrence of admin notices when settings are saved due to _wp_referer
|
|
|
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,7 +78,7 @@ if (!class_exists('UpdraftPlus_Options')) require_once(UPDRAFTPLUS_DIR.'/options
|
|
78 |
|
79 |
class UpdraftPlus {
|
80 |
|
81 |
-
var $version = '1.3.
|
82 |
var $plugin_title = 'UpdraftPlus Backup/Restore';
|
83 |
|
84 |
// Choices will be shown in the admin menu in the order used here
|
@@ -286,8 +286,12 @@ class UpdraftPlus {
|
|
286 |
$this->cloud_backup($undone_files);
|
287 |
|
288 |
$this->log("Resume backup ($bnonce, $resumption_no): finish run");
|
|
|
289 |
$this->backup_finish($next_resumption, true, true, $resumption_no);
|
290 |
|
|
|
|
|
|
|
291 |
}
|
292 |
|
293 |
function backup_all() {
|
@@ -1777,7 +1781,7 @@ class UpdraftPlus {
|
|
1777 |
if(isset($_POST['action']) && $_POST['action'] == 'updraft_backup_debug_all') { $this->boot_backup(true,true); }
|
1778 |
elseif (isset($_POST['action']) && $_POST['action'] == 'updraft_backup_debug_db') { $this->backup_db(); }
|
1779 |
elseif (isset($_POST['action']) && $_POST['action'] == 'updraft_wipesettings') {
|
1780 |
-
$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_dropboxtk_request_token', 'updraft_dropboxtk_access_token', 'updraft_dropbox_folder', '');
|
1781 |
foreach ($settings as $s) {
|
1782 |
UpdraftPlus_Options::delete_updraft_option($s);
|
1783 |
}
|
@@ -1913,7 +1917,7 @@ class UpdraftPlus {
|
|
1913 |
<td id="updraft_lastlogcontainer"><?php echo htmlspecialchars(UpdraftPlus_Options::get_updraft_option('updraft_lastmessage', '(Nothing yet logged)')); ?></td>
|
1914 |
</tr>
|
1915 |
<tr>
|
1916 |
-
<th>Download backups and logs
|
1917 |
<td><a href="#" title="Click to see available backups" onclick="jQuery('.download-backups').toggle();return false;"><?php echo count($backup_history)?> available</a></td>
|
1918 |
</tr>
|
1919 |
<tr>
|
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.19
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Author URI: http://wordshell.net
|
25 |
// Warn the user if their zip-file creation is slooowww...
|
26 |
// Create a "Want Support?" button/console, that leads them through what is needed, and performs some basic tests...
|
27 |
// Resuming partial FTP uploads
|
|
|
28 |
// 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
|
29 |
// Multiple jobs
|
30 |
// When looking for files to delete, is the current encryption setting used? Should not be.
|
31 |
// Create single zip, containing even WordPress itself
|
32 |
// When a new backup starts, AJAX-update the 'Last backup' display in the admin page.
|
33 |
// Remove the recurrence of admin notices when settings are saved due to _wp_referer
|
34 |
+
//http://w-shadow.com/blog/2010/09/02/automatic-updates-for-any-plugin/
|
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.19';
|
82 |
var $plugin_title = 'UpdraftPlus Backup/Restore';
|
83 |
|
84 |
// Choices will be shown in the admin menu in the order used here
|
286 |
$this->cloud_backup($undone_files);
|
287 |
|
288 |
$this->log("Resume backup ($bnonce, $resumption_no): finish run");
|
289 |
+
if (is_array($our_files)) $this->save_last_backup($our_files);
|
290 |
$this->backup_finish($next_resumption, true, true, $resumption_no);
|
291 |
|
292 |
+
|
293 |
+
|
294 |
+
|
295 |
}
|
296 |
|
297 |
function backup_all() {
|
1781 |
if(isset($_POST['action']) && $_POST['action'] == 'updraft_backup_debug_all') { $this->boot_backup(true,true); }
|
1782 |
elseif (isset($_POST['action']) && $_POST['action'] == 'updraft_backup_debug_db') { $this->backup_db(); }
|
1783 |
elseif (isset($_POST['action']) && $_POST['action'] == 'updraft_wipesettings') {
|
1784 |
+
$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_dropboxtk_request_token', 'updraft_dropboxtk_access_token', 'updraft_dropbox_folder', 'updraft_last_backup');
|
1785 |
foreach ($settings as $s) {
|
1786 |
UpdraftPlus_Options::delete_updraft_option($s);
|
1787 |
}
|
1917 |
<td id="updraft_lastlogcontainer"><?php echo htmlspecialchars(UpdraftPlus_Options::get_updraft_option('updraft_lastmessage', '(Nothing yet logged)')); ?></td>
|
1918 |
</tr>
|
1919 |
<tr>
|
1920 |
+
<th>Download backups and logs:</th>
|
1921 |
<td><a href="#" title="Click to see available backups" onclick="jQuery('.download-backups').toggle();return false;"><?php echo count($backup_history)?> available</a></td>
|
1922 |
</tr>
|
1923 |
<tr>
|