diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-02-16 12:55:46 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-02-16 12:55:46 +0000 |
| commit | 2ab4faee68383698b06cc23eef6ce8f41612f58d (patch) | |
| tree | 5324a28a65ef148d30befb8d3ab38290d0118e8a /wp-inst/wp-commentsrss2.php | |
| parent | 3274315bf43466070cd481ee2d08cf8114d3c8f7 (diff) | |
| download | wordpress-mu-2ab4faee68383698b06cc23eef6ce8f41612f58d.tar.gz wordpress-mu-2ab4faee68383698b06cc23eef6ce8f41612f58d.tar.xz wordpress-mu-2ab4faee68383698b06cc23eef6ce8f41612f58d.zip | |
WP updates
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@528 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-commentsrss2.php')
| -rw-r--r-- | wp-inst/wp-commentsrss2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-commentsrss2.php b/wp-inst/wp-commentsrss2.php index 2f0e47c..e81cc20 100644 --- a/wp-inst/wp-commentsrss2.php +++ b/wp-inst/wp-commentsrss2.php @@ -32,7 +32,7 @@ if (have_posts()) : comment_author_url, comment_date, comment_date_gmt, comment_content, comment_post_ID, $wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments LEFT JOIN $wpdb->posts ON comment_post_id = id WHERE comment_post_ID = '$id' - AND $wpdb->comments.comment_approved = '1' AND $wpdb->posts.post_status = 'publish') + AND $wpdb->comments.comment_approved = '1' AND $wpdb->posts.post_status = 'publish' AND post_date_gmt < '" . gmdate("Y-m-d H:i:59") . "' ORDER BY comment_date_gmt DESC LIMIT " . get_settings('posts_per_rss') ); } else { // if no post id passed in, we'll just ue the last 10 comments. |
