Make WordPress Core


Ignore:
Timestamp:
04/20/2004 10:56:47 PM (20 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-commentsrss2.php

    r1105 r1108  
    5252        <guid isPermaLink="false"><?php comment_ID(); echo ":".$comment->comment_post_ID; ?>@<?php bloginfo_rss("url") ?></guid>
    5353            <?php
    54             if (!empty($comment->post_password) && $HTTP_COOKIE_VARS['wp-postpass'] != $comment->post_password) {
     54            if (!empty($comment->post_password) && $_COOKIE['wp-postpass'] != $comment->post_password) {
    5555            ?>
    5656        <description>Protected Comments: Please enter your password to view comments.</description>
Note: See TracChangeset for help on using the changeset viewer.