All-in-One WP Migration - Version 3.8

Version Description

  • Fix undefined method on Backups page if PHP version is < 5.3.6
Download this release

Release Info

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

Code changes from version 3.7 to 3.8

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: 3.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: 3.8
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', '3.7' );
42
 
43
  // ===============
44
  // = Plugin Name =
38
  // ==================
39
  // = Plugin Version =
40
  // ==================
41
+ define( 'AI1WM_VERSION', '3.8' );
42
 
43
  // ===============
44
  // = Plugin Name =
lib/vendor/servmask/filter/class-ai1wm-extension-filter.php CHANGED
@@ -25,16 +25,21 @@
25
  */
26
  class Ai1wm_Extension_Filter extends FilterIterator {
27
 
28
- protected $include = array();
29
 
30
- public function __construct( Iterator $iterator, $include = array() ) {
31
- parent::__construct( $iterator );
32
 
33
- // Set include filter
34
- $this->include = $include;
35
- }
36
 
37
- public function accept() {
38
- return in_array( $this->getInnerIterator()->getExtension(), $this->include );
39
- }
 
 
 
 
 
40
  }
25
  */
26
  class Ai1wm_Extension_Filter extends FilterIterator {
27
 
28
+ protected $include = array();
29
 
30
+ public function __construct( Iterator $iterator, $include = array() ) {
31
+ parent::__construct( $iterator );
32
 
33
+ // Set include filter
34
+ $this->include = $include;
35
+ }
36
 
37
+ public function accept() {
38
+ $filename = $this->getInnerIterator()->getFilename();
39
+ if ( in_array( pathinfo( $filename, PATHINFO_EXTENSION ), $this->include ) ) {
40
+ return true;
41
+ }
42
+
43
+ return false;
44
+ }
45
  }
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.2
6
- Stable tag: 3.7
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.
@@ -57,6 +57,9 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
57
  3. Plugin Menu
58
 
59
  == Changelog ==
 
 
 
60
  = 3.7 =
61
  * Add IPv6 support on export/import
62
 
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.2
6
+ Stable tag: 3.8
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.
57
  3. Plugin Menu
58
 
59
  == Changelog ==
60
+ = 3.8 =
61
+ * Fix undefined method on Backups page if PHP version is < 5.3.6
62
+
63
  = 3.7 =
64
  * Add IPv6 support on export/import
65