Changeset 6026 for trunk/wp-includes/comment-template.php
- Timestamp:
- 09/03/2007 11:32:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r5982 r6026 290 290 if ( $user_ID) { 291 291 $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$post->ID' AND (comment_approved = '1' OR ( user_id = '$user_ID' AND comment_approved = '0' ) ) ORDER BY comment_date"); 292 } else if ( empty($comment_author) ) { 292 } else if ( empty($comment_author) ) { 293 293 $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$post->ID' AND comment_approved = '1' ORDER BY comment_date"); 294 294 } else {
Note: See TracChangeset
for help on using the changeset viewer.