Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #32526


Ignore:
Timestamp:
05/29/2015 03:09:36 PM (10 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32526 – Description

    initial v1  
    2020}}}
    2121
    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`.
     22The 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`.
    2323
    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.
     24This looks to be a far-reaching issue related to a ticket raised and closed years ago: #20541.
    2525
    2626I've attached a patch which may resolve the issue specific to Tax_Query.