Make WordPress Core


Ignore:
Timestamp:
01/09/2004 09:08:05 AM (21 years ago)
Author:
saxmatt
Message:

The cookie monster has been vanquished.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-popup.php

    r709 r744  
    3232<?php
    3333// this line is WordPress' motor, do not delete it.
     34$comment_author = (isset($HTTP_COOKIE_VARS['comment_author_'.$cookiehash])) ? trim($HTTP_COOKIE_VARS['comment_author_'.$cookiehash]) : '';
     35$comment_author_email = (isset($HTTP_COOKIE_VARS['comment_author_email_'.$cookiehash])) ? trim($HTTP_COOKIE_VARS['comment_author_email_'.$cookiehash]) : '';
     36$comment_author_url = (isset($HTTP_COOKIE_VARS['comment_author_url_'.$cookiehash])) ? trim($HTTP_COOKIE_VARS['comment_author_url_'.$cookiehash]) : '';
    3437$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_approved = '1' ORDER BY comment_date");
    3538$commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $tableposts WHERE ID = $id");
Note: See TracChangeset for help on using the changeset viewer.