Merge pull request #8957 from ibndawood/patch-1
Update class-wc-shortcodes.php
This commit is contained in:
commit
ea3bebe301
|
@ -575,8 +575,6 @@ class WC_Shortcodes {
|
||||||
'meta_query' => WC()->query->get_meta_query()
|
'meta_query' => WC()->query->get_meta_query()
|
||||||
);
|
);
|
||||||
|
|
||||||
ob_start();
|
|
||||||
|
|
||||||
add_filter( 'posts_clauses', array( __CLASS__, 'order_by_rating_post_clauses' ) );
|
add_filter( 'posts_clauses', array( __CLASS__, 'order_by_rating_post_clauses' ) );
|
||||||
|
|
||||||
$return = self::product_loop( $query_args, $atts, 'top_rated_products' );
|
$return = self::product_loop( $query_args, $atts, 'top_rated_products' );
|
||||||
|
|
Loading…
Reference in New Issue