Fixes #20914
This commit is contained in:
parent
424956c6f6
commit
2a2345acae
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue