WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/02/2008 06:42:09 PM (14 years ago)
Author:
ryan
Message:

Some notice fixes from Nazgul. fixes #3155

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r6517 r6711  
    146146function rss_enclosure() {
    147147    global $post;
    148     if ( !empty($post->post_password) && ($_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) )
     148    if ( !empty($post->post_password) && (!isset($_COOKIE['wp-postpass_'.COOKIEHASH]) || $_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) )
    149149        return;
    150150
Note: See TracChangeset for help on using the changeset viewer.