Opened 16 years ago
Closed 16 years ago
#8488 closed defect (bug) (fixed)
Comment permalinks are broken when using paged comments and multiple pages of comments are displayed
Reported by: | johnconners | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | major | Version: | 2.7 |
Component: | Comments | Keywords: | has-patch get_comment_link |
Focuses: | Cc: |
Description
If you've got the paged comments option turned on and you try to click on the link to a comment in the dashboard's 'Recent Comments' pane or the 'Edit Comments' page and the published comment isn't on the default post page (maybe you're showing old comments first and this is a new one) then note that you won't go directly to the comment, the 'comment-page-n' section isn't added to the URL.
You get the same problem if you're on a post page (not in the WP admin but the blog itself), post a comment that would appear on, say the second comment page, then you won't be re-directed to your new comment once you submit it for the same reasons as above.
Anyway, hopefully that makes sense! Patch attached that fixes the bug.
(In [10043]) Link to comments on the page they are on. Fixes #8488 props johnconners.