Version Description
- 2014-12-08 =
- FIX: Fix bug in 1.9.40 that caused some cloud storage uploads to be terminated.
- FIX: Restore functionality for Premium users on older WP versions (3.1 - 3.5)
Download this release
Release Info
Developer | DavidAnderson |
Plugin | UpdraftPlus WordPress Backup Plugin |
Version | 1.9.42 |
Comparing to | |
See all releases |
Code changes from version 1.9.41 to 1.9.42
- backup.php +1 -1
- readme.txt +5 -4
- restorer.php +7 -1
- updraftplus.php +1 -1
backup.php
CHANGED
@@ -718,7 +718,7 @@ class UpdraftPlus_Backup {
|
|
718 |
if ($handle = opendir($dir)) {
|
719 |
while (false !== ($entry = readdir($handle))) {
|
720 |
if ($entry != "." && $entry != "..") {
|
721 |
-
if (preg_match('/^backup_(\d{4})-(\d{2})-(\d{2})-(\d{2})(\d{2})_.*_([0-9a-f]{12})-[\-a-z]+([0-9]+)?\.zip$/i', $entry, $matches)) {
|
722 |
if ($matches[6] !== $match_nonce) continue;
|
723 |
$timestamp = mktime($matches[4], $matches[5], 0, $matches[2], $matches[3], $matches[1]);
|
724 |
$entity = $matches[7];
|
718 |
if ($handle = opendir($dir)) {
|
719 |
while (false !== ($entry = readdir($handle))) {
|
720 |
if ($entry != "." && $entry != "..") {
|
721 |
+
if (preg_match('/^backup_(\d{4})-(\d{2})-(\d{2})-(\d{2})(\d{2})_.*_([0-9a-f]{12})-([\-a-z]+)([0-9]+)?\.zip$/i', $entry, $matches)) {
|
722 |
if ($matches[6] !== $match_nonce) continue;
|
723 |
$timestamp = mktime($matches[4], $matches[5], 0, $matches[2], $matches[3], $matches[1]);
|
724 |
$entity = $matches[7];
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Backup with UpdraftPlus, DavidAnderson
|
|
3 |
Tags: backup, backups, restore, amazon backup, s3 backup, dropbox backup, google drive backup, rackspace cloud files, rackspace backup, cloud files, dreamhost, dreamobjects backup, ftp backup, webdav backup, google cloud storage, cloudian, cloudn, connectria, constant cloud, eucalyptus, nifty, nimbula, back up, multisite, restoration, sftp backup, ftps, scp, migrate, duplicate, copy, mysql backup, database backup, db backup, website backup, wordpress backup, full backup, openstack, swift
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 4.1
|
6 |
-
Stable tag: 1.9.
|
7 |
Author URI: http://updraftplus.com
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
@@ -147,8 +147,9 @@ Thanks for asking - yes, I have. Check out my profile page - http://profiles.wor
|
|
147 |
|
148 |
The <a href="http://updraftplus.com/news/">UpdraftPlus backup blog</a> is the best place to learn in more detail about any important changes.
|
149 |
|
150 |
-
= 1.9.
|
151 |
-
*
|
|
|
152 |
|
153 |
= 1.9.40 - 2014-12-04 =
|
154 |
|
@@ -992,4 +993,4 @@ Furthermore, reliance upon any non-English translation is at your own risk. Updr
|
|
992 |
|
993 |
|
994 |
== Upgrade Notice ==
|
995 |
-
* 1.9.
|
3 |
Tags: backup, backups, restore, amazon backup, s3 backup, dropbox backup, google drive backup, rackspace cloud files, rackspace backup, cloud files, dreamhost, dreamobjects backup, ftp backup, webdav backup, google cloud storage, cloudian, cloudn, connectria, constant cloud, eucalyptus, nifty, nimbula, back up, multisite, restoration, sftp backup, ftps, scp, migrate, duplicate, copy, mysql backup, database backup, db backup, website backup, wordpress backup, full backup, openstack, swift
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 4.1
|
6 |
+
Stable tag: 1.9.42
|
7 |
Author URI: http://updraftplus.com
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
147 |
|
148 |
The <a href="http://updraftplus.com/news/">UpdraftPlus backup blog</a> is the best place to learn in more detail about any important changes.
|
149 |
|
150 |
+
= 1.9.42 - 2014-12-08 =
|
151 |
+
* FIX: Fix bug in 1.9.40 that caused some cloud storage uploads to be terminated.
|
152 |
+
* FIX: Restore functionality for Premium users on older WP versions (3.1 - 3.5)
|
153 |
|
154 |
= 1.9.40 - 2014-12-04 =
|
155 |
|
993 |
|
994 |
|
995 |
== Upgrade Notice ==
|
996 |
+
* 1.9.42 : Fix a bug that caused some cloud storage uploads to fail. Recommended priority update for all.
|
restorer.php
CHANGED
@@ -1188,6 +1188,9 @@ class Updraft_Restorer extends WP_Upgrader {
|
|
1188 |
|
1189 |
$this->max_allowed_packet = $updraftplus->get_max_packet_size();
|
1190 |
|
|
|
|
|
|
|
1191 |
while (($is_plain && !feof($dbhandle)) || (!$is_plain && !gzeof($dbhandle))) {
|
1192 |
// Up to 1Mb
|
1193 |
$buffer = ($is_plain) ? rtrim(fgets($dbhandle, 1048576)) : rtrim(gzgets($dbhandle, 1048576));
|
@@ -1437,7 +1440,10 @@ class Updraft_Restorer extends WP_Upgrader {
|
|
1437 |
$sql_type = -1;
|
1438 |
|
1439 |
}
|
1440 |
-
|
|
|
|
|
|
|
1441 |
if ($restoring_table) $this->restored_table($restoring_table, $import_table_prefix, $old_table_prefix);
|
1442 |
|
1443 |
$time_taken = microtime(true) - $this->start_time;
|
1188 |
|
1189 |
$this->max_allowed_packet = $updraftplus->get_max_packet_size();
|
1190 |
|
1191 |
+
$updraftplus->log("Entering maintenance mode");
|
1192 |
+
$this->maintenance_mode(true);
|
1193 |
+
|
1194 |
while (($is_plain && !feof($dbhandle)) || (!$is_plain && !gzeof($dbhandle))) {
|
1195 |
// Up to 1Mb
|
1196 |
$buffer = ($is_plain) ? rtrim(fgets($dbhandle, 1048576)) : rtrim(gzgets($dbhandle, 1048576));
|
1440 |
$sql_type = -1;
|
1441 |
|
1442 |
}
|
1443 |
+
|
1444 |
+
$updraftplus->log("Leaving maintenance mode");
|
1445 |
+
$this->maintenance_mode(false);
|
1446 |
+
|
1447 |
if ($restoring_table) $this->restored_table($restoring_table, $import_table_prefix, $old_table_prefix);
|
1448 |
|
1449 |
$time_taken = microtime(true) - $this->start_time;
|
updraftplus.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: UpdraftPlus - Backup/Restore
|
|
4 |
Plugin URI: http://updraftplus.com
|
5 |
Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
|
6 |
Author: UpdraftPlus.Com, DavidAnderson
|
7 |
-
Version: 1.9.
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Text Domain: updraftplus
|
4 |
Plugin URI: http://updraftplus.com
|
5 |
Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
|
6 |
Author: UpdraftPlus.Com, DavidAnderson
|
7 |
+
Version: 1.9.42
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Text Domain: updraftplus
|