[wp-trac] [WordPress Trac] #35512: Inconsistent behavior when passing `post_status=any` to WP_Comment_Query

WordPress Trac noreply at wordpress.org
Wed Jan 27 17:45:08 UTC 2016


#35512: Inconsistent behavior when passing `post_status=any` to WP_Comment_Query
--------------------------------------+-----------------------------
 Reporter:  danielbachhuber           |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by kouratoras):

 * keywords:  needs-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 I attach a patch file with implementation of this functionality.

 It also includes unit tests that cover all possible cases.

 During the unit testing, I found an issue in another test function for the
 related ticket #20006 and submitted a patch for this on #35633.

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


More information about the wp-trac mailing list