Make RSS 2.0 comment feed GUIDs immutable. fixes #5072
git-svn-id: http://svn.automattic.com/wordpress/trunk@6742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -47,7 +47,7 @@ if ( have_comments() ) : while ( have_comments() ) : the_comment();
|
||||
<link><?php comment_link() ?></link>
|
||||
<dc:creator><?php echo get_comment_author_rss() ?></dc:creator>
|
||||
<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 isPermaLink="false"><?php comment_guid() ?></guid>
|
||||
<?php if (!empty($comment_post->post_password) && $_COOKIE['wp-postpass'] != $comment_post->post_password) : ?>
|
||||
<description><?php _e('Protected Comments: Please enter your password to view comments.'); ?></description>
|
||||
<content:encoded><![CDATA[<?php echo get_the_password_form() ?>]]></content:encoded>
|
||||
|
||||
Reference in New Issue
Block a user