Changeset 2462
- Timestamp:
- 03/22/05 00:13:48 (3 years ago)
- Files:
-
- trunk/wp-commentsrss2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-commentsrss2.php
r2272 r2462 36 36 AND $wpdb->comments.comment_approved = '1' AND ($wpdb->posts.post_status = 'publish' OR $wpdb->posts.post_status = 'page') 37 37 AND post_date < '".date("Y-m-d H:i:59")."' 38 ORDER BY comment_date LIMIT " . get_settings('posts_per_rss') );38 ORDER BY comment_date DESC LIMIT " . get_settings('posts_per_rss') ); 39 39 } else { // if no post id passed in, we'll just ue the last 10 comments. 40 40 $comments = $wpdb->get_results("SELECT comment_ID, comment_author, comment_author_email,
