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

WordPress Trac noreply at wordpress.org
Tue Feb 28 14:54:11 UTC 2023


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

Comment (by RavanH):

 Makes no sense indeed. Could have been cleaned up years ago but wasn't.
 And now even the core Query Loop block stepped in this mess...
 https://core.trac.wordpress.org/ticket/57822

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


More information about the wp-trac mailing list