#59049 closed defect (bug) (duplicate)
post__in array(0) workaround no longer works in 6.3
| Reported by: | Youdaman | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | 6.3 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: | privacy |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
As per https://core.trac.wordpress.org/ticket/28099#comment:37 marking as resolved here.