All-in-One WP Migration - Version 5.45

Version Description

  • Fix an issue with blogs.dir path replacement
Download this release

Release Info

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

Code changes from version 5.44 to 5.45

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: 5.44
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: 5.45
9
* Text Domain: all-in-one-wp-migration
10
* Domain Path: /languages
11
* Network: True
constants.php CHANGED
@@ -39,7 +39,7 @@ if ( function_exists( 'gethostname' ) && in_array( gethostname(), $local ) ) {
39
// ==================
40
// = Plugin Version =
41
// ==================
42
- define( 'AI1WM_VERSION', '5.44' );
43
44
// ===============
45
// = Plugin Name =
39
// ==================
40
// = Plugin Version =
41
// ==================
42
+ define( 'AI1WM_VERSION', '5.45' );
43
44
// ===============
45
// = Plugin Name =
lib/model/import/class-ai1wm-import-database.php CHANGED
@@ -71,13 +71,13 @@ class Ai1wm_Import_Database {
71
// Get blogs dir Upload Path
72
if ( ! in_array( sprintf( "'%s'", trim( ai1wm_blogsdir_path( $blog->Old->Id ), '/' ) ), $old_values ) ) {
73
$old_values[] = sprintf( "'%s'", trim( ai1wm_blogsdir_path( $blog->Old->Id ), '/' ) );
74
- $new_values[] = sprintf( "'%s'", get_blog_option( $blog->New->Id, 'upload_path' ) );
75
}
76
77
// Get sites Upload Path
78
if ( ! in_array( sprintf( "'%s'", trim( ai1wm_uploads_path( $blog->Old->Id ), '/' ) ), $old_values ) ) {
79
$old_values[] = sprintf( "'%s'", trim( ai1wm_uploads_path( $blog->Old->Id ), '/' ) );
80
- $new_values[] = sprintf( "'%s'", get_blog_option( $blog->New->Id, 'upload_path' ) );
81
}
82
83
// Handle old and new sites dir style
71
// Get blogs dir Upload Path
72
if ( ! in_array( sprintf( "'%s'", trim( ai1wm_blogsdir_path( $blog->Old->Id ), '/' ) ), $old_values ) ) {
73
$old_values[] = sprintf( "'%s'", trim( ai1wm_blogsdir_path( $blog->Old->Id ), '/' ) );
74
+ $new_values[] = sprintf( "'%s'", get_option( 'upload_path' ) );
75
}
76
77
// Get sites Upload Path
78
if ( ! in_array( sprintf( "'%s'", trim( ai1wm_uploads_path( $blog->Old->Id ), '/' ) ), $old_values ) ) {
79
$old_values[] = sprintf( "'%s'", trim( ai1wm_uploads_path( $blog->Old->Id ), '/' ) );
80
+ $new_values[] = sprintf( "'%s'", get_option( 'upload_path' ) );
81
}
82
83
// Handle old and new sites dir style
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.5
6
- Stable tag: 5.44
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.
@@ -75,6 +75,9 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
75
3. Plugin Menu
76
77
== Changelog ==
78
= 5.44 =
79
* Add "Do not replace email domain" option in advanced settings
80
* Add "ai1wm_exclude_content_from_export" WordPress hook on export
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.5
6
+ Stable tag: 5.45
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.
75
3. Plugin Menu
76
77
== Changelog ==
78
+ = 5.45 =
79
+ * Fix an issue with blogs.dir path replacement
80
+
81
= 5.44 =
82
* Add "Do not replace email domain" option in advanced settings
83
* Add "ai1wm_exclude_content_from_export" WordPress hook on export