UpdraftPlus WordPress Backup Plugin - Version 1.2.36

Version Description

  • 01/17/2013 =
  • New button to delete all existing settings
  • Admin console now displays rolling status updates
Download this release

Release Info

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

Code changes from version 1.2.35 to 1.2.36

Files changed (2) hide show
  1. readme.txt +2 -2
  2. updraftplus.php +9 -9
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: David Anderson
3
  Tags: backup, restore, database, cloud, amazon, s3, Amazon S3, DropBox, DropBox backup, 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.2.35
7
  Donate link: http://david.dw-perspective.org.uk/donate
8
  License: GPLv3 or later
9
 
@@ -119,7 +119,7 @@ Yes; especially before you submit any support requests.
119
  Thanks for asking - yes, I have. Check out my profile page - http://profiles.wordpress.org/DavidAnderson/ . I am also available for hire for bespoke work.
120
 
121
  == Changelog ==
122
- = 1.2.35 - 01/17/2013 =
123
  * New button to delete all existing settings
124
  * Admin console now displays rolling status updates
125
 
3
  Tags: backup, restore, database, cloud, amazon, s3, Amazon S3, DropBox, DropBox backup, 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.2.36
7
  Donate link: http://david.dw-perspective.org.uk/donate
8
  License: GPLv3 or later
9
 
119
  Thanks for asking - yes, I have. Check out my profile page - http://profiles.wordpress.org/DavidAnderson/ . I am also available for hire for bespoke work.
120
 
121
  == Changelog ==
122
+ = 1.2.36 - 01/17/2013 =
123
  * New button to delete all existing settings
124
  * Admin console now displays rolling status updates
125
 
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.35
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Author URI: http://wordshell.net
@@ -64,7 +64,7 @@ define('UPDRAFT_DEFAULT_OTHERS_EXCLUDE','upgrade,cache,updraft,index.php');
64
 
