Changeset 2250
- Timestamp:
- 02/11/05 01:07:42 (4 years ago)
- Files:
-
- trunk/wp-commentsrss2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-commentsrss2.php
r2167 r2250 31 31 $wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments 32 32 LEFT JOIN $wpdb->posts ON comment_post_id = id WHERE comment_post_ID = '$id' 33 AND $wpdb->comments.comment_approved = '1' AND $wpdb->posts.post_status = 'publish'33 AND $wpdb->comments.comment_approved = '1' AND ($wpdb->posts.post_status = 'publish' OR $wpdb->posts.post_status = 'page') 34 34 AND post_date < '".date("Y-m-d H:i:59")."' 35 35 ORDER BY comment_date LIMIT " . get_settings('posts_per_rss') );
