Changeset 719 for trunk/wp-comments.php
- Timestamp:
- 01/05/2004 03:06:21 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments.php
r709 r719 15 15 $comment_author_url = (isset($HTTP_COOKIE_VARS['comment_author_url_'.$cookiehash])) ? trim($HTTP_COOKIE_VARS['comment_author_url_'.$cookiehash]) : ''; 16 16 17 $comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $idAND comment_approved = '1' ORDER BY comment_date");17 $comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = '$id' AND comment_approved = '1' ORDER BY comment_date"); 18 18 ?> 19 19
Note: See TracChangeset
for help on using the changeset viewer.