[wp-trac] [WordPress Trac] #36622: Post excerpt is causing unit test failures when searching for 0

WordPress Trac noreply at wordpress.org
Thu Apr 21 15:52:35 UTC 2016


#36622: Post excerpt is causing unit test failures when searching for 0
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.6
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37280"]:
 {{{
 #!CommitTicketReference repository="" revision="37280"
 Tests: More explicit fixture content when testing `s=0` query string.

 After [36647], the unit test generator sequence can put a 0 into the
 'post_excerpt' field of a post fixture, causing false positives.

 See [36520] for a parallel fix involving 'post_content'.

 Fixes #36622.
 }}}

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


More information about the wp-trac mailing list