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

WordPress Trac noreply at wordpress.org
Fri Aug 17 06:16:11 UTC 2018


#17737: Be better at forcing data types for query vars
---------------------------------+-----------------------------
 Reporter:  juliobox             |       Owner:  SergeyBiryukov
     Type:  defect (bug)         |      Status:  reviewing
 Priority:  normal               |   Milestone:  5.0
Component:  Query                |     Version:  3.0
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.9-early  |     Focuses:
---------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => reviewing
 * milestone:  Future Release => 5.0


Comment:

 Instead of `! is_array()`, it's probably better to check `is_string()`
 specifically, see the patch on #44652.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/17737#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list