Reset. Closes #764.

This commit is contained in:
Mike Jolley 2012-03-06 17:47:05 +00:00
parent 3bfb586200
commit 8c9bf880b4
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class WooCommerce_Widget_Recent_Products extends WP_Widget {
<?php echo $after_widget; ?>
<?php
// Reset the global $the_post as this query will have stomped on it
//wp_reset_postdata();
wp_reset_query();
endif;