WordPress.org

Make WordPress Core

Changeset 5146


Ignore:
Timestamp:
03/31/07 03:55:22 (8 years ago)
Author:
rob1n
Message:

Fix double header when WP importer file upload fails. Props takayukister. fixes #4033

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/wordpress.php

    r5089 r5146  
    168168        $file = wp_import_handle_upload(); 
    169169        if ( isset($file['error']) ) { 
    170             $this->header(); 
    171170            echo '<p>'.__('Sorry, there has been an error.').'</p>'; 
    172171            echo '<p><strong>' . $file['error'] . '</strong></p>'; 
    173             $this->footer(); 
    174172            return; 
    175173        } 
Note: See TracChangeset for help on using the changeset viewer.