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

WordPress Trac noreply at wordpress.org
Thu Apr 24 18:28:03 UTC 2014


#28007: any post_status blocks others
------------------------------------------+-----------------------------
 Reporter:  zugort                        |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Query                         |     Version:  3.8
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * keywords:   => needs-patch needs-unit-tests
 * milestone:  Awaiting Review => Future Release


Comment:

 zugort, thanks for the report.

 `'any'` might not have been intended to be used in this context - but, if
 `'any'` doesn't return *every* status, than it is an alias for a subset,
 so your use case might be valid.

 This needs patch and unit tests for consideration in the next release. Or
 at least a patch, and someone else can help with the unit tests.

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


More information about the wp-trac mailing list