WordPress.org

Make WordPress Core

Ticket #10016: 10016.patch

File 10016.patch, 600 bytes (added by peaceablewhale, 6 years ago)
  • feed-rss2.php

     
    5151                <content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded> 
    5252        <?php endif; ?> 
    5353<?php endif; ?> 
    54                 <wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss> 
     54                <wfw:commentRss><?php echo get_post_comments_feed_link(null,"rss2"); ?></wfw:commentRss> 
    5555                <slash:comments><?php echo get_comments_number(); ?></slash:comments> 
    5656<?php rss_enclosure(); ?> 
    5757        <?php do_action('rss2_item'); ?>