65
  class UpdraftPlus {
66
 
67
- var $version = '1.2.35';
68
 
69
  // Choices will be shown in the admin menu in the order used here
70
  var $backup_methods = array (
@@ -251,7 +251,7 @@ class UpdraftPlus {
251
  }
252
 
253
  if (count($undone_files) == 0) {
254
- $this->log("There were no files that needed uploading; backup job is finished");
255
  return;
256
  }
257
 
@@ -1835,7 +1835,7 @@ ENDHERE;
1835
  <h2>Configure Backup Contents And Schedule</h2>
1836
  <table class="form-table" style="width:850px;">
1837
  <tr>
1838
- <th>File Backup Intervals:</th>
1839
  <td><select name="updraft_interval">
1840
  <?php
1841
  $intervals = array ("manual" => "Manual", 'every4hours' => "Every 4 hours", 'every8hours' => "Every 8 hours", 'twicedaily' => "Every 12 hours", 'daily' => "Daily", 'weekly' => "Weekly", 'fortnightly' => "Fortnightly", 'monthly' => "Monthly");
@@ -1848,7 +1848,7 @@ ENDHERE;
1848
  </select></td>
1849
  </tr>
1850
  <tr>
1851
- <th>Database Backup Intervals:</th>
1852
  <td><select name="updraft_interval_database">
1853
  <?php
1854
  foreach ($intervals as $cronsched => $descrip) {
@@ -1860,7 +1860,7 @@ ENDHERE;
1860
  </select></td>
1861
  </tr>
1862
  <tr class="backup-interval-description">
1863
- <td></td><td>If you would like to automatically schedule backups, choose schedules from the dropdown above. Backups will occur at the interval specified starting just after the current time. If you choose manual you must click the &quot;Backup Now!&quot; button whenever you wish a backup to occur. If the two schedules are the same, then the two backups will take place together.</td>
1864
  </tr>
1865
  <?php
1866
  # The true (default value if non-existent) here has the effect of forcing a default of on.
@@ -1881,7 +1881,7 @@ ENDHERE;
1881
  </td>
1882
  </tr>
1883
  <tr>
1884
- <th>Retain Backups:</th>
1885
  <?php
1886
  $updraft_retain = get_option('updraft_retain');
1887
  $retain = ((int)$updraft_retain > 0)?get_option('updraft_retain'):1;
@@ -1988,7 +1988,7 @@ echo $delete_local; ?> /> <br>Check this to delete the local backup file (only s
1988
  <td colspan="2"><h2>Advanced / Debugging Settings</h2></td>
1989
  </tr>
1990
  <tr>
1991
- <th>Backup Directory:</th>
1992
  <td><input type="text" name="updraft_dir" style="width:525px" value="<?php echo htmlspecialchars($updraft_dir); ?>" /></td>
1993
  </tr>
1994
  <tr>
@@ -2032,7 +2032,7 @@ echo $delete_local; ?> /> <br>Check this to delete the local backup file (only s
2032
  echo 'PHP memory limit: '.ini_get('memory_limit').' <br/>';
2033
  ?>
2034
  </p>
2035
- <p style="max-width: 600px;">The buttons below will immediately execute a backup run, independently of WordPress's scheduler. If these work whilst your scheduled backups and the &quot;Backup Now&quot; button do absolutely nothing (i.e. not even produce a log file), then it means that your scheduler is broken. You should then disable all your other plugins, and try the &quot; Backup Now&quot; button. If that fails, then contact your web hosting company and ask them if they have disable wp-cron. If it succeeds, then re-activate your other plugins one-by-one, and find the one that is the problem and report a bug to them.</p>
2036
 
2037
  <form method="post">
2038
  <input type="hidden" name="action" value="updraft_backup_debug_all" />
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.36
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Author URI: http://wordshell.net
64
 
65
  class UpdraftPlus {
66
 
67
+ var $version = '1.2.36';
68
 
69
  // Choices will be shown in the admin menu in the order used here
70
  var $backup_methods = array (
251
  }
252
 
253
  if (count($undone_files) == 0) {
254
+ $this->log("There were no more files that needed uploading; backup job is complete");
255
  return;
256
  }
257
 
1835
  <h2>Configure Backup Contents And Schedule</h2>
1836
  <table class="form-table" style="width:850px;">
1837
  <tr>
1838
+ <th>File backup intervals:</th>
1839
  <td><select name="updraft_interval">
1840
  <?php
1841
  $intervals = array ("manual" => "Manual", 'every4hours' => "Every 4 hours", 'every8hours' => "Every 8 hours", 'twicedaily' => "Every 12 hours", 'daily' => "Daily", 'weekly' => "Weekly", 'fortnightly' => "Fortnightly", 'monthly' => "Monthly");
1848
  </select></td>
1849
  </tr>
1850
  <tr>
1851
+ <th>Database backup intervals:</th>
1852
  <td><select name="updraft_interval_database">
1853
  <?php
1854
  foreach ($intervals as $cronsched => $descrip) {
1860
  </select></td>
1861
  </tr>
1862
  <tr class="backup-interval-description">
1863
+ <td></td><td>If you would like to automatically schedule backups, choose schedules from the dropdowns above. Backups will occur at the intervals specified starting just after the current time. If you choose manual you must click the &quot;Backup Now!&quot; button whenever you wish a backup to occur. If the two schedules are the same, then the two backups will take place together.</td>
1864
  </tr>
1865
  <?php
1866
  # The true (default value if non-existent) here has the effect of forcing a default of on.
1881
  </td>
1882
  </tr>
1883
  <tr>
1884
+ <th>Retain backups:</th>
1885
  <?php
1886
  $updraft_retain = get_option('updraft_retain');
1887
  $retain = ((int)$updraft_retain > 0)?get_option('updraft_retain'):1;
1988
  <td colspan="2"><h2>Advanced / Debugging Settings</h2></td>
1989
  </tr>
1990
  <tr>
1991
+ <th>Backup directory:</th>
1992
  <td><input type="text" name="updraft_dir" style="width:525px" value="<?php echo htmlspecialchars($updraft_dir); ?>" /></td>
1993
  </tr>
1994
  <tr>
2032
  echo 'PHP memory limit: '.ini_get('memory_limit').' <br/>';
2033
  ?>
2034
  </p>
2035
+ <p style="max-width: 600px;">The buttons below will immediately execute a backup run, independently of WordPress's scheduler. If these work whilst your scheduled backups and the &quot;Backup Now&quot; button do absolutely nothing (i.e. not even produce a log file), then it means that your scheduler is broken. You should then disable all your other plugins, and try the &quot; Backup Now&quot; button. If that fails, then contact your web hosting company and ask them if they have disabled wp-cron. If it succeeds, then re-activate your other plugins one-by-one, and find the one that is the problem and report a bug to them.</p>
2036
 
2037
  <form method="post">
2038
  <input type="hidden" name="action" value="updraft_backup_debug_all" />