diff --git a/wp-commentsrss2.php b/wp-commentsrss2.php index 0594c1affb..8157f37c8e 100644 --- a/wp-commentsrss2.php +++ b/wp-commentsrss2.php @@ -14,18 +14,19 @@ echo ''; - <?php if (is_single()) { echo "Comments on: "; the_title_rss(); } else { bloginfo_rss("name"); echo " Comments"; } ?> + <?php if (is_single() || is_page()) { echo "Comments on: "; the_title_rss(); } else { bloginfo_rss("name"); echo " Comments"; } ?> http://wordpress.org/?v= get_results("SELECT comment_ID, comment_author, comment_author_email, comment_author_url, comment_date, comment_content, comment_post_ID, $wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments @@ -68,7 +69,7 @@ if ($posts) { foreach ($posts as $post) { start_wp(); } } } -} } +endwhile; endif; ?>