All-in-One WP Migration - Version 7.6

Version Description

Added

  • Direct Extension
Download this release

Release Info

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

Code changes from version 7.5 to 7.6

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.5
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.6
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.5' );
39
40
// ===============
41
// = Plugin Name =
@@ -277,6 +277,11 @@ define( 'AI1WM_ACTIVE_STYLESHEET', 'stylesheet' );
277
// ===================
278
define( 'AI1WM_BACKUPS_LABELS', 'ai1wm_backups_labels' );
279
280
// ============
281
// = Cron Key =
282
// ============
@@ -541,6 +546,39 @@ if ( ! defined( 'AI1WMIE_PLUGIN_SHORT' ) ) {
541
define( 'AI1WMIE_PLUGIN_SHORT', 'digitalocean' );
542
}
543
544
// ==============================
545
// = Dropbox Extension Base Dir =
546
// ==============================
35
// ==================
36
// = Plugin Version =
37
// ==================
38
+ define( 'AI1WM_VERSION', '7.6' );
39
40
// ===============
41
// = Plugin Name =
277
// ===================
278
define( 'AI1WM_BACKUPS_LABELS', 'ai1wm_backups_labels' );
279
280
+ // ===============
281
+ // = Sites Links =
282
+ // ===============
283
+ define( 'AI1WM_SITES_LINKS', 'ai1wm_sites_links' );
284
+
285
// ============
286
// = Cron Key =
287
// ============
546
define( 'AI1WMIE_PLUGIN_SHORT', 'digitalocean' );
547
}
548
549
+ // =============================
550
+ // = Direct Extension Base Dir =
551
+ // =============================
552
+ if ( defined( 'AI1WMXE_PLUGIN_BASENAME' ) ) {
553
+ define( 'AI1WMXE_PLUGIN_BASEDIR', dirname( AI1WMXE_PLUGIN_BASENAME ) );
554
+ } else {
555
+ define( 'AI1WMXE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-direct-extension' );
556
+ }
557
+ // ==========================
558
+ // = Direct Extension Title =
559
+ // ==========================
560
+ if ( ! defined( 'AI1WMXE_PLUGIN_TITLE' ) ) {
561
+ define( 'AI1WMXE_PLUGIN_TITLE', 'Direct Extension' );
562
+ }
563
+ // ==========================
564
+ // = Direct Extension About =
565
+ // ==========================
566
+ if ( ! defined( 'AI1WMXE_PLUGIN_ABOUT' ) ) {
567
+ define( 'AI1WMXE_PLUGIN_ABOUT', 'https://servmask.com/products/direct-extension/about' );
568
+ }
569
+ // ========================
570
+ // = Direct Extension Key =
571
+ // ========================
572
+ if ( ! defined( 'AI1WMXE_PLUGIN_KEY' ) ) {
573
+ define( 'AI1WMXE_PLUGIN_KEY', 'ai1wmxe_plugin_key' );
574
+ }
575
+ // ==========================
576
+ // = Direct Extension Short =
577
+ // ==========================
578
+ if ( ! defined( 'AI1WMXE_PLUGIN_SHORT' ) ) {
579
+ define( 'AI1WMXE_PLUGIN_SHORT', 'direct' );
580
+ }
581
+
582
// ==============================
583
// = Dropbox Extension Base Dir =
584
// ==============================
functions.php CHANGED
@@ -712,6 +712,13 @@ function ai1wm_plugin_filters( $filters = array() ) {
712
$filters[] = 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-digitalocean-extension';
713
}
714
715
// Dropbox Extension
716
if ( defined( 'AI1WMDE_PLUGIN_BASENAME' ) ) {
717
$filters[] = 'plugins' . DIRECTORY_SEPARATOR . dirname( AI1WMDE_PLUGIN_BASENAME );
@@ -851,6 +858,11 @@ function ai1wm_active_servmask_plugins( $plugins = array() ) {
851
$plugins[] = AI1WMIE_PLUGIN_BASENAME;
852
}
853
854
// Dropbox Extension
855
if ( defined( 'AI1WMDE_PLUGIN_BASENAME' ) ) {
856
$plugins[] = AI1WMDE_PLUGIN_BASENAME;
712
$filters[] = 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-digitalocean-extension';
713
}
714
715
+ // Direct Extension
716
+ if ( defined( 'AI1WMXE_PLUGIN_BASENAME' ) ) {
717
+ $filters[] = 'plugins' . DIRECTORY_SEPARATOR . dirname( AI1WMXE_PLUGIN_BASENAME );
718
+ } else {
719
+ $filters[] = 'plugins' . DIRECTORY_SEPARATOR . 'all-in-one-wp-migration-direct-extension';
720
+ }
721
+
722
// Dropbox Extension
723
if ( defined( 'AI1WMDE_PLUGIN_BASENAME' ) ) {
724
$filters[] = 'plugins' . DIRECTORY_SEPARATOR . dirname( AI1WMDE_PLUGIN_BASENAME );
858
$plugins[] = AI1WMIE_PLUGIN_BASENAME;
859
}
860
861
+ // Direct Extension
862
+ if ( defined( 'AI1WMXE_PLUGIN_BASENAME' ) ) {
863
+ $plugins[] = AI1WMXE_PLUGIN_BASENAME;
864
+ }
865
+
866
// Dropbox Extension
867
if ( defined( 'AI1WMDE_PLUGIN_BASENAME' ) ) {
868
$plugins[] = AI1WMDE_PLUGIN_BASENAME;
lib/model/class-ai1wm-extensions.php CHANGED
@@ -89,6 +89,19 @@ class Ai1wm_Extensions {
89
);
90
}
91
92
// Add Dropbox Extension
93
if ( defined( 'AI1WMDE_PLUGIN_NAME' ) ) {
94
$extensions[ AI1WMDE_PLUGIN_NAME ] = array(
89
);
90
}
91
92
+ // Add Direct Extension
93
+ if ( defined( 'AI1WMXE_PLUGIN_NAME' ) ) {
94
+ $extensions[ AI1WMXE_PLUGIN_NAME ] = array(
95
+ 'key' => AI1WMXE_PLUGIN_KEY,
96
+ 'title' => AI1WMXE_PLUGIN_TITLE,
97
+ 'about' => AI1WMXE_PLUGIN_ABOUT,
98
+ 'basename' => AI1WMXE_PLUGIN_BASENAME,
99
+ 'version' => AI1WMXE_VERSION,
100
+ 'requires' => '1.0',
101
+ 'short' => AI1WMXE_PLUGIN_SHORT,
102
+ );
103
+ }
104
+
105
// Add Dropbox Extension
106
if ( defined( 'AI1WMDE_PLUGIN_NAME' ) ) {
107
$extensions[ AI1WMDE_PLUGIN_NAME ] = array(
lib/model/export/class-ai1wm-export-database.php CHANGED
@@ -137,7 +137,7 @@ class Ai1wm_Export_Database {
137
->set_exclude_table_prefixes( $exclude_table_prefixes );
138
139
// Exclude site options
140
- $mysql->set_table_where_clauses( ai1wm_table_prefix() . 'options', array( sprintf( "`option_name` NOT IN ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')", AI1WM_ACTIVE_PLUGINS, AI1WM_ACTIVE_TEMPLATE, AI1WM_ACTIVE_STYLESHEET, AI1WM_STATUS, AI1WM_SECRET_KEY, AI1WM_AUTH_USER, AI1WM_AUTH_PASSWORD, AI1WM_BACKUPS_LABELS ) ) );
141
142
// Replace table prefix on columns
143
$mysql->set_table_prefix_columns( ai1wm_table_prefix() . 'options', array( 'option_name' ) )
137
->set_exclude_table_prefixes( $exclude_table_prefixes );
138
139
// Exclude site options
140
+ $mysql->set_table_where_clauses( ai1wm_table_prefix() . 'options', array( sprintf( "`option_name` NOT IN ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')", AI1WM_ACTIVE_PLUGINS, AI1WM_ACTIVE_TEMPLATE, AI1WM_ACTIVE_STYLESHEET, AI1WM_STATUS, AI1WM_SECRET_KEY, AI1WM_AUTH_USER, AI1WM_AUTH_PASSWORD, AI1WM_BACKUPS_LABELS, AI1WM_SITES_LINKS ) ) );
141
142
// Replace table prefix on columns
143
$mysql->set_table_prefix_columns( ai1wm_table_prefix() . 'options', array( 'option_name' ) )
lib/model/import/class-ai1wm-import-database.php CHANGED
@@ -691,6 +691,9 @@ class Ai1wm_Import_Database {
691
// Get backups labels
692
$backups_labels = get_option( AI1WM_BACKUPS_LABELS, array() );
693
694
$old_table_prefixes = array();
695
$new_table_prefixes = array();
696
@@ -821,6 +824,9 @@ class Ai1wm_Import_Database {
821
// Set the new backups labels
822
update_option( AI1WM_BACKUPS_LABELS, $backups_labels );
823
824
return $params;
825
}
826
}
691
// Get backups labels
692
$backups_labels = get_option( AI1WM_BACKUPS_LABELS, array() );
693
694
+ // Get sites links
695
+ $sites_links = get_option( AI1WM_SITES_LINKS, array() );
696
+
697
$old_table_prefixes = array();
698
$new_table_prefixes = array();
699
824
// Set the new backups labels
825
update_option( AI1WM_BACKUPS_LABELS, $backups_labels );
826
827
+ // Set the new sites links
828
+ update_option( AI1WM_SITES_LINKS, $sites_links );
829
+
830
return $params;
831
}
832
}
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.2
6
Requires PHP: 5.2.17
7
- Stable tag: 7.5
8
License: GPLv2 or later
9
10
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
@@ -63,6 +63,7 @@ Mobile device compatible: All in One WP Plugin is the first plugin to offer true
63
* [pCloud](https://servmask.com/products/pcloud-extension)
64
* [WebDAV](https://servmask.com/products/webdav-extension)
65
* [S3 Client](https://servmask.com/products/s3-client-extension)
66
67
= Supported hosting providers =
68
**The plugin does not have any dependencies, making it compatible with all PHP hosting providers. We support a vast range of hosting providers. Some of the most popular include:**
@@ -108,6 +109,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.5 =
112
**Changed**
113
4
Requires at least: 3.3
5
Tested up to: 5.2
6
Requires PHP: 5.2.17
7
+ Stable tag: 7.6
8
License: GPLv2 or later
9
10
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
63
* [pCloud](https://servmask.com/products/pcloud-extension)
64
* [WebDAV](https://servmask.com/products/webdav-extension)
65
* [S3 Client](https://servmask.com/products/s3-client-extension)
66
+ * [Direct](https://servmask.com/products/direct-extension)
67
68
= Supported hosting providers =
69
**The plugin does not have any dependencies, making it compatible with all PHP hosting providers. We support a vast range of hosting providers. Some of the most popular include:**
109
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)
110
111
== Changelog ==
112
+ = 7.6 =
113
+ **Added**
114
+
115
+ * Direct Extension
116
+
117
= 7.5 =
118
**Changed**
119