UpdraftPlus WordPress Backup Plugin - Version 0.8.32

Version Description

  • 09/17/2012 =
  • Fix a subtle bug that caused database tables from outside of this WordPress install to be backed up
Download this release

Release Info

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

Code changes from version 0.8.31 to 0.8.32

Files changed (2) hide show
  1. readme.txt +5 -2
  2. updraftplus.php +4 -3
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: David Anderson
3
  Tags: backup, restore, database, cloud, amazon, s3, Amazon S3, google drive, google, gdrive, ftp, cloud, updraft, back up
4
  Requires at least: 3.2
5
  Tested up to: 3.4.2
6
- Stable tag: 0.8.31
7
  Donate link: http://david.dw-perspective.org.uk/donate
8
  License: GPLv2 or later
9
 
@@ -12,7 +12,7 @@ License: GPLv2 or later
12
  UpdraftPlus simplifies backups (and restoration). Backup into the cloud (S3, Google Drive, FTP, and email) and restore with a single click. Backups of files and database can have separate schedules.
13
 
14
  == Upgrade Notice ==
15
- Fix error when deleting from S3 backups
16
 
17
  == Installation ==
18
 
@@ -47,6 +47,9 @@ Contact me! This is a complex plugin and the only way I can ensure it's robust i
47
 
48
  == Changelog ==
49
 
 
 
 
50
  = 0.8.31 - 09/08/2012 =
51
  * Fixed error deleting old S3 backups. If your expired S3 backups were not deleted, they should be in future - but you will need to delete manually those that expired before you installed this update.
52
  * Fixed minor bug closing log file
3
  Tags: backup, restore, database, cloud, amazon, s3, Amazon S3, google drive, google, gdrive, ftp, cloud, updraft, back up
4
  Requires at least: 3.2
5
  Tested up to: 3.4.2
6
+ Stable tag: 0.8.32
7
  Donate link: http://david.dw-perspective.org.uk/donate
8
  License: GPLv2 or later
9
 
12
  UpdraftPlus simplifies backups (and restoration). Backup into the cloud (S3, Google Drive, FTP, and email) and restore with a single click. Backups of files and database can have separate schedules.
13
 
14
  == Upgrade Notice ==
15
+ Database tables from outside of thsi WP install were still being backed up; prevent
16
 
17
  == Installation ==
18
 
47
 
48
  == Changelog ==
49
 
50
+ = 0.8.32 - 09/17/2012 =
51
+ * Fix a subtle bug that caused database tables from outside of this WordPress install to be backed up
52
+
53
  = 0.8.31 - 09/08/2012 =
54
  * Fixed error deleting old S3 backups. If your expired S3 backups were not deleted, they should be in future - but you will need to delete manually those that expired before you installed this update.
55
  * Fixed minor bug closing log file
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. Files and DB can be on separate schedules.
6
  Author: David Anderson.
7
- Version: 0.8.31
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  Author URI: http://wordshell.net
10
  */
@@ -54,7 +54,7 @@ if(!$updraft->memory_check(192)) {
54
 
55
  class UpdraftPlus {
56
 
57
- var $version = '0.8.31';
58
 
59
  var $dbhandle;
60
  var $errors = array();
@@ -934,7 +934,8 @@ class UpdraftPlus {
934
  $total_tables++;
935
  // Increase script execution time-limit to 15 min for every table.
936
  if ( !ini_get('safe_mode')) @set_time_limit(15*60);
937
- if ( strpos($table, $table_prefix) == 0 ) {
 
938
  // Create the SQL statements
939
  $this->stow("# --------------------------------------------------------\n");
940
  $this->stow("# " . sprintf(__('Table: %s','wp-db-backup'),$this->backquote($table)) . "\n");
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. Files and DB can be on separate schedules.
6
  Author: David Anderson.
7
+ Version: 0.8.32
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  Author URI: http://wordshell.net
10
  */
54
 
55
  class UpdraftPlus {
56
 
57
+ var $version = '0.8.32';
58
 
59
  var $dbhandle;
60
  var $errors = array();
934
  $total_tables++;
935
  // Increase script execution time-limit to 15 min for every table.
936
  if ( !ini_get('safe_mode')) @set_time_limit(15*60);
937
+ # === is needed, otherwise 'false' matches (i.e. prefix does not match)
938
+ if ( strpos($table, $table_prefix) === 0 ) {
939
  // Create the SQL statements
940
  $this->stow("# --------------------------------------------------------\n");
941
  $this->stow("# " . sprintf(__('Table: %s','wp-db-backup'),$this->backquote($table)) . "\n");