[wp-trac] [WordPress Trac] #28007: any post_status blocks others

WordPress Trac noreply at wordpress.org
Thu May 29 20:41:55 UTC 2014


#28007: any post_status blocks others
--------------------------+-----------------------------
 Reporter:  zugort        |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.0
Component:  Query         |     Version:  3.8
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"28622"]:
 {{{
 #!CommitTicketReference repository="" revision="28622"
 If `post_status` is passed to `WP_Query` as an array containing `'any'`
 and anything else, don't exclude the other values if they match when
 running `any`'s exclusion logic.

 Adds unit tests.

 Fixes #28007.
 }}}

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


More information about the wp-trac mailing list