[wp-trac] [WordPress Trac] #5439: page displaying wrong comments

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 7 18:57:14 GMT 2007


#5439: page displaying wrong comments
-----------------------+----------------------------------------------------
 Reporter:  dcostalis  |       Owner:  anonymous
     Type:  defect     |      Status:  new      
 Priority:  normal     |   Milestone:  2.4      
Component:  General    |     Version:  2.3.1    
 Severity:  normal     |    Keywords:  comments 
-----------------------+----------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5439>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list