WordPress.org

Make WordPress Core

Changeset 2436 for trunk/wp-pass.php


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-pass.php

    r1964 r2436  
    88setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH);
    99
    10 header('Location: ' . $_SERVER['HTTP_REFERER']);
    11 
     10wp_redirect($_SERVER['HTTP_REFERER']);
    1211?>
Note: See TracChangeset for help on using the changeset viewer.