Changes between Initial Version and Version 1 of Ticket #32526
- Timestamp:
- 05/29/2015 03:09:36 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32526 – Description
initial v1 20 20 }}} 21 21 22 The above query returns 0 results because the tax_query portion errors and fails the WHERE clause. In this case, it's caused when the clean_query method fails a call to `taxonomy_exists()`. Taxonomy_exists is also baked into the logic of other subsequent functions in that method such as `is_taxonomy_hierarchical 'and `get_term_children`.22 The above query returns 0 results because the tax_query portion errors and fails the WHERE clause. In this case, it's caused when the clean_query method fails a call to `taxonomy_exists()`. Taxonomy_exists is also baked into the logic of other subsequent functions in that method such as `is_taxonomy_hierarchical` and `get_term_children`. 23 23 24 This looks to be a far-reaching issue related to a ticket raised and closed years ago: https://core.trac.wordpress.org/ticket/20541.24 This looks to be a far-reaching issue related to a ticket raised and closed years ago: #20541. 25 25 26 26 I've attached a patch which may resolve the issue specific to Tax_Query.