Specify <author /> for comment authors in comment feed. Props to Erik Barzeski for the report, Nazgul for the patch. fixes #3303

git-svn-id: http://svn.automattic.com/wordpress/trunk@4462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-11-09 19:08:57 +00:00
parent ca63f7b35a
commit 8ea4ca38ce
1 changed files with 2 additions and 1 deletions

View File

@ -58,9 +58,10 @@ if (have_posts()) :
$title = apply_filters('the_title_rss', $title); $title = apply_filters('the_title_rss', $title);
printf(__('Comment on %1$s by %2$s'), $title, get_comment_author_rss()); printf(__('Comment on %1$s by %2$s'), $title, get_comment_author_rss());
} else { } else {
printf(__('by: %s'), get_comment_author_rss()); printf(__('By: %s'), get_comment_author_rss());
} ?></title> } ?></title>
<link><?php comment_link() ?></link> <link><?php comment_link() ?></link>
<author><?php echo get_comment_author_rss() ?></author>
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true), false); ?></pubDate> <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> <guid><?php comment_link() ?></guid>
<?php <?php