From 77ea6cc2925700b1731349bdc02a0ad90d8edfe4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 10 Oct 2004 18:41:39 +0000 Subject: [PATCH] Use is_single(). Bug 350. git-svn-id: https://develop.svn.wordpress.org/trunk@1770 602fd350-edb4-49c9-b593-d223f7449a82 --- 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