Make WordPress Core


Ignore:
Timestamp:
06/27/2006 05:38:56 AM (18 years ago)
Author:
ryan
Message:

Use wp_redirect().

File:
1 edited

Legend:

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

    r3769 r3928  
    2626    function restart() {
    2727        delete_option('import-blogger');
    28         header("Location: admin.php?import=blogger");
     28        wp_redirect("admin.php?import=blogger");
    2929        die();
    3030    }
     
    214214    // Redirects to next step
    215215    function do_next_step() {
    216         header("Location: admin.php?import=blogger&noheader=true&blog={$_GET['blog']}");
     216        wp_redirect("admin.php?import=blogger&noheader=true&blog={$_GET['blog']}");
    217217        die();
    218218    }
     
    274274            }
    275275            update_option('import-blogger', $this->import);
    276             header("Location: admin.php?import=blogger&noheader=true&step=1");
     276            wp_redirect("admin.php?import=blogger&noheader=true&step=1");
    277277        }
    278278        die();
Note: See TracChangeset for help on using the changeset viewer.