[wp-trac] [WordPress Trac] #28024: WordPress doesn't honor array query vars

WordPress Trac noreply at wordpress.org
Fri Apr 25 12:24:12 UTC 2014


#28024: WordPress doesn't honor array query vars
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Query              |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 Since r4753, we're discarding arrays from the query vars.  This makes the
 `query_vars` filter useless in the event one is hoping to let WP parse and
 retrieve array variables passed in e.g. a form related to a custom post
 type.

 Was there any good reason to do this, or was it simply premature and
 overzealous sanitization?

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


More information about the wp-trac mailing list