Merge pull request #4148 from scottbasgaard/master

Use remove_ordering_args() to remove order query filters instead of remo...
This commit is contained in:
Mike Jolley 2013-11-20 06:35:03 -08:00
commit b3480fc60e
1 changed files with 0 additions and 2 deletions

View File

@ -375,8 +375,6 @@ 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' ) );
}
/**