Fixed comments orderby

This commit is contained in:
Claudio Sanches 2019-10-01 18:03:40 -03:00
parent 9cfde9caf4
commit 3c92523d92
1 changed files with 0 additions and 2 deletions

View File

@ -283,8 +283,6 @@ class WC_Structured_Data {
'post_status' => 'publish',
'post_type' => 'product',
'parent' => 0,
'meta_key' => 'rating', // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key
'orderby' => 'meta_value_num',
'meta_query' => array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
array(
'key' => 'rating',