Make WordPress Core


Ignore:
Timestamp:
11/18/2006 08:46:43 PM (19 years ago)
Author:
ryan
Message:

Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r4472 r4483  
    816816
    817817    $for_comments = false;
    818     if ( is_singular() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) {
     818    if ( 1 != get_query_var('withoutcomments') && ( is_singular() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) ) {
    819819        $feed = 'rss2';
    820820        $for_comments = true;   
Note: See TracChangeset for help on using the changeset viewer.