[wp-trac] [WordPress Trac] #17737: Be better at forcing data types for query vars

WordPress Trac noreply at wordpress.org
Wed Sep 11 18:53:50 UTC 2013


#17737: Be better at forcing data types for query vars
--------------------------+------------------
 Reporter:  juliobox      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  Query         |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------

Comment (by nacin):

 I think [attachment:17737.3.patch] is a step in the right direction. But,
 an array for any of these is invalid input, and I think should be
 discarded.
 If something that isn't supposed to be an array, *is* an array, seems like
 it is an invalid input all together and should be unset.

 [attachment:17737.4.patch] seems too broad. It can stomp on 3rd-party
 query vars, no?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/17737#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list