Version Description
Added
- Support for Avada Fusion Builder
Download this release
Release Info
Developer | bangelov |
Plugin | All-in-One WP Migration |
Version | 7.35 |
Comparing to | |
See all releases |
Code changes from version 7.34 to 7.35
- all-in-one-wp-migration.php +1 -1
- constants.php +1 -1
- lib/model/import/class-ai1wm-import-done.php +3 -1
- lib/vendor/servmask/database/class-ai1wm-database.php +24 -16
- lib/view/import/avada.php +41 -0
- readme.txt +6 -1
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.
|
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.35
|
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.
|
39 |
|
40 |
// ===============
|
41 |
// = Plugin Name =
|
35 |
// ==================
|
36 |
// = Plugin Version =
|
37 |
// ==================
|
38 |
+
define( 'AI1WM_VERSION', '7.35' );
|
39 |
|
40 |
// ===============
|
41 |
// = Plugin Name =
|
lib/model/import/class-ai1wm-import-done.php
CHANGED
@@ -340,7 +340,9 @@ class Ai1wm_Import_Done {
|
|
340 |
}
|
341 |
|
342 |
// Set progress
|
343 |
-
if ( ai1wm_validate_plugin_basename( '
|
|
|
|
|
344 |
Ai1wm_Status::done( __( 'Your site has been imported successfully!', AI1WM_PLUGIN_NAME ), Ai1wm_Template::get_content( 'import/oxygen' ) );
|
345 |
} else {
|
346 |
Ai1wm_Status::done( __( 'Your site has been imported successfully!', AI1WM_PLUGIN_NAME ), Ai1wm_Template::get_content( 'import/done' ) );
|
340 |
}
|
341 |
|
342 |
// Set progress
|
343 |
+
if ( ai1wm_validate_plugin_basename( 'fusion-builder/fusion-builder.php' ) ) {
|
344 |
+
Ai1wm_Status::done( __( 'Your site has been imported successfully!', AI1WM_PLUGIN_NAME ), Ai1wm_Template::get_content( 'import/avada' ) );
|
345 |
+
} elseif ( ai1wm_validate_plugin_basename( 'oxygen/functions.php' ) ) {
|
346 |
Ai1wm_Status::done( __( 'Your site has been imported successfully!', AI1WM_PLUGIN_NAME ), Ai1wm_Template::get_content( 'import/oxygen' ) );
|
347 |
} else {
|
348 |
Ai1wm_Status::done( __( 'Your site has been imported successfully!', AI1WM_PLUGIN_NAME ), Ai1wm_Template::get_content( 'import/done' ) );
|
lib/vendor/servmask/database/class-ai1wm-database.php
CHANGED
@@ -36,12 +36,26 @@ abstract class Ai1wm_Database {
|
|
36 |
*/
|
37 |
protected $wpdb = null;
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
/**
|
40 |
* WordPress database tables
|
41 |
*
|
42 |
* @var array
|
43 |
*/
|
44 |
-
protected $tables =
|
45 |
|
46 |
/**
|
47 |
* Old table prefixes
|
@@ -572,10 +586,7 @@ abstract class Ai1wm_Database {
|
|
572 |
* @return array
|
573 |
*/
|
574 |
protected function get_views() {
|
575 |
-
|
576 |
-
|
577 |
-
// Get views
|
578 |
-
if ( is_null( $views ) ) {
|
579 |
$where_query = array();
|
580 |
|
581 |
// Get lower case table names
|
@@ -602,13 +613,13 @@ abstract class Ai1wm_Database {
|
|
602 |
$where_query[] = 1;
|
603 |
}
|
604 |
|
605 |
-
$views = array();
|
606 |
|
607 |
// Loop over views
|
608 |
$result = $this->query( sprintf( "SHOW FULL TABLES FROM `%s` WHERE `Table_type` = 'VIEW' AND (%s)", $this->wpdb->dbname, implode( ' OR ', $where_query ) ) );
|
609 |
while ( $row = $this->fetch_row( $result ) ) {
|
610 |
if ( isset( $row[0] ) ) {
|
611 |
-
$views[] = $row[0];
|
612 |
}
|
613 |
}
|
614 |
|
@@ -616,7 +627,7 @@ abstract class Ai1wm_Database {
|
|
616 |
$this->free_result( $result );
|
617 |
}
|
618 |
|
619 |
-
return $views;
|
620 |
}
|
621 |
|
622 |
/**
|
@@ -625,10 +636,7 @@ abstract class Ai1wm_Database {
|
|
625 |
* @return array
|
626 |
*/
|
627 |
protected function get_base_tables() {
|
628 |
-
|
629 |
-
|
630 |
-
// Get base tables
|
631 |
-
if ( is_null( $base_tables ) ) {
|
632 |
$where_query = array();
|
633 |
|
634 |
// Get lower case table names
|
@@ -655,13 +663,13 @@ abstract class Ai1wm_Database {
|
|
655 |
$where_query[] = 1;
|
656 |
}
|
657 |
|
658 |
-
$base_tables = array();
|
659 |
|
660 |
// Loop over base tables
|
661 |
$result = $this->query( sprintf( "SHOW FULL TABLES FROM `%s` WHERE `Table_type` = 'BASE TABLE' AND (%s)", $this->wpdb->dbname, implode( ' OR ', $where_query ) ) );
|
662 |
while ( $row = $this->fetch_row( $result ) ) {
|
663 |
if ( isset( $row[0] ) ) {
|
664 |
-
$base_tables[] = $row[0];
|
665 |
}
|
666 |
}
|
667 |
|
@@ -669,7 +677,7 @@ abstract class Ai1wm_Database {
|
|
669 |
$this->free_result( $result );
|
670 |
}
|
671 |
|
672 |
-
return $base_tables;
|
673 |
}
|
674 |
|
675 |
/**
|
@@ -690,7 +698,7 @@ abstract class Ai1wm_Database {
|
|
690 |
* @return array
|
691 |
*/
|
692 |
public function get_tables() {
|
693 |
-
if (
|
694 |
return array_merge( $this->get_base_tables(), $this->get_views() );
|
695 |
}
|
696 |
|
36 |
*/
|
37 |
protected $wpdb = null;
|
38 |
|
39 |
+
/**
|
40 |
+
* WordPress database base tables
|
41 |
+
*
|
42 |
+
* @var array
|
43 |
+
*/
|
44 |
+
protected $base_tables = null;
|
45 |
+
|
46 |
+
/**
|
47 |
+
* WordPress database views
|
48 |
+
*
|
49 |
+
* @var array
|
50 |
+
*/
|
51 |
+
protected $views = null;
|
52 |
+
|
53 |
/**
|
54 |
* WordPress database tables
|
55 |
*
|
56 |
* @var array
|
57 |
*/
|
58 |
+
protected $tables = null;
|
59 |
|
60 |
/**
|
61 |
* Old table prefixes
|
586 |
* @return array
|
587 |
*/
|
588 |
protected function get_views() {
|
589 |
+
if ( is_null( $this->views ) ) {
|
|
|
|
|
|
|
590 |
$where_query = array();
|
591 |
|
592 |
// Get lower case table names
|
613 |
$where_query[] = 1;
|
614 |
}
|
615 |
|
616 |
+
$this->views = array();
|
617 |
|
618 |
// Loop over views
|
619 |
$result = $this->query( sprintf( "SHOW FULL TABLES FROM `%s` WHERE `Table_type` = 'VIEW' AND (%s)", $this->wpdb->dbname, implode( ' OR ', $where_query ) ) );
|
620 |
while ( $row = $this->fetch_row( $result ) ) {
|
621 |
if ( isset( $row[0] ) ) {
|
622 |
+
$this->views[] = $row[0];
|
623 |
}
|
624 |
}
|
625 |
|
627 |
$this->free_result( $result );
|
628 |
}
|
629 |
|
630 |
+
return $this->views;
|
631 |
}
|
632 |
|
633 |
/**
|
636 |
* @return array
|
637 |
*/
|
638 |
protected function get_base_tables() {
|
639 |
+
if ( is_null( $this->base_tables ) ) {
|
|
|
|
|
|
|
640 |
$where_query = array();
|
641 |
|
642 |
// Get lower case table names
|
663 |
$where_query[] = 1;
|
664 |
}
|
665 |
|
666 |
+
$this->base_tables = array();
|
667 |
|
668 |
// Loop over base tables
|
669 |
$result = $this->query( sprintf( "SHOW FULL TABLES FROM `%s` WHERE `Table_type` = 'BASE TABLE' AND (%s)", $this->wpdb->dbname, implode( ' OR ', $where_query ) ) );
|
670 |
while ( $row = $this->fetch_row( $result ) ) {
|
671 |
if ( isset( $row[0] ) ) {
|
672 |
+
$this->base_tables[] = $row[0];
|
673 |
}
|
674 |
}
|
675 |
|
677 |
$this->free_result( $result );
|
678 |
}
|
679 |
|
680 |
+
return $this->base_tables;
|
681 |
}
|
682 |
|
683 |
/**
|
698 |
* @return array
|
699 |
*/
|
700 |
public function get_tables() {
|
701 |
+
if ( is_null( $this->tables ) ) {
|
702 |
return array_merge( $this->get_base_tables(), $this->get_views() );
|
703 |
}
|
704 |
|
lib/view/import/avada.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2014-2020 ServMask Inc.
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*
|
18 |
+
* ███████╗███████╗██████╗ ██╗ ██╗███╗ ███╗ █████╗ ███████╗██╗ ██╗
|
19 |
+
* ██╔════╝██╔════╝██╔══██╗██║ ██║████╗ ████║██╔══██╗██╔════╝██║ ██╔╝
|
20 |
+
* ███████╗█████╗ ██████╔╝██║ ██║██╔████╔██║███████║███████╗█████╔╝
|
21 |
+
* ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██║╚██╔╝██║██╔══██║╚════██║██╔═██╗
|
22 |
+
* ███████║███████╗██║ ██║ ╚████╔╝ ██║ ╚═╝ ██║██║ ██║███████║██║ ██╗
|
23 |
+
* ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
|
24 |
+
*/
|
25 |
+
|
26 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
27 |
+
die( 'Kangaroos cannot jump here' );
|
28 |
+
}
|
29 |
+
|
30 |
+
if ( ai1wm_got_url_permalinks() ) {
|
31 |
+
printf( __( '» <a class="ai1wm-no-underline" href="%s" target="_blank">Save permalinks structure</a>. (opens a new window)<br />', AI1WM_PLUGIN_NAME ), admin_url( 'options-permalink.php#submit' ) );
|
32 |
+
} else {
|
33 |
+
print( __( '» Permalinks are set to default. <a class="ai1wm-no-underline" href="https://help.servmask.com/knowledgebase/permalinks-are-set-to-default/" target="_blank">Why?</a> (opens a new window)<br />', AI1WM_PLUGIN_NAME ) );
|
34 |
+
}
|
35 |
+
|
36 |
+
if ( ai1wm_validate_plugin_basename( 'oxygen/functions.php' ) ) {
|
37 |
+
print( __( '» <a class="ai1wm-no-underline" href="https://oxygenbuilder.com/documentation/other/importing-exporting/#resigning" target="_blank">Re-sign Oxygen Builder shortcodes</a>. (opens a new window)<br />', AI1WM_PLUGIN_NAME ) );
|
38 |
+
}
|
39 |
+
|
40 |
+
print( __( '» <a class="ai1wm-no-underline" href="https://theme-fusion.com/documentation/avada/installation-maintenance/important-update-information/#clear-caches" target="_blank">Reset Avada Fusion Builder cache</a>. (opens a new window)<br />', AI1WM_PLUGIN_NAME ) );
|
41 |
+
print( __( '» <a class="ai1wm-no-underline" href="https://wordpress.org/support/view/plugin-reviews/all-in-one-wp-migration?rate=5#postform" target="_blank">Optionally, review the plugin</a>. (opens a new window)', AI1WM_PLUGIN_NAME ) );
|
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.6
|
6 |
Requires PHP: 5.2.17
|
7 |
-
Stable tag: 7.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
@@ -108,6 +108,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.34 =
|
112 |
**Added**
|
113 |
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 5.6
|
6 |
Requires PHP: 5.2.17
|
7 |
+
Stable tag: 7.35
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Move, transfer, copy, migrate, and backup a site with 1-click. Quick, easy, and reliable.
|
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.35 =
|
112 |
+
**Added**
|
113 |
+
|
114 |
+
* Support for Avada Fusion Builder
|
115 |
+
|
116 |
= 7.34 =
|
117 |
**Added**
|
118 |
|