[wp-trac] [WordPress Trac] #31025: Searching by 0 (zero produces inconsistent results)

WordPress Trac noreply at wordpress.org
Fri Feb 12 21:06:43 UTC 2016

#31025: Searching by 0 (zero produces inconsistent results)
 Reporter:  jadpm                                |       Owner:  swissspidy
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.5
Component:  Query                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests good-       |     Focuses:
  first-bug commit                               |  administration

Comment (by boonebgorges):

 In [changeset:"36520"]:
 #!CommitTicketReference repository="" revision="36520"
 Make sure fixtures have empty `post_content` in search test.

 The generator sequence was causing false positives when the search terms
 ('1' and '0') happened to match the current sequence number (eg,
 'Post content 190').

 Introduced in [36278].

 See #31025.

Ticket URL: <https://core.trac.wordpress.org/ticket/31025#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list