git-svn-id: http://svn.automattic.com/wordpress/branches/1.5@2781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-08-14 18:21:38 +00:00
parent 626c316ed1
commit 43f3ec3827
1 changed files with 6 additions and 1 deletions

View File

@ -49,7 +49,12 @@ if (have_posts()) :
foreach ($comments as $comment) {
?>
<item>
<title>by: <?php comment_author_rss() ?></title>
<title><?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() ?></title>
<link><?php comment_link() ?></link>
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true), false); ?></pubDate>
<guid><?php comment_link() ?></guid>