Update class-wc-query.php
Use 'term_id' instead of 'id' for the tax_query as described in WP codex: http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
This commit is contained in:
parent
c63b57c761
commit
4f61e1946f
|
@ -701,7 +701,7 @@ class WC_Query {
|
|||
array(
|
||||
'taxonomy' => $attribute,
|
||||
'terms' => $value,
|
||||
'field' => 'id'
|
||||
'field' => 'term_id'
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue