[wp-trac] [WordPress Trac] #8583: If you're using paged coments, 'first' is selected in the options and wp_list_comments is used, then the comment permalinks on the first page will be broken

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 12 00:32:02 GMT 2008


#8583: If you're using paged coments, 'first' is selected in the options and
wp_list_comments is used, then the comment permalinks on the first page
will be broken
-------------------------+--------------------------------------------------
 Reporter:  johnconners  |       Owner:           
     Type:  defect       |      Status:  new      
 Priority:  normal       |   Milestone:  2.8      
Component:  Comments     |     Version:  2.7      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------
 Basically, if this set of circumstances is true then the individual
 comment permalinks will look like this on the first page:

 http://localhost/wptrunk/2008/12/this-is-a-post/comment-
 page-/#comment-12345

 Note that the number '1' should appear after 'comment-page-', since it's
 page 1. This happens since the 'cpage' query parameter isn't set for the
 first page of comments unless the option to show the latest comments by
 default is set.

 Attached is a patch that fixes the problem.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8583>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list