Comments displaying incorrect comments (2 posts)

  1. dcostalis
    Posted 8 years ago #

    This should have been under "misc". sorry...

    In single page view, everything displays fine, except the comments section always displays comments from the same page... post id 17. I had disabled plugins and had no custom code, but it still gave the same errors.

    wordpress version 2.3.1. Site: My Site

  2. dcostalis
    Posted 8 years ago #

    Well, fixed it. This appears to be a bug in the widgets, or in the comment_template, though its hard to tell. What happened is the $id variable was still set from the "recent posts" widget, so comment_template didn't check to set the $id variable to the current posts id... can i submit this bug somewhere? i think that a simple unset($id); at the end of the recent posts widget will fix this.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.