wp_reset_postdata instead of wp_reset_query in product page loops. #1277.

This commit is contained in:
Mike Jolley 2012-07-20 13:50:32 +01:00
parent 37b0dec37a
commit 6e41377af1
3 changed files with 3 additions and 2 deletions

View File

@ -154,6 +154,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
* Tweak - woocommerce_reset_loop() on loop_end to reset columns and index
* Tweak - Added US Zip Code validation
* Tweak - Event handling for checkout fields
* Tweak - wp_reset_postdata instead of wp_reset_query in product page loops
* Fix - Product categories shortcode loop
= 1.6.1 - 19/07/2012 =

View File

@ -42,4 +42,4 @@ if ( $products->have_posts() ) : ?>
<?php endif;
wp_reset_query();
wp_reset_postdata();

View File

@ -39,4 +39,4 @@ if ( $products->have_posts() ) : ?>
<?php endif;
wp_reset_query();
wp_reset_postdata();