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

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 14 18:18:20 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     |
--------------------------+------------------------------

Comment (by weirdrubikscube):

 Hi Sergey,

 the second patch did fix my issue with previous_post_link & next_post_link
 when the posts were private

 but now I got this error constantly :

 Warning: Cannot modify header information - headers already sent by
 (output started at link-template.php:2) in pluggable.php on line 897

 when updating a post (thought the post would be successfully updated) or
 when entering a wrong url (no 404 page coming up)
 and also when I try to simply log to wp-admin

 so I had to put back my old link-template.php

 I'm using WordPress 3.1.4 (cannot update as client host doesn't have php5)

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


More information about the wp-trac mailing list