[wp-trac] [WordPress Trac] #39682: WP_Query: Small fix for 'post__in' argument showing all results if empty array is passed

WordPress Trac noreply at wordpress.org
Tue Jan 24 21:32:01 UTC 2017


#39682: WP_Query: Small fix for 'post__in' argument showing all results if empty
array is passed
--------------------------+------------------------
 Reporter:  edonramadani  |       Owner:
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:  4.7
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by swissspidy):

 * keywords:  needs-testing =>
 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Hey there,

 Welcome to WordPress Trac! This was previously reported in #28099 and
 #12212 and it was decided to not change this behaviour because of backward
 compatibility concerns.

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


More information about the wp-trac mailing list