[wp-trac] [WordPress Trac] #59049: post__in array(0) workaround no longer works in 6.3
WordPress Trac
noreply at wordpress.org
Thu Aug 10 10:49:42 UTC 2023
#59049: post__in array(0) workaround no longer works in 6.3
--------------------------+-----------------------------
Reporter: Youdaman | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.3
Severity: major | Keywords:
Focuses: privacy |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59049>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list