[wp-trac] [WordPress Trac] #33372: WP_Query may return incorrect results when using negative values with parameter p.
WordPress Trac
noreply at wordpress.org
Tue Sep 13 07:46:16 UTC 2016
#33372: WP_Query may return incorrect results when using negative values with
parameter p.
--------------------------------------+---------------------------
Reporter: giantrobot | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Query | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Comment (by swissspidy):
Neither HHVM 3.9.1, 3.10.0, 3.11.0 nor 3.12.0 (all tested on 3v4l.org)
return `true` when passing an empty array to `is_scalar()`. Testing on
3.15.0-dev on a site, it works correctly there as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33372#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list