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:
Bernat 2014-06-10 17:22:01 +02:00
parent c63b57c761
commit 4f61e1946f
1 changed files with 1 additions and 1 deletions

View File

@ -701,7 +701,7 @@ class WC_Query {
array(
'taxonomy' => $attribute,
'terms' => $value,
'field' => 'id'
'field' => 'term_id'
)
)
)