All-in-One WP Migration - Version 7.42

Version Description

Added

  • Better support for WooCommerce plugin
Download this release

Release Info

Developer bangelov
Plugin Icon 128x128 All-in-One WP Migration
Version 7.42
Comparing to
See all releases

Code changes from version 7.41 to 7.42

all-in-one-wp-migration.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
6
  * Author: ServMask
7
  * Author URI: https://servmask.com/
8
- * Version: 7.41
9
  * Text Domain: all-in-one-wp-migration
10
  * Domain Path: /languages
11
  * Network: True
5
  * Description: Migration tool for all your blog data. Import or Export your blog content with a single click.
6
  * Author: ServMask
7
  * Author URI: https://servmask.com/
8
+ * Version: 7.42
9
  * Text Domain: all-in-one-wp-migration
10
  * Domain Path: /languages
11
  * Network: True
constants.php CHANGED
@@ -35,7 +35,7 @@ define( 'AI1WM_DEBUG', false );
35
  // ==================
36
  // = Plugin Version =
37
  // ==================
38
- define( 'AI1WM_VERSION', '7.41' );
39
 
40
  // ===============
41
  // = Plugin Name =
35
  // ==================
36
  // = Plugin Version =
37
  // ==================
38
+ define( 'AI1WM_VERSION', '7.42' );
39
 
40
  // ===============
41
  // = Plugin Name =
functions.php CHANGED
@@ -1392,6 +1392,22 @@ function ai1wm_elementor_cache_flush() {
1392
  delete_option( 'elementor-custom-breakpoints-files' );
1393
  }
