From 686b2737e708dc4a70ede129b7f4a9151c150907 Mon Sep 17 00:00:00 2001 From: Raam Dev Date: Fri, 11 Dec 2015 08:54:25 -0500 Subject: [PATCH] Bug fix: 'add reply' link should link directly reply to comment form See websharks/comment-mail#77 --- .../type-s/email/comment-notification/message.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/comment-mail/includes/templates/type-s/email/comment-notification/message.php b/comment-mail/includes/templates/type-s/email/comment-notification/message.php index 41cd541..79c10d6 100644 --- a/comment-mail/includes/templates/type-s/email/comment-notification/message.php +++ b/comment-mail/includes/templates/type-s/email/comment-notification/message.php @@ -89,6 +89,9 @@ // URL to this comment; i.e. the one we're notifying about. $_comment_url = get_comment_link($_comment->comment_ID); + // URL to the reply link for this comment + $_comment_reply_url = get_permalink($_comment->comment_post_ID).'?replytocom='.$_comment->comment_ID.'#respond'; + // How long ago the comment was posted on the site (human readable). $_comment_time_ago = $plugin->utils_date->approx_time_difference(strtotime($_comment->comment_date_gmt)); @@ -121,7 +124,7 @@ text_domain); ?> - | + | text_domain); ?> @@ -150,7 +153,7 @@ text_domain); ?> - | + | text_domain); ?>