diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index 16fc376ea4..b4ed583e80 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -167,10 +167,8 @@ class WP_Import { function select_authors() { $file = wp_import_handle_upload(); if ( isset($file['error']) ) { - $this->header(); echo '

'.__('Sorry, there has been an error.').'

'; echo '

' . $file['error'] . '

'; - $this->footer(); return; } $this->file = $file['file'];