#33532 closed defect (bug) (fixed)
WP_Query->parse_tax_query() generates errors for categories and tags as querystring arrays
| Reported by: | Veraxus | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Query | Version: | 4.4 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
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.
Attachments (2)
Change History (9)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixes errors when parsing querystring with arrays for categories or tags, specifically