Make WordPress Core

Changeset 6131 for trunk/wp-pass.php


Ignore:
Timestamp:
09/18/2007 10:23:16 PM (17 years ago)
Author:
markjaquith
Message:

Introducing wp_safe_redirect(). fixes #4606 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-pass.php

    r3921 r6131  
    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.