[wp-trac] [WordPress Trac] #30287: Private posts skipped in single post navigation

WordPress Trac noreply at wordpress.org
Fri Jan 30 02:19:47 UTC 2015


#30287: Private posts skipped in single post navigation
--------------------------------------+---------------------------
 Reporter:  blogan                    |       Owner:  boonebgorges
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.2
Component:  Posts, Post Types         |     Version:  1.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 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/30287#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list