Make WordPress Core


Ignore:
Timestamp:
02/07/2008 06:23:51 PM (16 years ago)
Author:
ryan
Message:

wp_safe_redirect() for 2.0. Props markjaquith and snakefoot. fixes #4606 for 2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-pass.php

    r3923 r6751  
    88setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH);
    99
    10 wp_redirect(wp_get_referer());
     10wp_safe_redirect(wp_get_referer());
    1111?>
Note: See TracChangeset for help on using the changeset viewer.