[wp-trac] [WordPress Trac] #33532: WP_Query->parse_tax_query() generates errors for categories and tags as querystring arrays
WordPress Trac
noreply at wordpress.org
Mon Aug 24 19:42:43 UTC 2015
#33532: WP_Query->parse_tax_query() generates errors for categories and tags as
querystring arrays
--------------------------+-----------------------------
Reporter: Veraxus | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Categories and Tags get special handling by `parse_tax_query()` and so
while #32454 fixed custom taxonomies, categories and tags will still
generate errors when passed as querystring arrays as they are each parsed
uniquely.
The included patch applies the #32454 fix to parsing of categories and
tags when an array is used in the querystring, and includes 6 new unit
tests (3 per taxonomy) for the various related query types.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33532>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list