diff --git a/wp-admin/import/blogware.php b/wp-admin/import/blogware.php index 3f4155daf8..0ff3c67c1c 100644 --- a/wp-admin/import/blogware.php +++ b/wp-admin/import/blogware.php @@ -162,7 +162,7 @@ class BW_Import { if ( is_wp_error( $result ) ) return $result; wp_import_cleanup($file['id']); - + do_action('import_done', 'blogware'); echo '

'; printf(__('All done. Have fun!'), get_option('home')); echo '

'; diff --git a/wp-admin/import/dotclear.php b/wp-admin/import/dotclear.php index 42e1040b85..561d57a0f2 100644 --- a/wp-admin/import/dotclear.php +++ b/wp-admin/import/dotclear.php @@ -615,6 +615,7 @@ class Dotclear_Import { delete_option('dcname'); delete_option('dchost'); delete_option('dccharset'); + do_action('import_done', 'dotclear'); $this->tips(); } diff --git a/wp-admin/import/greymatter.php b/wp-admin/import/greymatter.php index 305e25f62c..0b92865394 100644 --- a/wp-admin/import/greymatter.php +++ b/wp-admin/import/greymatter.php @@ -283,6 +283,7 @@ class GM_Import { echo '... '.__('Done').''; } } + do_action('import_done', 'greymatter'); ?>

 

diff --git a/wp-admin/import/livejournal.php b/wp-admin/import/livejournal.php index c820ecb443..df6f192e5d 100644 --- a/wp-admin/import/livejournal.php +++ b/wp-admin/import/livejournal.php @@ -138,6 +138,7 @@ class LJ_Import { if ( is_wp_error( $result ) ) return $result; wp_import_cleanup($file['id']); + do_action('import_done', 'livejournal'); echo '

'; printf(__('All done. Have fun!'), get_option('home')); diff --git a/wp-admin/import/rss.php b/wp-admin/import/rss.php index 11fc7702d5..51a6f5283c 100644 --- a/wp-admin/import/rss.php +++ b/wp-admin/import/rss.php @@ -141,6 +141,7 @@ class RSS_Import { if ( is_wp_error( $result ) ) return $result; wp_import_cleanup($file['id']); + do_action('import_done', 'rss'); echo '

'; printf(__('All done. Have fun!'), get_option('home')); diff --git a/wp-admin/import/textpattern.php b/wp-admin/import/textpattern.php index d5d60d8e88..deb994efca 100644 --- a/wp-admin/import/textpattern.php +++ b/wp-admin/import/textpattern.php @@ -550,6 +550,7 @@ class Textpattern_Import { delete_option('txppass'); delete_option('txpname'); delete_option('txphost'); + do_action('import_done', 'textpattern'); $this->tips(); } diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index 621a6cbb34..f5a0662982 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -274,6 +274,7 @@ class WP_Import { echo ''; wp_import_cleanup($this->id); + do_action('import_done', 'wordpress'); echo '

'.sprintf(__('All done.').' '.__('Have fun!').'', get_option('home')).'

'; }