Skip to content

Commit

Permalink
chore: phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhtungdu committed Dec 29, 2023
1 parent e3955c8 commit a4ce2e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private function get_aggregated_collection_data( $block ) {
unset( $filter_query_vars['min_price'], $filter_query_vars['max_price'] );

if ( ! empty( $filter_query_vars['meta_query'] ) ) {
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_tax_query
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
$filter_query_vars['meta_query'] = $this->remove_query_array( $filter_query_vars['meta_query'], 'key', '_price' );
}

Expand All @@ -184,7 +184,7 @@ private function get_aggregated_collection_data( $block ) {
unset( $filter_query_vars['filter_stock_status'] );

if ( ! empty( $filter_query_vars['meta_query'] ) ) {
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_tax_query
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
$filter_query_vars['meta_query'] = $this->remove_query_array( $filter_query_vars['meta_query'], 'key', '_stock_status' );
}

Expand Down

0 comments on commit a4ce2e1

Please sign in to comment.