#59049 closed defect (bug) (duplicate)
post__in array(0) workaround no longer works in 6.3
Reported by: | Youdaman | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 6.3 |
Component: | Query | Keywords: | |
Focuses: | privacy | Cc: |
Description
Opening a new issue as per comment and subsequent instruction here https://core.trac.wordpress.org/ticket/28099#comment:32
The previous hack of passing array(0)
to post__in
to return no posts no longer works, and instead displays all posts.
This has consequences for any developers using this method for content privacy/segregation.
Change History (3)
Note: See
TracTickets for help on using
tickets.
As per https://core.trac.wordpress.org/ticket/28099#comment:37 marking as resolved here.