[wp-trac] [WordPress Trac] #63098: Passing array in term query arg triggers fetal error

WordPress Trac noreply at wordpress.org
Thu Mar 13 15:56:05 UTC 2025


#63098: Passing array in term query arg triggers fetal error
--------------------------+-----------------------------
 Reporter:  sohan5005     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  6.7.2
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63098>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list