Changeset 4542

Show
Ignore:
Timestamp:
11/29/06 21:02:40 (2 years ago)
Author:
matt
Message:

This should be an XML representation of all comments on a post, fixes #1570

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-commentsrss2.php

    r4495 r4542  
    3535            AND $wpdb->comments.comment_approved = '1' AND $wpdb->posts.post_status = 'publish'  
    3636            AND post_date_gmt < '" . gmdate("Y-m-d H:i:59") . "'  
    37             ORDER BY comment_date_gmt DESC LIMIT " . get_option('posts_per_rss') ); 
     37            ORDER BY comment_date_gmt ASC" ); 
    3838        } else { // if no post id passed in, we'll just ue the last 10 comments. 
    3939            $comments = $wpdb->get_results("SELECT comment_ID, comment_author, comment_author_email,