All-in-One WP Migration - Version 3.5

Version Description

  • Exclude core plugin and extensions on export if they have custom names
Download this release

Release Info

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

Code changes from version 3.4 to 3.5

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: 3.4
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: 3.5
9
* Text Domain: all-in-one-wp-migration
10
* Domain Path: /languages
11
* Network: True
constants.php CHANGED
@@ -38,7 +38,7 @@ if ( function_exists( 'gethostname' ) && in_array( gethostname(), $local ) ) {
38
// ==================
39
// = Plugin Version =
40
// ==================
41
- define( 'AI1WM_VERSION', '3.4' );
42
43
// ===============
44
// = Plugin Name =
@@ -226,3 +226,66 @@ define( 'AI1WM_STORAGE_INDEX', AI1WM_STORAGE_PATH . DIRECTORY_SEPARATOR . 'index
226
// = Backups Index File =
227
// ======================
228
define( 'AI1WM_BACKUPS_INDEX', AI1WM_BACKUPS_PATH . DIRECTORY_SEPARATOR . 'index.php' );
38
// ==================
39
// = Plugin Version =
40
// ==================
41
+ define( 'AI1WM_VERSION', '3.5' );
42
43
// ===============
44
// = Plugin Name =
226
// = Backups Index File =
227
// ======================
228
define( 'AI1WM_BACKUPS_INDEX', AI1WM_BACKUPS_PATH . DIRECTORY_SEPARATOR . 'index.php' );
229
+
230
+ // ====================================
231
+ // = WP Migration Plugin Base Dir =
232
+ // ====================================
233
+ if ( defined( AI1WM_PLUGIN_BASENAME ) ) {
234
+ define( 'AI1WM_PLUGIN_BASEDIR', dirname( AI1WM_PLUGIN_BASENAME ) );
235
+ } else {
236
+ define( 'AI1WM_PLUGIN_BASEDIR', 'all-in-one-wp-migration' );
237
+ }
238
+
239
+ // ==============================
240
+ // = Dropbox Extension Base Dir =
241
+ // ==============================
242
+ if ( defined( AI1WMDE_PLUGIN_BASENAME ) ) {
243
+ define( 'AI1WMDE_PLUGIN_BASEDIR', dirname( AI1WMDE_PLUGIN_BASENAME ) );
244
+ } else {
245
+ define( 'AI1WMDE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-dropbox-extension' );
246
+ }
247
+
248
+ // ===================================
249
+ // = Google Drive Extension Base Dir =
250
+ // ===================================
251
+ if ( defined( AI1WMGE_PLUGIN_BASENAME ) ) {
252
+ define( 'AI1WMGE_PLUGIN_BASEDIR', dirname( AI1WMGE_PLUGIN_BASENAME ) );
253
+ } else {
254
+ define( 'AI1WMGE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-gdrive-extension' );
255
+ }
256
+
257
+ // ================================
258
+ // = Amazon S3 Extension Base Dir =
259
+ // ================================
260
+ if ( defined( AI1WMSE_PLUGIN_BASENAME ) ) {
261
+ define( 'AI1WMSE_PLUGIN_BASEDIR', dirname( AI1WMSE_PLUGIN_BASENAME ) );
262
+ } else {
263
+ define( 'AI1WMSE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-s3-extension' );
264
+ }
265
+
266
+ // ================================
267
+ // = Multisite Extension Base Dir =
268
+ // ================================
269
+ if ( defined( AI1WMME_PLUGIN_BASENAME ) ) {
270
+ define( 'AI1WMME_PLUGIN_BASEDIR', dirname( AI1WMME_PLUGIN_BASENAME ) );
271
+ } else {
272
+ define( 'AI1WMME_PLUGIN_BASEDIR', 'all-in-one-wp-migration-multisite-extension' );
273
+ }
274
+
275
+ // ================================
276
+ // = Unlimited Extension Base Dir =
277
+ // ================================
278
+ if ( defined( AI1WMUE_PLUGIN_BASENAME ) ) {
279
+ define( 'AI1WMUE_PLUGIN_BASEDIR', dirname( AI1WMUE_PLUGIN_BASENAME ) );
280
+ } else {
281
+ define( 'AI1WMUE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-unlimited-extension' );
282
+ }
283
+
284
+ // ==========================
285
+ // = FTP Extension Base Dir =
286
+ // ==========================
287
+ if ( defined( AI1WMFE_PLUGIN_BASENAME ) ) {
288
+ define( 'AI1WMFE_PLUGIN_BASEDIR', dirname( AI1WMFE_PLUGIN_BASENAME ) );
289
+ } else {
290
+ define( 'AI1WMFE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-ftp-extension' );
291
+ }
lib/model/class-ai1wm-export-abstract.php CHANGED
@@ -108,13 +108,13 @@ abstract class Ai1wm_Export_Abstract {
108
$filters = array_merge( $filters, array( 'plugins' ) );
109
} else {
110
$filters = array_merge( $filters, array(
111
- 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration',
112
- 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-dropbox-extension',
113
- 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-gdrive-extension',
114
- 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-s3-extension',
115
- 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-multisite-extension',
116
- 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-unlimited-extension',
117
- 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-ftp-extension',
118
) );
119
}
120
108
$filters = array_merge( $filters, array( 'plugins' ) );
109
} else {
110
$filters = array_merge( $filters, array(
111
+ 'plugins' . DIRECTORY_SEPARATOR . AI1WM_PLUGIN_BASEDIR,
112
+ 'plugins' . DIRECTORY_SEPARATOR . AI1WMDE_PLUGIN_BASEDIR,
113
+ 'plugins' . DIRECTORY_SEPARATOR . AI1WMGE_PLUGIN_BASEDIR,
114
+ 'plugins' . DIRECTORY_SEPARATOR . AI1WMSE_PLUGIN_BASEDIR,
115
+ 'plugins' . DIRECTORY_SEPARATOR . AI1WMME_PLUGIN_BASEDIR,
116
+ 'plugins' . DIRECTORY_SEPARATOR . AI1WMUE_PLUGIN_BASEDIR,
117
+ 'plugins' . DIRECTORY_SEPARATOR . AI1WMFE_PLUGIN_BASEDIR,
118
) );
119
}
120
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: yani.iliev, bangelov, pimjitsawang
3
Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
4
Requires at least: 3.3
5
Tested up to: 4.2
6
- Stable tag: 3.4
7
License: GPLv2 or later
8
9
All-in-One WP Migration is the only tool that you will ever need to migrate a WordPress site.
@@ -57,6 +57,9 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
57
3. Plugin Menu
58
59
== Changelog ==
60
= 3.4 =
61
* Made export/import processes more reliable
62
* Allow the plugin to work with non-default name
3
Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
4
Requires at least: 3.3
5
Tested up to: 4.2
6
+ Stable tag: 3.5
7
License: GPLv2 or later
8
9
All-in-One WP Migration is the only tool that you will ever need to migrate a WordPress site.
57
3. Plugin Menu
58
59
== Changelog ==
60
+ = 3.5 =
61
+ * Exclude core plugin and extensions on export if they have custom names
62
+
63
= 3.4 =
64
* Made export/import processes more reliable
65
* Allow the plugin to work with non-default name