lkessler
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: New RSS entries/comments not workingCorrection. That should be a double ==, not a single =.
|| ($this->query_vars[‘feed’] == ‘comments-rss2’)
Forum: Fixing WordPress
In reply to: New RSS entries/comments not workingOkay. 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.
Forum: Fixing WordPress
In reply to: New RSS entries/comments not workingI’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.