[wp-trac] [WordPress Trac] #18747: Custom Taxonomy Search/Filter Bug
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 22 15:19:19 UTC 2011
#18747: Custom Taxonomy Search/Filter Bug
--------------------------------------+----------------------
Reporter: wordpressplugindeveloper | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version:
Severity: normal | Resolution: invalid
Keywords: |
--------------------------------------+----------------------
Comment (by wordpressplugindeveloper):
lol, don't bother it.
$this->tax_query = new WP_Tax_Query( $tax_query );
$tax_query is
Array
(
[0] => Array
(
[taxonomy] => blog_category
[terms] => Array
(
[0] => 98
)
)
[1] => Array
(
[taxonomy] => category
[terms] => Array
(
[0] => 98
)
[field] => term_id
[include_children] =>
)
)
your approach is working the same way as me. If it still has taxonomy =>
category , then I definitely get the posts in blog_category in this case.
Never mind. thanks for your anyway.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18747#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list