Make WordPress Core

Changeset 1108 for trunk/wp-pass.php


Ignore:
Timestamp:
04/20/2004 10:56:47 PM (21 years ago)
Author:
saxmatt
Message:

Changed to superglobals, and eliminated $use_cache (since we always do).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-pass.php

    r601 r1108  
    66*/
    77require(dirname(__FILE__) . '/wp-config.php');
    8 setcookie('wp-postpass_'.$cookiehash, $HTTP_POST_VARS['post_password'], time()+60*60*24*30);
    9 header('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']);
     8setcookie('wp-postpass_'.$cookiehash, $_POST['post_password'], time()+60*60*24*30);
     9header('Location: ' . $_SERVER['HTTP_REFERER']);
    1010
    1111?>
Note: See TracChangeset for help on using the changeset viewer.