Backup Migration - Version 1.1.8

Version Description

  • Fixed issue with restoration due to bug in previous version
Download this release

Release Info

Developer iclyde
Plugin Icon wp plugin Backup Migration
Version 1.1.8
Comparing to
See all releases

Code changes from version 1.1.7 to 1.1.8

backup-backup.php CHANGED
@@ -7,7 +7,7 @@
7
  * Author URI: https://backupbliss.com/
8
  * Plugin URI: https://backupbliss.com
9
  * Text Domain: backup-backup
10
- * Version: 1.1.7
11
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
12
 
13
  // Exit on direct access
@@ -21,7 +21,7 @@
21
  define('BMI_DEBUG', false);
22
  }
23
  if (!defined('BMI_VERSION')) {
24
- define('BMI_VERSION', '1.1.7');
25
  }
26
  if (!defined('BMI_ROOT_DIR')) {
27
  define('BMI_ROOT_DIR', __DIR__);
7
  * Author URI: https://backupbliss.com/
8
  * Plugin URI: https://backupbliss.com
9
  * Text Domain: backup-backup
10
+ * Version: 1.1.8
11
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
12
 
13
  // Exit on direct access
21
  define('BMI_DEBUG', false);
22
  }
23
  if (!defined('BMI_VERSION')) {
24
+ define('BMI_VERSION', '1.1.8');
25
  }
26
  if (!defined('BMI_ROOT_DIR')) {
27
  define('BMI_ROOT_DIR', __DIR__);
includes/extracter/extract.php CHANGED
@@ -877,10 +877,22 @@
877
  // Get manifest
878
  $manifest = $this->getCurrentManifest(true);
879
 
880
- if (isset($manifest->version) && array_key_exists('version', $manifest)) {
881
- $this->migration->log(__('Backup Migration version used for that backup: ', 'backup-backup') . $manifest->version, 'INFO');
882
- } else {
 
 
 
 
 
 
 
883
  $this->migration->log(__('Backup was made with unknown version of Backup Migration plugin.', 'backup-backup'), 'INFO');
 
 
 
 
 
884
  }
885
 
886
  // Restore files
877
  // Get manifest
878
  $manifest = $this->getCurrentManifest(true);
879
 
880
+ try {
881
+
882
+ if (isset($manifest->version)) {
883
+ $this->migration->log(__('Backup Migration version used for that backup: ', 'backup-backup') . $manifest->version, 'INFO');
884
+ } else {
885
+ $this->migration->log(__('Backup was made with unknown version of Backup Migration plugin.', 'backup-backup'), 'INFO');
886
+ }
887
+
888
+ } catch (\Exception $e) {
889
+
890
  $this->migration->log(__('Backup was made with unknown version of Backup Migration plugin.', 'backup-backup'), 'INFO');
891
+
892
+ } catch (\Throwable $e) {
893
+
894
+ $this->migration->log(__('Backup was made with unknown version of Backup Migration plugin.', 'backup-backup'), 'INFO');
895
+
896
  }
897
 
898
  // Restore files
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Migrate
3
  Tags: Backup, Migration, Migrate, Backups, Restore, All In One, Duplicate, Clone, Import, Export, Transfer
4
  Requires at least: 4.6
5
  Tested up to: 5.9
6
- Stable tag: 1.1.7
7
  License: GPLv3
8
  Requires PHP: 5.6
9
 
@@ -118,6 +118,9 @@ Besides having the most intuitive interface and smoothest user experience, Backu
118
 
119
  == Changelog ==
120
 
 
 
 
121
  = 1.1.7 =
122
  * Tested up with WP Version 5.9 (up to beta 3)
123
  * Fixed restoration issues for Windows and Windows Server
@@ -318,8 +321,9 @@ Besides having the most intuitive interface and smoothest user experience, Backu
318
 
319
  == Upgrade Notice ==
320
 
321
- = 1.1.7 =
322
- What's new in 1.1.7?
 
323
  * Tested up with WP Version 5.9 (up to beta 3)
324
  * Fixed restoration issues for Windows and Windows Server
325
  * Fixed notifications via e-mail - now you can receive max 1 e-mail per day
3
  Tags: Backup, Migration, Migrate, Backups, Restore, All In One, Duplicate, Clone, Import, Export, Transfer
4
  Requires at least: 4.6
5
  Tested up to: 5.9
6
+ Stable tag: 1.1.8
7
  License: GPLv3
8
  Requires PHP: 5.6
9
 
118
 
119
  == Changelog ==
120
 
121
+ = 1.1.8 =
122
+ * Fixed issue with restoration due to bug in previous version
123
+
124
  = 1.1.7 =
125
  * Tested up with WP Version 5.9 (up to beta 3)
126
  * Fixed restoration issues for Windows and Windows Server
321
 
322
  == Upgrade Notice ==
323
 
324
+ = 1.1.8 =
325
+ What's new in 1.1.8?
326
+ * Fixed issue with restoration due to bug in previous version 1.1.7
327
  * Tested up with WP Version 5.9 (up to beta 3)
328
  * Fixed restoration issues for Windows and Windows Server
329
  * Fixed notifications via e-mail - now you can receive max 1 e-mail per day