Ticket #17767: comments-cdata-suggestion.diff
File comments-cdata-suggestion.diff, 1.2 KB (added by , 14 years ago) |
---|
-
feed-rss2-comments.php
48 48 } 49 49 ?></title> 50 50 <link><?php comment_link() ?></link> 51 <dc:creator>< ?php echo get_comment_author_rss() ?></dc:creator>51 <dc:creator><![CDATA[<?php echo get_comment_author_rss() ?>]]></dc:creator> 52 52 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true, false), false); ?></pubDate> 53 53 <guid isPermaLink="false"><?php comment_guid() ?></guid> 54 54 <?php if ( post_password_required($comment_post) ) : ?> 55 55 <description><?php echo ent2ncr(__('Protected Comments: Please enter your password to view comments.')); ?></description> 56 56 <content:encoded><![CDATA[<?php echo get_the_password_form() ?>]]></content:encoded> 57 57 <?php else : // post pass ?> 58 <description>< ?php comment_text_rss() ?></description>58 <description><![CDATA[<?php comment_text_rss() ?>]]></description> 59 59 <content:encoded><![CDATA[<?php comment_text() ?>]]></content:encoded> 60 60 <?php endif; // post pass 61 61 do_action('commentrss2_item', $comment->comment_ID, $comment_post->ID);