UpdraftPlus WordPress Backup Plugin - Version 1.9.44

Version Description

  • 2014-12-13 =

  • Add new incomplete translations (ready for the wordpress.org change to take translation availability into account when searching for plugins): Norwegian Bokml, Norwegian Nynorsk, Finnish, Hebrew, Catalan, Vietnamese, Bengali

  • FIX: Fix a failure to detect the progress properly for large backup sets, introduced in 1.9.40

Download this release

Release Info

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

Code changes from version 1.9.43 to 1.9.44

Files changed (5) hide show
  1. admin.php +1 -0
  2. backup.php +1 -1
  3. readme.txt +17 -6
  4. restorer.php +3 -2
  5. updraftplus.php +2 -2
admin.php CHANGED
@@ -4321,6 +4321,7 @@ ENDHERE;
4321
  if (is_string($files)) $files = array($files);
4322
  foreach ($files as $fkey => $file) {
4323
  $last_one = (1 == count($second_loop) && 1 == count($files));
 
4324
  $val = $updraftplus_restorer->restore_backup($file, $type, $info, $last_one);
4325
 
4326
  if(is_wp_error($val)) {
4321
  if (is_string($files)) $files = array($files);
4322
  foreach ($files as $fkey => $file) {
4323
  $last_one = (1 == count($second_loop) && 1 == count($files));
4324
+
4325
  $val = $updraftplus_restorer->restore_backup($file, $type, $info, $last_one);
4326
 
4327
  if(is_wp_error($val)) {
backup.php CHANGED
@@ -805,7 +805,7 @@ class UpdraftPlus_Backup {
805
  # Split needed?
806
  $split_every = max((int)$updraftplus->jobdata_get('split_every'), 250);
807
  //if (file_exists($zip_file) && filesize($zip_file) > $split_every*1048576) {
808
- if (false != ($existing_file = $this->file_exists($existing_zips, $youwhat, $index)) && filesize($existing_file) > $split_every*1048576) {
809
  $index++;
810
  $this->job_file_entities[$youwhat]['index'] = $index;
811
  $updraftplus->jobdata_set('job_file_entities', $this->job_file_entities);
805
  # Split needed?
806
  $split_every = max((int)$updraftplus->jobdata_get('split_every'), 250);
807
  //if (file_exists($zip_file) && filesize($zip_file) > $split_every*1048576) {
808
+ if (false != ($existing_file = $this->file_exists($existing_zips, $youwhat, $index)) && filesize($this->updraft_dir.'/'.$existing_file) > $split_every*1048576) {
809
  $index++;
810
  $this->job_file_entities[$youwhat]['index'] = $index;
811
  $updraftplus->jobdata_set('job_file_entities', $this->job_file_entities);
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.42
7
  Author URI: http://updraftplus.com
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
@@ -68,7 +68,8 @@ Many thanks to the existing translators:
68
  * Farsi / Persian (fa_IR): Jamshidpour, Ashkan Ghadimi, Mohammad (2online4.ir) and Nasiri Amirreza
69
  * Français / French translation (fr_FR): ufo3D - http://ufo-3d.fr and Thomas Jacobsen - http://123informatique.ch - with help from Françoise Lhermitte - http://www.ajwan.net
70
  * Italiano / Italian (it_IT): Francesco Carpana - f.carpana at gmail.com
71
- * Nederlands / Dutch (nl_NL): Dennis Hunink - dennishunink at me.com and Hans van der Vlist - hansvandervlist at gmail.com
 
72
  * Polski / Polish (pl_PL): Bartosz Kaczmarek - barth.kaczmarek at gmail.com
73
  * Português / Portuguese (Portugal) (pt_PT): Pedro Mendonça
74
  * Português / Portuguese (Brazilian) (pt_BR): Lucien Raven (lucienraven at yahoo.com.br) and Tom Fonseca (tomfonseca at gmail.com)
@@ -78,11 +79,16 @@ Many thanks to the existing translators:
78
  * Tagalog (tl): Kristen Macasero / Mads Phikamphon - http://www.findhold.dk
79
  * Turk / Turkish (tr_TR): Various translators
80
 
81
- And to these (need updating or new translators; now less than 60% translated):
82
 
83
- * Magyar / Hungarian (hu_HU): Szépe Viktor - http://www.szepe.net
84
- * Français / French translation (fr_FR): New translators needed
85
  * Chinese (zh_CN): K L Wang - http://klwang.info
 
 
 
 
 
 
 
86
 
87
  = Other support =
88
 
@@ -147,6 +153,11 @@ 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.43 - 2014-12-11 =
151
  * FIX: Fix bug in 'lock admin' feature causing lock-outs even with the correct password
152
  * TWEAK: Site is put in maintenance mode whilst database restore takes place
@@ -997,4 +1008,4 @@ Furthermore, reliance upon any non-English translation is at your own risk. Updr
997
 
998
 
999
  == Upgrade Notice ==
1000
- * 1.9.43 : Fix a bug that caused the 'lock admin' feature to fail. Essential update for all users of this feature.
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.44
7
  Author URI: http://updraftplus.com
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
68
  * Farsi / Persian (fa_IR): Jamshidpour, Ashkan Ghadimi, Mohammad (2online4.ir) and Nasiri Amirreza
69
  * Français / French translation (fr_FR): ufo3D - http://ufo-3d.fr and Thomas Jacobsen - http://123informatique.ch - with help from Françoise Lhermitte - http://www.ajwan.net
70
  * Italiano / Italian (it_IT): Francesco Carpana - f.carpana at gmail.com
71
+ * Nederlands / Dutch (nl_NL): Dennis Hunink - dennishunink at me.com and Hans van der Vlist - hansvandervlist at gmail.com
72
+ * Norwegian / Bokmål (nb_NO): Axel Magnus Gaasø, Tommy (Flytende.no) and Oddvar Skrebergene
73
  * Polski / Polish (pl_PL): Bartosz Kaczmarek - barth.kaczmarek at gmail.com
74
  * Português / Portuguese (Portugal) (pt_PT): Pedro Mendonça
75
  * Português / Portuguese (Brazilian) (pt_BR): Lucien Raven (lucienraven at yahoo.com.br) and Tom Fonseca (tomfonseca at gmail.com)
79
  * Tagalog (tl): Kristen Macasero / Mads Phikamphon - http://www.findhold.dk
80
  * Turk / Turkish (tr_TR): Various translators
81
 
82
+ And thanks to these (need updating or new translators) - varying from 50% down to 1% translated:
83
 
 
 
84
  * Chinese (zh_CN): K L Wang - http://klwang.info
85
+ * Magyar / Hungarian (hu_HU): Szépe Viktor - http://www.szepe.net
86
+ * Français / French translation (fr_FR)
87
+ * Hebrew (he_IL) : Tomer Nagar
88
+ * Bengali (bn_BD)
89
+ * Catalan (ca)
90
+ * Finnish (fi)
91
+ * Norwegian (Nynorsk)
92
 
93
  = Other support =
94
 
153
 
154
  The <a href="http://updraftplus.com/news/">UpdraftPlus backup blog</a> is the best place to learn in more detail about any important changes.
155
 
156
+ = 1.9.44 - 2014-12-13 =
157
+
158
+ * Add new incomplete translations (ready for the wordpress.org change to take translation availability into account when searching for plugins): Norwegian Bokmål, Norwegian Nynorsk, Finnish, Hebrew, Catalan, Vietnamese, Bengali
159
+ * FIX: Fix a failure to detect the progress properly for large backup sets, introduced in 1.9.40
160
+
161
  = 1.9.43 - 2014-12-11 =
162
  * FIX: Fix bug in 'lock admin' feature causing lock-outs even with the correct password
163
  * TWEAK: Site is put in maintenance mode whilst database restore takes place
1008
 
1009
 
1010
  == Upgrade Notice ==
1011
+ * 1.9.44 : New translations + fix a bug that could affect large backups on slow webservers.
restorer.php CHANGED
@@ -177,7 +177,7 @@ class Updraft_Restorer extends WP_Upgrader {
177
 
178
  if (!empty($this->ud_foreign)) {
179
  $this->ud_foreign_working_dir = $working_dir;
180
- # Zip containing an SQL file. We only know of one pattern.
181
  if ('db' === $type) {
182
  $basepack = basename($package, '.zip');
183
  if ($wp_filesystem->exists($working_dir.'/'.$basepack.'.sql')) {
@@ -1076,7 +1076,8 @@ class Updraft_Restorer extends WP_Upgrader {
1076
 
1077
  if (empty($plugins[$this->ud_foreign]['separatedb'])) {
1078
  $db_basename = apply_filters('updraftplus_foreign_separatedbname', false, $this->ud_foreign, $this->ud_backup_info, $working_dir_localpath);
1079
- } elseif (file_exists($working_dir_localpath.'/backup.db')) {
 
1080
  $db_basename = 'backup.db';
1081
  }
1082
  }
177
 
178
  if (!empty($this->ud_foreign)) {
179
  $this->ud_foreign_working_dir = $working_dir;
180
+ # Zip containing an SQL file. We try a default pattern.
181
  if ('db' === $type) {
182
  $basepack = basename($package, '.zip');
183
  if ($wp_filesystem->exists($working_dir.'/'.$basepack.'.sql')) {
1076
 
1077
  if (empty($plugins[$this->ud_foreign]['separatedb'])) {
1078
  $db_basename = apply_filters('updraftplus_foreign_separatedbname', false, $this->ud_foreign, $this->ud_backup_info, $working_dir_localpath);
1079
+ }
1080
+ if (!file_exists($working_dir_localpath.'/'.$db_basename) && file_exists($working_dir_localpath.'/backup.db')) {
1081
  $db_basename = 'backup.db';
1082
  }
1083
  }
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.43
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Text Domain: updraftplus
@@ -15,7 +15,7 @@ Author URI: http://updraftplus.com
15
  /*
16
  Portions copyright 2011-14 David Anderson
17
  Portions copyright 2010 Paul Kehrer
18
- Other portions copyright as indicated authors in the relevant files
19
 
20
  This program is free software; you can redistribute it and/or modify
21
  it under the terms of the GNU General Public License as published by
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.44
8
  Donate link: http://david.dw-perspective.org.uk/donate
9
  License: GPLv3 or later
10
  Text Domain: updraftplus
15
  /*
16
  Portions copyright 2011-14 David Anderson
17
  Portions copyright 2010 Paul Kehrer
18
+ Other portions copyright as indicated by authors in the relevant files
19
 
20
  This program is free software; you can redistribute it and/or modify
21
  it under the terms of the GNU General Public License as published by