Make WordPress Core

Ticket #16466: 16466.2.diff

File 16466.2.diff, 784 bytes (added by nacin, 7 years ago)

Patch from bazza, diff'd from root, and without trailing spaces.

  • wp-includes/feed-rss2-comments.php

    5555                <description><?php echo ent2ncr(__('Protected Comments: Please enter your password to view comments.')); ?></description>
    5656                <content:encoded><![CDATA[<?php echo get_the_password_form() ?>]]></content:encoded>
    5757<?php else : // post pass ?>
    58                 <description><?php comment_text_rss() ?></description>
     58                <description><![CDATA[<?php comment_text_rss() ?>]]></description>
    5959                <content:encoded><![CDATA[<?php comment_text() ?>]]></content:encoded>
    6060<?php endif; // post pass
    6161        do_action('commentrss2_item', $comment->comment_ID, $comment_post->ID);