Make WordPress Core

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's profile 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.

Attachments (1)

8488.diff (525 bytes) - added by johnconners 16 years ago.

Download all attachments as: .zip

Change History (2)

@johnconners
16 years ago

#1 @westi
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10043]) Link to comments on the page they are on. Fixes #8488 props johnconners.

Note: See TracTickets for help on using tickets.