on line 159 of your plugin tw-recent-posts-widget.php the last thing you should do in widget() is
wp_reset_query();otherwise plugins that insert things further down or in the plugin will have the wrong
this post is also quite helpful. http://wordpress.stackexchange.com/questions/1753/when-should-you-use-wp-query-vs-query-posts-vs-get-posts you might not want to use new WP_Query in the widget.
- The topic ‘bug fix’ is closed to new replies.