[wp-trac] [WordPress Trac] #33372: WP_Query may return incorrect results when using negative values with parameter p.

WordPress Trac noreply at wordpress.org
Wed Aug 31 21:03:07 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 kouratoras):

 It seems it was a glitch, I managed to reproduce:

 {{{
 There was 1 failure:

 1) Tests_Query_ParseQuery::test_parse_query_p_array
 Failed asserting that two strings are identical.
 --- Expected
 +++ Actual
 @@ @@
 -404
 +
 }}}

 Investigating more...

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


More information about the wp-trac mailing list