Version Description
- Fix an issue with WP_Hook class introcuded in WP 4.7
Download this release
Release Info
| Developer | bangelov |
| Plugin | |
| Version | 5.56 |
| Comparing to | |
| See all releases | |
Code changes from version 5.55 to 5.56
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: 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: 5.56
|
| 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', '5.
|
| 42 |
|
| 43 |
// ===============
|
| 44 |
// = Plugin Name =
|
| 38 |
// ==================
|
| 39 |
// = Plugin Version =
|
| 40 |
// ==================
|
| 41 |
+
define( 'AI1WM_VERSION', '5.56' );
|
| 42 |
|
| 43 |
// ===============
|
| 44 |
// = Plugin Name =
|
lib/controller/class-ai1wm-export-controller.php
CHANGED
|
@@ -62,7 +62,16 @@ class Ai1wm_Export_Controller {
|
|
| 62 |
}
|
| 63 |
|
| 64 |
// Get hook
|
| 65 |
-
if ( isset( $wp_filter['ai1wm_export'] ) && ( $filters = $wp_filter['ai1wm_export'] )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
while ( $hooks = current( $filters ) ) {
|
| 67 |
if ( $priority === key( $filters ) ) {
|
| 68 |
foreach ( $hooks as $hook ) {
|
| 62 |
}
|
| 63 |
|
| 64 |
// Get hook
|
| 65 |
+
if ( isset( $wp_filter['ai1wm_export'] ) && ( $filters = $wp_filter['ai1wm_export'] ) ) {
|
| 66 |
+
// WordPress 4.7 introduces new class for working with filters/actions called WP_Hook
|
| 67 |
+
// which adds another level of abstraction and we need to address it.
|
| 68 |
+
if ( is_object( $filters ) ) {
|
| 69 |
+
$filters = current( $filters );
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
ksort( $filters );
|
| 73 |
+
|
| 74 |
+
// Loop over filters
|
| 75 |
while ( $hooks = current( $filters ) ) {
|
| 76 |
if ( $priority === key( $filters ) ) {
|
| 77 |
foreach ( $hooks as $hook ) {
|
lib/controller/class-ai1wm-import-controller.php
CHANGED
|
@@ -62,7 +62,16 @@ class Ai1wm_Import_Controller {
|
|
| 62 |
}
|
| 63 |
|
| 64 |
// Get hook
|
| 65 |
-
if ( isset( $wp_filter['ai1wm_import'] ) && ( $filters = $wp_filter['ai1wm_import'] )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
while ( $hooks = current( $filters ) ) {
|
| 67 |
if ( $priority === key( $filters ) ) {
|
| 68 |
foreach ( $hooks as $hook ) {
|
| 62 |
}
|
| 63 |
|
| 64 |
// Get hook
|
| 65 |
+
if ( isset( $wp_filter['ai1wm_import'] ) && ( $filters = $wp_filter['ai1wm_import'] ) ) {
|
| 66 |
+
// WordPress 4.7 introduces new class for working with filters/actions called WP_Hook
|
| 67 |
+
// which adds another level of abstraction and we need to address it.
|
| 68 |
+
if ( is_object( $filters ) ) {
|
| 69 |
+
$filters = current( $filters );
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
ksort( $filters );
|
| 73 |
+
|
| 74 |
+
// Loop over filters
|
| 75 |
while ( $hooks = current( $filters ) ) {
|
| 76 |
if ( $priority === key( $filters ) ) {
|
| 77 |
foreach ( $hooks as $hook ) {
|
readme.txt
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
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.
|
| 6 |
-
Stable tag: 5.
|
| 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.
|
|
@@ -78,6 +78,9 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
|
|
| 78 |
3. Plugin Menu
|
| 79 |
|
| 80 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 81 |
= 5.55 =
|
| 82 |
* Fix an issue with resolving URL on export/import when using non-blocking streams client
|
| 83 |
|
| 2 |
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.7
|
| 6 |
+
Stable tag: 5.56
|
| 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.
|
| 78 |
3. Plugin Menu
|
| 79 |
|
| 80 |
== Changelog ==
|
| 81 |
+
= 5.56 =
|
| 82 |
+
* Fix an issue with WP_Hook class introcuded in WP 4.7
|
| 83 |
+
|
| 84 |
= 5.55 =
|
| 85 |
* Fix an issue with resolving URL on export/import when using non-blocking streams client
|
| 86 |
|
