Version Description
Fixed
- Improvements to the export and import process
Download this release
Release Info
Developer | bangelov |
Plugin | All-in-One WP Migration |
Version | 6.73 |
Comparing to | |
See all releases |
Code changes from version 6.72 to 6.73
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: 6.
|
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: 6.73
|
9 |
* Text Domain: all-in-one-wp-migration
|
10 |
* Domain Path: /languages
|
11 |
* Network: True
|
constants.php
CHANGED
@@ -31,7 +31,7 @@ define( 'AI1WM_DEBUG', false );
|
|
31 |
// ==================
|
32 |
// = Plugin Version =
|
33 |
// ==================
|
34 |
-
define( 'AI1WM_VERSION', '6.
|
35 |
|
36 |
// ===============
|
37 |
// = Plugin Name =
|
31 |
// ==================
|
32 |
// = Plugin Version =
|
33 |
// ==================
|
34 |
+
define( 'AI1WM_VERSION', '6.73' );
|
35 |
|
36 |
// ===============
|
37 |
// = Plugin Name =
|
lib/model/import/class-ai1wm-import-done.php
CHANGED
@@ -58,7 +58,10 @@ class Ai1wm_Import_Done {
|
|
58 |
ai1wm_discover_plugin_basename( 'invisible-recaptcha/invisible-recaptcha.php' ),
|
59 |
ai1wm_discover_plugin_basename( 'wps-hide-login/wps-hide-login.php' ),
|
60 |
ai1wm_discover_plugin_basename( 'hide-my-wp/index.php' ),
|
|
|
61 |
ai1wm_discover_plugin_basename( 'mycustomwidget/my_custom_widget.php' ),
|
|
|
|
|
62 |
) );
|
63 |
|
64 |
// Deactivate Jetpack modules
|
@@ -111,7 +114,10 @@ class Ai1wm_Import_Done {
|
|
111 |
ai1wm_discover_plugin_basename( 'invisible-recaptcha/invisible-recaptcha.php' ),
|
112 |
ai1wm_discover_plugin_basename( 'wps-hide-login/wps-hide-login.php' ),
|
113 |
ai1wm_discover_plugin_basename( 'hide-my-wp/index.php' ),
|
|
|
114 |
ai1wm_discover_plugin_basename( 'mycustomwidget/my_custom_widget.php' ),
|
|
|
|
|
115 |
) );
|
116 |
|
117 |
// Deactivate Jetpack modules
|
@@ -166,7 +172,10 @@ class Ai1wm_Import_Done {
|
|
166 |
ai1wm_discover_plugin_basename( 'invisible-recaptcha/invisible-recaptcha.php' ),
|
167 |
ai1wm_discover_plugin_basename( 'wps-hide-login/wps-hide-login.php' ),
|
168 |
ai1wm_discover_plugin_basename( 'hide-my-wp/index.php' ),
|
|
|
169 |
ai1wm_discover_plugin_basename( 'mycustomwidget/my_custom_widget.php' ),
|
|
|
|
|
170 |
) );
|
171 |
|
172 |
// Deactivate Jetpack modules
|
58 |
ai1wm_discover_plugin_basename( 'invisible-recaptcha/invisible-recaptcha.php' ),
|
59 |
ai1wm_discover_plugin_basename( 'wps-hide-login/wps-hide-login.php' ),
|
60 |
ai1wm_discover_plugin_basename( 'hide-my-wp/index.php' ),
|
61 |
+
ai1wm_discover_plugin_basename( 'hide-my-wordpress/index.php' ),
|
62 |
ai1wm_discover_plugin_basename( 'mycustomwidget/my_custom_widget.php' ),
|
63 |
+
ai1wm_discover_plugin_basename( 'lockdown-wp-admin/lockdown-wp-admin.php' ),
|
64 |
+
ai1wm_discover_plugin_basename( 'rename-wp-login/rename-wp-login.php' ),
|
65 |
) );
|
66 |
|
67 |
// Deactivate Jetpack modules
|
114 |
ai1wm_discover_plugin_basename( 'invisible-recaptcha/invisible-recaptcha.php' ),
|
115 |
ai1wm_discover_plugin_basename( 'wps-hide-login/wps-hide-login.php' ),
|
116 |
ai1wm_discover_plugin_basename( 'hide-my-wp/index.php' ),
|
117 |
+
ai1wm_discover_plugin_basename( 'hide-my-wordpress/index.php' ),
|
118 |
ai1wm_discover_plugin_basename( 'mycustomwidget/my_custom_widget.php' ),
|
119 |
+
ai1wm_discover_plugin_basename( 'lockdown-wp-admin/lockdown-wp-admin.php' ),
|
120 |
+
ai1wm_discover_plugin_basename( 'rename-wp-login/rename-wp-login.php' ),
|
121 |
) );
|
122 |
|
123 |
// Deactivate Jetpack modules
|
172 |
ai1wm_discover_plugin_basename( 'invisible-recaptcha/invisible-recaptcha.php' ),
|
173 |
ai1wm_discover_plugin_basename( 'wps-hide-login/wps-hide-login.php' ),
|
174 |
ai1wm_discover_plugin_basename( 'hide-my-wp/index.php' ),
|
175 |
+
ai1wm_discover_plugin_basename( 'hide-my-wordpress/index.php' ),
|
176 |
ai1wm_discover_plugin_basename( 'mycustomwidget/my_custom_widget.php' ),
|
177 |
+
ai1wm_discover_plugin_basename( 'lockdown-wp-admin/lockdown-wp-admin.php' ),
|
178 |
+
ai1wm_discover_plugin_basename( 'rename-wp-login/rename-wp-login.php' ),
|
179 |
) );
|
180 |
|
181 |
// Deactivate Jetpack modules
|
lib/vendor/servmask/command/class-ai1wm-wp-cli-command.php
CHANGED
@@ -87,6 +87,26 @@ if ( class_exists( 'WP_CLI_Command' ) ) {
|
|
87 |
WP_CLI::error( __( 'WPI CLI is not supported in Multisite mode. Please use web interface to create a backup.', AI1WM_PLUGIN_NAME ) );
|
88 |
}
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
$params = array();
|
91 |
if ( isset( $assoc_args['list'] ) ) {
|
92 |
$backups = new cli\Table;
|
@@ -200,6 +220,16 @@ if ( class_exists( 'WP_CLI_Command' ) ) {
|
|
200 |
WP_CLI::error( __( 'WPI CLI is not supported in Multisite mode. Please use web interface to restore a backup.', AI1WM_PLUGIN_NAME ) );
|
201 |
}
|
202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
$params = array();
|
204 |
if ( isset( $args[0] ) && is_file( ai1wm_backup_path( array( 'archive' => $args[0] ) ) ) ) {
|
205 |
$params = array(
|
87 |
WP_CLI::error( __( 'WPI CLI is not supported in Multisite mode. Please use web interface to create a backup.', AI1WM_PLUGIN_NAME ) );
|
88 |
}
|
89 |
|
90 |
+
if ( ! is_dir( AI1WM_STORAGE_PATH ) ) {
|
91 |
+
if ( ! mkdir( AI1WM_STORAGE_PATH ) ) {
|
92 |
+
WP_CLI::error_multi_line( array(
|
93 |
+
sprintf( __( 'All in One WP Migration is not able to create <strong>%s</strong> folder.', AI1WM_PLUGIN_NAME ), AI1WM_STORAGE_PATH ),
|
94 |
+
__( 'You will need to create this folder and grant it read/write/execute permissions (0777) for the All in One WP Migration plugin to function properly.', AI1WM_PLUGIN_NAME ),
|
95 |
+
) );
|
96 |
+
exit;
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
if ( ! is_dir( AI1WM_BACKUPS_PATH ) ) {
|
101 |
+
if ( ! mkdir( AI1WM_BACKUPS_PATH ) ) {
|
102 |
+
WP_CLI::error_multi_line( array(
|
103 |
+
sprintf( __( 'All in One WP Migration is not able to create <strong>%s</strong> folder.', AI1WM_PLUGIN_NAME ), AI1WM_BACKUPS_PATH ),
|
104 |
+
__( 'You will need to create this folder and grant it read/write/execute permissions (0777) for the All in One WP Migration plugin to function properly.', AI1WM_PLUGIN_NAME ),
|
105 |
+
) );
|
106 |
+
exit;
|
107 |
+
}
|
108 |
+
}
|
109 |
+
|
110 |
$params = array();
|
111 |
if ( isset( $assoc_args['list'] ) ) {
|
112 |
$backups = new cli\Table;
|
220 |
WP_CLI::error( __( 'WPI CLI is not supported in Multisite mode. Please use web interface to restore a backup.', AI1WM_PLUGIN_NAME ) );
|
221 |
}
|
222 |
|
223 |
+
if ( ! is_dir( AI1WM_STORAGE_PATH ) ) {
|
224 |
+
if ( ! mkdir( AI1WM_STORAGE_PATH ) ) {
|
225 |
+
WP_CLI::error_multi_line( array(
|
226 |
+
sprintf( __( 'All in One WP Migration is not able to create <strong>%s</strong> folder.', AI1WM_PLUGIN_NAME ), AI1WM_STORAGE_PATH ),
|
227 |
+
__( 'You will need to create this folder and grant it read/write/execute permissions (0777) for the All in One WP Migration plugin to function properly.', AI1WM_PLUGIN_NAME ),
|
228 |
+
) );
|
229 |
+
exit;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
|
233 |
$params = array();
|
234 |
if ( isset( $args[0] ) && is_file( ai1wm_backup_path( array( 'archive' => $args[0] ) ) ) ) {
|
235 |
$params = array(
|
lib/vendor/servmask/database/class-ai1wm-database.php
CHANGED
@@ -499,7 +499,7 @@ abstract class Ai1wm_Database {
|
|
499 |
$tables = $this->get_tables();
|
500 |
|
501 |
// Export tables
|
502 |
-
for ( ; $table_index < count( $tables );
|
503 |
|
504 |
// Get table name
|
505 |
$table_name = $tables[ $table_index ];
|
@@ -626,7 +626,7 @@ abstract class Ai1wm_Database {
|
|
626 |
// Write insert statement
|
627 |
ai1wm_write( $file_handler, $table_insert );
|
628 |
|
629 |
-
// Set current table
|
630 |
$table_offset++;
|
631 |
|
632 |
// Write end of transaction
|
@@ -641,6 +641,9 @@ abstract class Ai1wm_Database {
|
|
641 |
ai1wm_write( $file_handler, "COMMIT;\n" );
|
642 |
}
|
643 |
|
|
|
|
|
|
|
644 |
// Set current table offset
|
645 |
$table_offset = 0;
|
646 |
}
|
499 |
$tables = $this->get_tables();
|
500 |
|
501 |
// Export tables
|
502 |
+
for ( ; $table_index < count( $tables ); ) {
|
503 |
|
504 |
// Get table name
|
505 |
$table_name = $tables[ $table_index ];
|
626 |
// Write insert statement
|
627 |
ai1wm_write( $file_handler, $table_insert );
|
628 |
|
629 |
+
// Set current table offset
|
630 |
$table_offset++;
|
631 |
|
632 |
// Write end of transaction
|
641 |
ai1wm_write( $file_handler, "COMMIT;\n" );
|
642 |
}
|
643 |
|
644 |
+
// Set curent table index
|
645 |
+
$table_index++;
|
646 |
+
|
647 |
// Set current table offset
|
648 |
$table_offset = 0;
|
649 |
}
|
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: 4.9
|
6 |
Requires PHP: 5.2.17
|
7 |
-
Stable tag: 6.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
@@ -103,6 +103,11 @@ Alternatively you can download the plugin using the download button on this page
|
|
103 |
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)
|
104 |
|
105 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
106 |
= 6.72 =
|
107 |
**Added**
|
108 |
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.2.17
|
7 |
+
Stable tag: 6.73
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
103 |
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)
|
104 |
|
105 |
== Changelog ==
|
106 |
+
= 6.73 =
|
107 |
+
**Fixed**
|
108 |
+
|
109 |
+
* Improvements to the export and import process
|
110 |
+
|
111 |
= 6.72 =
|
112 |
**Added**
|
113 |
|