WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/13/2005 04:36:09 PM (15 years ago)
Author:
ryan
Message:

Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons

File:
1 edited

Legend:

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

    r2322 r2436  
    8585        $goback = add_query_arg('updated', 'true', $_SERVER['HTTP_REFERER']);
    8686        $goback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $goback);
    87     header('Location: ' . $goback);
     87        wp_redirect($goback);
    8888    break;
    8989
Note: See TracChangeset for help on using the changeset viewer.