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:
parent
ca63f7b35a
commit
8ea4ca38ce
|
@ -58,9 +58,10 @@ if (have_posts()) :
|
|||
$title = apply_filters('the_title_rss', $title);
|
||||
printf(__('Comment on %1$s by %2$s'), $title, get_comment_author_rss());
|
||||
} else {
|
||||
printf(__('by: %s'), get_comment_author_rss());
|
||||
printf(__('By: %s'), get_comment_author_rss());
|
||||
} ?></title>
|
||||
<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>
|
||||
<guid><?php comment_link() ?></guid>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue