[wpmu-trac] [WordPress MU Trac] #413: Recent Posts widgets changes $post global which templates rely on for comments etc

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Aug 28 11:25:32 GMT 2007


#413: Recent Posts widgets changes $post global which templates rely on for
comments etc
------------------------+---------------------------------------------------
 Reporter:  mrball      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  high        |   Milestone:          
Component:  component1  |     Version:          
 Severity:  major       |    Keywords:          
------------------------+---------------------------------------------------
 The recent posts widget appears to change the $post global variable.

 On themes like Tarski (wpcom), this means comments are not displayed
 properly and comment forms are for the wrong post.

 adding a call to the_post() at the end of function
 wp_widget_recent_entries($args) seems to be quick fix?

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/413>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list