All-in-One WP Migration - Version 4.11

Version Description

  • Fix content filters on export
Download this release

Release Info

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

Code changes from version 4.10 to 4.11

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: 4.10
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: 4.11
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', '4.10' );
42
 
43
  // ===============
44
  // = Plugin Name =
@@ -297,4 +297,4 @@ if ( defined( 'AI1WMLE_PLUGIN_BASENAME' ) ) {
297
  define( 'AI1WMLE_PLUGIN_BASEDIR', dirname( AI1WMLE_PLUGIN_BASENAME ) );
298
  } else {
299
  define( 'AI1WMLE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-url-extension' );
300
- }
38
  // ==================
39
  // = Plugin Version =
40
  // ==================
41
+ define( 'AI1WM_VERSION', '4.11' );
42
 
43
  // ===============
44
  // = Plugin Name =
297
  define( 'AI1WMLE_PLUGIN_BASEDIR', dirname( AI1WMLE_PLUGIN_BASENAME ) );
298
  } else {
299
  define( 'AI1WMLE_PLUGIN_BASEDIR', 'all-in-one-wp-migration-url-extension' );
300
+ }
lib/model/class-ai1wm-export-abstract.php CHANGED
@@ -82,19 +82,9 @@ abstract class Ai1wm_Export_Abstract {
82
  $filters = array(
83
  'index.php',
84
  'ai1wm-backups',
85
- 'envato-backups',
86
- 'managewp',
87
- 'updraft',
88
- 'cache',
89
- 'backwpup',
90
- 'pb_backupbuddy',
91
- 'backupbuddy_backups',
92
  'themes' . DIRECTORY_SEPARATOR . 'index.php',
93
  'plugins' . DIRECTORY_SEPARATOR . 'index.php',
94
  'uploads' . DIRECTORY_SEPARATOR . 'index.php',
95
- 'uploads' . DIRECTORY_SEPARATOR . 'backwpup',
96
- 'uploads' . DIRECTORY_SEPARATOR . 'pb_backupbuddy',
97
- 'uploads' . DIRECTORY_SEPARATOR . 'backupbuddy_backups',
98
  );
99
 
100
  // Exclude media
82
  $filters = array(
83
  'index.php',
84
  'ai1wm-backups',
 
 
 
 
 
 
 
85
  'themes' . DIRECTORY_SEPARATOR . 'index.php',
86
  'plugins' . DIRECTORY_SEPARATOR . 'index.php',
87
  'uploads' . DIRECTORY_SEPARATOR . 'index.php',
 
 
 
88
  );
89
 
90
  // Exclude media
lib/vendor/servmask/filter/class-ai1wm-recursive-exclude-filter.php CHANGED
@@ -35,13 +35,7 @@ class Ai1wm_Recursive_Exclude_Filter extends RecursiveFilterIterator {
35
  }
36
 
37
  public function accept() {
38
- foreach ( $this->exclude as $filter ) {
39
- if ( strpos( $this->getInnerIterator()->getSubPathname(), $filter ) === 0 ) {
40
- return false;
41
- }
42
- }
43
-
44
- return true;
45
  }
46
 
47
  public function getChildren() {
35
  }
36
 
37
  public function accept() {
38
+ return ! in_array( $this->getInnerIterator()->getSubPathname(), $this->exclude );
 
 
 
 
 
 
39
  }
40
 
41
  public function getChildren() {
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.3
6
- Stable tag: 4.10
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.
@@ -60,6 +60,9 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
60
  3. Plugin Menu
61
 
62
  == Changelog ==
 
 
 
63
  = 4.10 =
64
  * Add HTTPS URL replacement
65
  * Fix an issue when PDO is not available
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.3
6
+ Stable tag: 4.11
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.
60
  3. Plugin Menu
61
 
62
  == Changelog ==
63
+ = 4.11 =
64
+ * Fix content filters on export
65
+
66
  = 4.10 =
67
  * Add HTTPS URL replacement
68
  * Fix an issue when PDO is not available