Changeset 2462
- Timestamp:
- 03/22/2005 12:13:48 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-commentsrss2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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,
Note: See TracChangeset
for help on using the changeset viewer.