[wp-trac] [WordPress Trac] #28099: Empty array passed to WP_Query post__in returns posts
WordPress Trac
noreply at wordpress.org
Thu Jun 5 17:44:08 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 pavelevap):
I am not sure how many themes use this practice, I only noticed this one.
I like current trunk solution (return nothing - it is logical), but maybe
there should be some notice for theme authors?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28099#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list