[wp-trac] [WordPress Trac] #12217: get_comment_reply_link gets post ID from wrong place

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 13 12:27:32 UTC 2010


#12217: get_comment_reply_link gets post ID from wrong place
--------------------------+-------------------------------------------------
 Reporter:  juggledad     |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  2.9.1     
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by dd32):

 the post_id should be retrieved from the passed $post to the function. In
 the event that its left at null, I'm pretty sure it should return the
 current post/page/object you're viewing.

 You'll probably have to look a bit higher in the process to find out why
 $post is not being passed correctly.

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


More information about the wp-trac mailing list