[wp-trac] [WordPress Trac] #28099: Empty array passed to WP_Query post__in returns posts

WordPress Trac noreply at wordpress.org
Thu May 29 16:56:27 UTC 2014


#28099: Empty array passed to WP_Query post__in returns posts
-----------------------------+-----------------------------
 Reporter:  danielbachhuber  |       Owner:  wonderboymusic
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  4.0
Component:  Query            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------

Comment (by wonderboymusic):

 [attachment:28099.2.diff 28099.2.diff] implements the kill switch for
 those other vars and adds unit tests.

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


More information about the wp-trac mailing list