[wp-trac] Re: [WordPress Trac] #7956: get_comment_link() should be paged comments aware

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 25 09:57:35 GMT 2008

#7956: get_comment_link() should be paged comments aware
 Reporter:  Viper007Bond  |        Owner:     
     Type:  defect        |       Status:  new
 Priority:  high          |    Milestone:  2.7
Component:  Comments      |      Version:  2.7
 Severity:  normal        |   Resolution:     
 Keywords:                |  
Comment (by Viper007Bond):

 My patch (`7956.2.patch`) makes `get_comment_link()` return the post
 permalink with `gotocom=123` tagged onto the end of it.

 '''`canonical.php` needs to be updated to redirect to `/post-name/comment-

 The "456" page number can be determined by passing the `gotocom` value to
 the new function this patch introduces, `get_page_of_comment()`. It will
 calculate what page a comment will appear on and yes, it is threaded

Ticket URL: <http://trac.wordpress.org/ticket/7956#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list