Make WordPress Core

Changeset 2260


Ignore:
Timestamp:
02/11/2005 02:08:24 AM (20 years ago)
Author:
saxmatt
Message:

Template cookie prob - http://mosquito.wordpress.org/view.php?id=805

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/comments.php

    r2166 r2260  
    44
    55        if (!empty($post->post_password)) { // if there's a password
    6             if ($_COOKIE['wp-postpass_'.$cookiehash] != $post->post_password) {  // and it doesn't match the cookie
     6            if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
    77                ?>
    88               
Note: See TracChangeset for help on using the changeset viewer.