Link directly to comment in email notification. Props lancewillett. fixes #12797
git-svn-id: http://svn.automattic.com/wordpress/trunk@15553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bb7ac14d8c
commit
b482fe4499
|
@ -1048,6 +1048,7 @@ function wp_notify_postauthor($comment_id, $comment_type='') {
|
|||
$subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title );
|
||||
}
|
||||
$notify_message .= get_permalink($comment->comment_post_ID) . "#comments\r\n\r\n";
|
||||
$notify_message .= sprintf( __('Permalink : %s'), get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment_id ) . "\r\n";
|
||||
if ( EMPTY_TRASH_DAYS )
|
||||
$notify_message .= sprintf( __('Trash it: %s'), admin_url("comment.php?action=trash&c=$comment_id") ) . "\r\n";
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue