From 8543ebecbc986d75ac819b4925121c9f8cb1659e Mon Sep 17 00:00:00 2001 From: rboren Date: Sun, 10 Oct 2004 18:41:39 +0000 Subject: [PATCH] Use is_single(). Bug 350. git-svn-id: http://svn.automattic.com/wordpress/trunk@1770 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-commentsrss2.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-commentsrss2.php b/wp-commentsrss2.php index 3f56087cd8..f8ed8f3245 100644 --- a/wp-commentsrss2.php +++ b/wp-commentsrss2.php @@ -17,14 +17,14 @@ foreach ($posts as $post) { start_wp(); if ($i < 1) { $i++; ?> - <?php if (isset($_REQUEST["p"]) || isset($_REQUEST["name"])) { echo "Comments on: "; the_title_rss(); } else { bloginfo_rss("name"); echo " Comments"; } ?> - + <?php if (is_single()) { 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