wp_reset_postdata instead of wp_reset_query in product page loops. #1277.
This commit is contained in:
parent
37b0dec37a
commit
6e41377af1
|
@ -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 =
|
||||
|
|
|
@ -42,4 +42,4 @@ if ( $products->have_posts() ) : ?>
|
|||
|
||||
<?php endif;
|
||||
|
||||
wp_reset_query();
|
||||
wp_reset_postdata();
|
||||
|
|
|
@ -39,4 +39,4 @@ if ( $products->have_posts() ) : ?>
|
|||
|
||||
<?php endif;
|
||||
|
||||
wp_reset_query();
|
||||
wp_reset_postdata();
|
Loading…
Reference in New Issue