Opened 16 years ago
Closed 16 years ago
#8583 closed defect (bug) (fixed)
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
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7.1 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Comments | Keywords: | |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (7)
#5
@
16 years ago
- Keywords has-patch removed
- Resolution fixed deleted
- Status changed from closed to reopened
If you change the number of comments per page with 'wp_list_comments' the first paginate_comments_links function ABOVE the comments isn't aware of it and is shown.
This is a real problem if newest option is choosen because the user has to switch to the second page before seeing any links at all.
(In [10196]) Fix comment links when displaying first page of comments. Props johnconners. fixes #8583 for trunk