Skip to content

Commit

Permalink
Fixes #1282
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/branches/1.5@2781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
matt committed Aug 14, 2005
1 parent 626c316 commit 43f3ec3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion wp-commentsrss2.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@
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>
Expand Down

0 comments on commit 43f3ec3

Please sign in to comment.