WordPress.org

Support

Support » Installation » Comments displaying incorrect comments

Comments displaying incorrect comments

  • dcostalis

    @dcostalis

    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

Viewing 1 replies (of 1 total)
  • dcostalis

    @dcostalis

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Comments displaying incorrect comments’ is closed to new replies.
Skip to toolbar