All-in-One WP Migration - Version 7.54

Version Description

Added

  • Improved YouTube and Twitter buttons
Download this release

Release Info

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

Code changes from version 7.53 to 7.54

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.53
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.54
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.53' );
39
 
40
  // ===============
41
  // = Plugin Name =
35
  // ==================
36
  // = Plugin Version =
37
  // ==================
38
+ define( 'AI1WM_VERSION', '7.54' );
39
 
40
  // ===============
41
  // = Plugin Name =
lib/model/export/class-ai1wm-export-config.php CHANGED
@@ -135,7 +135,12 @@ class Ai1wm_Export_Config {
135
  $config['WordPress'] = array( 'Version' => $wp_version, 'Content' => WP_CONTENT_DIR, 'Plugins' => ai1wm_get_plugins_dir(), 'Themes' => ai1wm_get_themes_dirs(), 'Uploads' => ai1wm_get_uploads_dir(), 'UploadsURL' => ai1wm_get_uploads_url() );
136
 
137
  // Set database version
138
- $config['Database'] = array( 'Version' => $mysql->version(), 'Charset' => DB_CHARSET, 'Collate' => DB_COLLATE, 'Prefix' => $table_prefix );
 
 
 
 
 
139
 
140
  // Set PHP version
141
  $config['PHP'] = array( 'Version' => PHP_VERSION, 'System' => PHP_OS, 'Integer' => PHP_INT_SIZE );
135
  $config['WordPress'] = array( 'Version' => $wp_version, 'Content' => WP_CONTENT_DIR, 'Plugins' => ai1wm_get_plugins_dir(), 'Themes' => ai1wm_get_themes_dirs(), 'Uploads' => ai1wm_get_uploads_dir(), 'UploadsURL' => ai1wm_get_uploads_url() );
136
 
137
  // Set database version
138
+ $config['Database'] = array(
139
+ 'Version' => $mysql->version(),
140
+ 'Charset' => defined( 'DB_CHARSET' ) ? DB_CHARSET : 'undefined',
141
+ 'Collate' => defined( 'DB_COLLATE' ) ? DB_COLLATE : 'undefined',
142
+ 'Prefix' => $table_prefix,
143
+ );
144
 
145
  // Set PHP version
146
  $config['PHP'] = array( 'Version' => PHP_VERSION, 'System' => PHP_OS, 'Integer' => PHP_INT_SIZE );
lib/model/export/class-ai1wm-export-download.php CHANGED
@@ -77,6 +77,8 @@ class Ai1wm_Export_Download {
77
  );
78
  }
79
 
 
 
80
  return $params;
81
  }
82
  }
77
  );
78
  }
79
 
80
+ do_action( 'ai1wm_status_export_done', $params );
81
+
82
  return $params;
83
  }
84
  }
lib/model/import/class-ai1wm-import-done.php CHANGED
@@ -364,6 +364,8 @@ class Ai1wm_Import_Done {
364
  Ai1wm_Status::done( __( 'Your site has been imported successfully!', AI1WM_PLUGIN_NAME ), Ai1wm_Template::get_content( 'import/done', array( 'should_reset_permalinks' => $should_reset_permalinks ) ) );
365
  }
366
 
 
 
367
  return $params;
368
  }
369
  }
364
  Ai1wm_Status::done( __( 'Your site has been imported successfully!', AI1WM_PLUGIN_NAME ), Ai1wm_Template::get_content( 'import/done', array( 'should_reset_permalinks' => $should_reset_permalinks ) ) );
365
  }
366
 
367
+ do_action( 'ai1wm_status_import_done', $params );
368
+
369
  return $params;
370
  }
371
  }
lib/view/common/share-buttons.php CHANGED
@@ -30,20 +30,24 @@ if ( ! defined( 'ABSPATH' ) ) {
30
 
31
  <div id="fb-root"></div>
32
  <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v9.0&appId=597242117012725" nonce="xH3McWON"></script>
33
- <script src="https://apis.google.com/js/platform.js"></script>
34
  <script>
35
- !function (d,s,id) {
36
- var js,
37
- fjs = d.getElementsByTagName(s)[0],
38
- p = /^http:/.test(d.location) ? 'http' : 'https';
 
 
 
 
39
 
40
- if (!d.getElementById(id)) {
41
- js = d.createElement(s);
42
- js.id = id;
43
- js.src = p+'://platform.twitter.com/widgets.js';
44
- fjs.parentNode.insertBefore(js, fjs);
45
- }
46
- }(document, 'script', 'twitter-wjs');
47
  </script>
48
 
49
  <div class="ai1wm-share-button-container">
30
 
31
  <div id="fb-root"></div>
32
  <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v9.0&appId=597242117012725" nonce="xH3McWON"></script>
33
+ <script async defer src="https://apis.google.com/js/platform.js"></script>
34
  <script>
35
+ window.twttr = (function(d, s, id) {
36
+ var js, fjs = d.getElementsByTagName(s)[0],
37
+ t = window.twttr || {};
38
+ if (d.getElementById(id)) return t;
39
+ js = d.createElement(s);
40
+ js.id = id;
41
+ js.src = "https://platform.twitter.com/widgets.js";
42
+ fjs.parentNode.insertBefore(js, fjs);
43
 
44
+ t._e = [];
45
+ t.ready = function(f) {
46
+ t._e.push(f);
47
+ };
48
+
49
+ return t;
50
+ }(document, "script", "twitter-wjs"));
51
  </script>
52
 
53
  <div class="ai1wm-share-button-container">
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.9
6
  Requires PHP: 5.2.17
7
- Stable tag: 7.53
8
  License: GPLv2 or later
9
 
10
  Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
@@ -89,6 +89,11 @@ All-in-One WP Migration is in full compliance with General Data Protection Regul
89
  See our [GDPR Compliant Privacy Policy here](https://www.iubenda.com/privacy-policy/946881).
90
 
91
  == Changelog ==
 
 
 
 
 
92
  = 7.53 =
93
  **Added**
94
 
4
  Requires at least: 3.3
5
  Tested up to: 5.9
6
  Requires PHP: 5.2.17
7
+ Stable tag: 7.54
8
  License: GPLv2 or later
9
 
10
  Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
89
  See our [GDPR Compliant Privacy Policy here](https://www.iubenda.com/privacy-policy/946881).
90
 
91
  == Changelog ==
92
+ = 7.54 =
93
+ **Added**
94
+
95
+ * Improved YouTube and Twitter buttons
96
+
97
  = 7.53 =
98
  **Added**
99