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

WordPress Trac noreply at wordpress.org
Thu Aug 10 10:46:41 UTC 2023


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

 * status:  closed => reopened
 * resolution:  fixed =>
 * milestone:   => Awaiting Review


Comment:

 Replying to [comment:35 audrasjb]:
 > Could you please open a new follow-up ticket for this issue, so we can
 keep this ticket closed on milestone 6.3.

 This ticket was not on the 6.3 milestone, the fix was reverted 9 years ago
 in [28783], see comment:19.

 Reopening to see why the workaround mentioned in comment:32 no longer
 works.

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


More information about the wp-trac mailing list