This commit is contained in:
Adrian Jagusch 2018-07-26 17:32:08 +02:00 committed by GitHub
parent 424956c6f6
commit 2a2345acae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class WC_REST_Products_Controller extends WC_REST_Legacy_Products_Controller {
}
if ( ! empty( $tax_query ) ) {
$args['tax_query'] = $tax_query; // WPCS: slow query ok.
$args['tax_query'] = array_merge($tax_query, $args['tax_query']); // WPCS: slow query ok.
}
// Filter featured.