Changeset 2250

Show
Ignore:
Timestamp:
02/11/05 01:07:42 (4 years ago)
Author:
saxmatt
Message:

http://mosquito.wordpress.org/view.php?id=846

Files:

Legend:

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

    r2167 r2250  
    3131            $wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments  
    3232            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')  
    3434            AND post_date < '".date("Y-m-d H:i:59")."'  
    3535            ORDER BY comment_date LIMIT " . get_settings('posts_per_rss') );