Make WordPress Core

Changeset 458 for trunk/wp-pass.php


Ignore:
Timestamp:
10/20/2003 08:53:13 PM (22 years ago)
Author:
emc3
Message:

Cookies are now unique, based on siteurl, allowing multiple installs under a single domain name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-pass.php

    r323 r458  
    66  -- Matt
    77*/
    8 
    9 setcookie('wp-postpass', $HTTP_POST_VARS['post_password'], time()+60*60*24*30);
     8include_once('wp-config.php');
     9setcookie('wp-postpass_'.$cookiehash, $HTTP_POST_VARS['post_password'], time()+60*60*24*30);
    1010header('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']);
    1111
Note: See TracChangeset for help on using the changeset viewer.