page displaying wrong comments
|Reported by:||dcostalis||Owned by:|
|Component:||Template||Keywords:||comments has-patch widgets 2nd-opinion|
Depending on how widgets are set up, and the layout of the page, WordPress may display the wrong comments for a post.
The widget.php file uses a variable $id, which is used frequently throughout code. That variable is not unset, and moving the sidebar code above the comment code while this widget is active will cause the comments_template function to instead display comments from the last post on the "recent posts" list. solution proposed.
Change History (18)
- Component changed from General to Template
- Keywords has-patch widgets 2nd-opinion added; needs-patch removed
- Milestone 2.5 deleted
- Resolution set to worksforme
- Status changed from reopened to closed