[wp-trac] [WordPress Trac] #63098: Passing array in term query arg triggers fatal error (was: Passing array in term query arg triggers fetal error)
WordPress Trac
noreply at wordpress.org
Thu Mar 13 17:56:03 UTC 2025
#63098: Passing array in term query arg triggers fatal error
--------------------------+------------------------------
Reporter: sohan5005 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 6.7.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Old description:
> Passing array in term query arg triggers fetal error.
> For example:
> [https://wordpress.org/news/?taxonomy=category&term%5B%5D=a&b]
>
> Just added a taxonomy & set term as an array, decoded param looks
> something like this:
> `?taxonomy=category&term[]=a&b`
>
> - This bug is present on latest version of WordPress
> - Can be triggered by reference URL on fresh WP install
New description:
Passing array in term query arg triggers fatal error.
For example:
`https://wordpress.org/news/?taxonomy=category&term%5B%5D=a&b`
Just added a taxonomy & set term as an array, decoded param looks
something like this:
`?taxonomy=category&term[]=a&b`
- This bug is present on latest version of WordPress
- Can be triggered by reference URL on fresh WP install
--
Comment (by sabernhardt):
Is this the same issue as #57300 ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63098#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list