[wp-trac] [WordPress Trac] #17737: Be better at forcing data types for query vars
WordPress Trac
noreply at wordpress.org
Sat Feb 16 06:48:26 UTC 2013
#17737: Be better at forcing data types for query vars
--------------------------+------------------
Reporter: juliobox | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Query | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by dave1010):
I believe this patch will still show a notice. From the PHP 5.4 changelog:
Changed silent conversion of array to string to produce a notice.
`$ php -r '(string)[];'`
`PHP Notice: Array to string conversion in Command line code on line 1`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17737#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list