[wp-trac] [WordPress Trac] #18613: get_adjacent_post() doesn't find private posts

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 8 09:32:33 UTC 2011


#18613: get_adjacent_post() doesn't find private posts
--------------------------+------------------------------
 Reporter:  scribu        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch => has-patch


Comment:

 I'll look into using WP_Query in #17807.


 Meanwhile, [attachment:18613.2.patch] uses `get_private_posts_cap_sql()`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18613#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list