Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Correction. That should be a double ==, not a single =.

    || ($this->query_vars[‘feed’] == ‘comments-rss2’)

    Okay. I think I found and fixed the problem, at least in WordPress 2.5 and 2.6.

    It seems that in: wp-includes\classes.php, about line 188, that $this->query-vars[‘withcomments’] is not set to anything when the Comments-feed link is clicked on.

    What I did was after the following line:

    if ( !empty($this->query_vars[‘withcomments’])

    I added the following line:

    || ($this->query_vars[‘feed’] = ‘comments-rss2’)

    What this does is detect if the comments-rss2 parameter was passed to the feed variable (see what your RSS link looks like – if you aren’t using RSS2 it might be different), and if so, it will use the lastcommentmodified date rather than the lastpostmodified date.

    I’ve noticed the same thing.

    In my blog, I have a feed for my entries and a feed for my comments. When a new comment is added the comment feed is NOT updated. But when a new entry is added, BOTH the entry feed and the comment feed are updated.

    I think WordPress is doing this wrong. I found your question while looking for a solution. But I haven’t found a solution yet.

Viewing 3 replies - 1 through 3 (of 3 total)