Update class-wc-shortcodes.php
`ob_start` is used which is not required.
This commit is contained in:
parent
c9901cec43
commit
6b60616ed3
|
@ -575,8 +575,6 @@ class WC_Shortcodes {
|
|||
'meta_query' => WC()->query->get_meta_query()
|
||||
);
|
||||
|
||||
ob_start();
|
||||
|
||||
add_filter( 'posts_clauses', array( __CLASS__, 'order_by_rating_post_clauses' ) );
|
||||
|
||||
$return = self::product_loop( $query_args, $atts, 'top_rated_products' );
|
||||
|
|
Loading…
Reference in New Issue