[wp-trac] [WordPress Trac] #26133: Comment permalinks in notification emails should include pagination

WordPress Trac noreply at wordpress.org
Thu Nov 21 19:20:42 UTC 2013


#26133: Comment permalinks in notification emails should include pagination
--------------------------+------------------------------
 Reporter:  eatingrules   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by eatingrules):

 I previously tried to find more info on the {{{get_comment_link()}}}
 [http://codex.wordpress.org/Function_Reference/get_comment_link, function
 in the codex], but it didn't indicate if it includes the pagination in the
 link by default. If so, maybe it really is as simple a change as using
 that instead of {{{get_permalink()}}} in the emails?

 You make a good point about pagination changes from commend moderation -
 though for us that's a lesser concern because it happens less often.
 However, perhaps a solution is to have a permalink+redirection system in
 place?  There could be a standardized comment permalink URL generated,
 which then redirects to the current comment location.

 Something like...

 {{{http://oursite.com/comments/comment-12345}}}

 ...which would then cause a database lookup to figure out where to
 redirect to, and could issues a 301 redirect to the current location of
 the comment:

 {{{http://oursite.com/blog-post/comment-page-5/#comment-12345}}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26133#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list