Remove filter fix from .17

This commit is contained in:
Mike Jolley 2013-10-17 10:48:41 +01:00
parent 3ccaae0962
commit 2cd74e1acf
1 changed files with 2 additions and 0 deletions

View File

@ -373,6 +373,8 @@ class WC_Query {
*/
public function remove_product_query() {
remove_filter( 'pre_get_posts', array( $this, 'pre_get_posts' ) );
remove_filter( 'posts_clauses', array( $this, 'order_by_popularity_post_clauses' ) );
remove_filter( 'posts_clauses', array( $this, 'order_by_rating_post_clauses' ) );
}
/**