Make WordPress Core


Ignore:
Timestamp:
10/27/2010 10:43:43 AM (14 years ago)
Author:
dd32
Message:

Use Absolute URL's & API's in header redirects in more locations. See #14062

File:
1 edited

Legend:

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

    r15326 r16008  
    3838
    3939if ( ! empty( $_GET['invalid'] ) && !empty($popular_importers[$_GET['invalid']][3]) ) {
    40     wp_redirect("import.php?import=" . $popular_importers[$_GET['invalid']][3]);
     40    wp_redirect( admin_url('import.php?import=' . $popular_importers[$_GET['invalid']][3]) );
    4141    exit;
    4242}
Note: See TracChangeset for help on using the changeset viewer.