[wp-trac] [WordPress Trac] #30911: Overhaul post_status logic in WP_Query
WordPress Trac
noreply at wordpress.org
Fri Jan 30 02:19:48 UTC 2015
#30911: Overhaul post_status logic in WP_Query
------------------------------------------+-----------------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-patch | Focuses:
------------------------------------------+-----------------------------
Comment (by boonebgorges):
In [changeset:"31302"]:
{{{
#!CommitTicketReference repository="" revision="31302"
In `get_adjacent_post()`, return private post if the current user has the
capacity to read it.
This mirrors the check that happens post-query in `WP_Query`. See #30911.
Props bswatson.
Fixes #30287.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30911#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list