From 43f3ec382752aef9eab803a8c4da3c806b63c32f Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 14 Aug 2005 18:21:38 +0000 Subject: [PATCH] Fixes #1282 git-svn-id: http://svn.automattic.com/wordpress/branches/1.5@2781 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-commentsrss2.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-commentsrss2.php b/wp-commentsrss2.php index ece77df336..62444aa6ae 100644 --- a/wp-commentsrss2.php +++ b/wp-commentsrss2.php @@ -49,7 +49,12 @@ if (have_posts()) : foreach ($comments as $comment) { ?> - by: <?php comment_author_rss() ?> + <?php if ( (! is_single()) || (! is_page()) ) { + $title = get_the_title($comment->comment_post_ID); + $title = apply_filters('the_title', $title); + $title = apply_filters('the_title_rss', $title); + echo "Comment on $title"; + } ?> by: <?php comment_author_rss() ?>