1394
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1395
  /**
1396
  * Set URL scheme
1397
  *
1392
  delete_option( 'elementor-custom-breakpoints-files' );
1393
  }
1394
 
1395
+ /**
1396
+ * Set WooCommerce Force SSL checkout
1397
+ *
1398
+ * @param boolean $yes Force SSL checkout
1399
+ * @return void
1400
+ */
1401
+ function ai1wm_woocommerce_force_ssl( $yes = true ) {
1402
+ if ( get_option( 'woocommerce_force_ssl_checkout' ) ) {
1403
+ if ( $yes ) {
1404
+ update_option( 'woocommerce_force_ssl_checkout', 'yes' );
1405
+ } else {
1406
+ update_option( 'woocommerce_force_ssl_checkout', 'no' );
1407
+ }
1408
+ }
1409
+ }
1410
+
1411
  /**
1412
  * Set URL scheme
1413
  *
lib/model/class-ai1wm-extensions.php CHANGED
@@ -228,7 +228,7 @@ class Ai1wm_Extensions {
228
  'check' => AI1WMME_PLUGIN_CHECK,
229
  'basename' => AI1WMME_PLUGIN_BASENAME,
230
  'version' => AI1WMME_VERSION,
231
- 'requires' => '4.4',
232
  'short' => AI1WMME_PLUGIN_SHORT,
233
  );
234
  }
228
  'check' => AI1WMME_PLUGIN_CHECK,
229
  'basename' => AI1WMME_PLUGIN_BASENAME,
230
  'version' => AI1WMME_VERSION,
231
+ 'requires' => '4.9',
232
  'short' => AI1WMME_PLUGIN_SHORT,
233
  );
234
  }
lib/model/import/class-ai1wm-import-done.php CHANGED
@@ -60,6 +60,8 @@ class Ai1wm_Import_Done {
60
  ai1wm_discover_plugin_basename( 'force-https-littlebizzy/force-https.php' ),
61
  )
62
  );
 
 
63
  }
64
 
65
  // Deactivate WordPress plugins
@@ -164,6 +166,8 @@ class Ai1wm_Import_Done {
164
  ai1wm_discover_plugin_basename( 'force-https-littlebizzy/force-https.php' ),
165
  )
166
  );
 
 
167
  }
168
 
169
  // Deactivate WordPress plugins
@@ -271,6 +275,8 @@ class Ai1wm_Import_Done {
271
  ai1wm_discover_plugin_basename( 'force-https-littlebizzy/force-https.php' ),
272
  )
273
  );
 
 
274
  }
275
 
276
  // Deactivate WordPress plugins
60
  ai1wm_discover_plugin_basename( 'force-https-littlebizzy/force-https.php' ),
61
  )
62
  );
63
+
64
+ ai1wm_woocommerce_force_ssl( false );
65
  }
66
 
67
  // Deactivate WordPress plugins
166
  ai1wm_discover_plugin_basename( 'force-https-littlebizzy/force-https.php' ),
167
  )
168
  );
169
+
170
+ ai1wm_woocommerce_force_ssl( false );
171
  }
172
 
173
  // Deactivate WordPress plugins
275
  ai1wm_discover_plugin_basename( 'force-https-littlebizzy/force-https.php' ),
276
  )
277
  );
278
+
279
+ ai1wm_woocommerce_force_ssl( false );
280
  }
281
 
282
  // Deactivate WordPress plugins
lib/view/assets/javascript/backups.min.js CHANGED
@@ -1470,7 +1470,10 @@ Modal.prototype.render = function (params) {
1470
 
1471
  Modal.prototype.destroy = function () {
1472
  this.modal.hide();
1473
- this.overlay.hide();
 
 
 
1474
  };
1475
 
1476
  module.exports = Modal;
@@ -1781,8 +1784,7 @@ jQuery(document).ready(function ($) {
1781
  }
1782
 
1783
  e.preventDefault();
1784
- });
1785
- var model = new Import(); // Restore from file
1786
 
1787
  $('#ai1wm-backups-list').on('click', '.ai1wm-backup-restore', function (e) {
1788
  e.preventDefault();
@@ -1875,7 +1877,7 @@ jQuery(document).ready(function ($) {
1875
  });
1876
  }
1877
  });
1878
- model = new Export();
1879
  $('#ai1wm-create-backup').on('click', function (e) {
1880
  var storage = Ai1wm.Util.random(12);
1881
  var options = Ai1wm.Util.form('#ai1wm-export-form').concat({
1470
 
1471
  Modal.prototype.destroy = function () {
1472
  this.modal.hide();
1473
+ this.overlay.hide(); // Reset progress bar
1474
+
1475
+ this.progress.progressBarMeter = null;
1476
+ this.progress.progressBarPercent = null;
1477
  };
1478
 
1479
  module.exports = Modal;
1784
  }
1785
 
1786
  e.preventDefault();
1787
+ }); // Restore from file
 
1788
 
1789
  $('#ai1wm-backups-list').on('click', '.ai1wm-backup-restore', function (e) {
1790
  e.preventDefault();
1877
  });
1878
  }
1879
  });
1880
+ var model = new Export();
1881
  $('#ai1wm-create-backup').on('click', function (e) {
1882
  var storage = Ai1wm.Util.random(12);
1883
  var options = Ai1wm.Util.form('#ai1wm-export-form').concat({
lib/view/assets/javascript/import.min.js CHANGED
@@ -903,7 +903,10 @@ Modal.prototype.render = function (params) {
903
 
904
  Modal.prototype.destroy = function () {
905
  this.modal.hide();
906
- this.overlay.hide();
 
 
 
907
  };
908
 
909
  module.exports = Modal;
903
 
904
  Modal.prototype.destroy = function () {
905
  this.modal.hide();
906
+ this.overlay.hide(); // Reset progress bar
907
+
908
+ this.progress.progressBarMeter = null;
909
+ this.progress.progressBarPercent = null;
910
  };
911
 
912
  module.exports = Modal;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: move, transfer, copy, migrate, backup, clone, restore, db migration, wordp
4
  Requires at least: 3.3
5
  Tested up to: 5.7
6
  Requires PHP: 5.2.17
7
- Stable tag: 7.41
8
  License: GPLv2 or later
9
 
10
  Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
@@ -108,6 +108,11 @@ Alternatively you can download the plugin using the download button on this page
108
  All-in-One WP Migration **asks for your consent** to collect **requester's email address** when filling plugin's contact form. [GDPR Compliant Privacy Policy](https://www.iubenda.com/privacy-policy/946881)
109
 
110
  == Changelog ==
 
 
 
 
 
111
  = 7.41 =
112
  **Added**
113
 
4
  Requires at least: 3.3
5
  Tested up to: 5.7
6
  Requires PHP: 5.2.17
7
+ Stable tag: 7.42
8
  License: GPLv2 or later
9
 
10
  Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
108
  All-in-One WP Migration **asks for your consent** to collect **requester's email address** when filling plugin's contact form. [GDPR Compliant Privacy Policy](https://www.iubenda.com/privacy-policy/946881)
109
 
110
  == Changelog ==
111
+ = 7.42 =
112
+ **Added**
113
+
114
+ * Better support for WooCommerce plugin
115
+
116
  = 7.41 =
117
  **Added**
118