Make WordPress Core

Ticket #3055: comments-rss2_fix.diff

File comments-rss2_fix.diff, 462 bytes (added by markjaquith, 19 years ago)

Fix for /trunk/

  • wp-includes/functions.php

     
    757757        $feed = 'rss2';
    758758
    759759        $for_comments = false;
    760         if ( is_single() || (get_query_var('withcomments') == 1) ) {
     760        if ( is_single() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) {
    761761                $feed = 'rss2';
    762762                $for_comments = true;   
    763763        }