[wp-trac] [WordPress Trac] #29736: Proposal to check for is_scalar() in WP_Query::fill_query_vars()
WordPress Trac
noreply at wordpress.org
Thu Oct 16 03:31:29 UTC 2014
#29736: Proposal to check for is_scalar() in WP_Query::fill_query_vars()
-------------------------+---------------------------
Reporter: tivnet | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.1
Component: Query | Version:
Severity: normal | Resolution: fixed
Keywords: commit | Focuses:
-------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"29912"]:
{{{
#!CommitTicketReference repository="" revision="29912"
Check that search value is scalar before parsing.
Prevents PHP notices when non-scalar values are passed.
Includes unit tests.
Props tivnet.
Fixes #29736.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29736#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list