WordPress.org

Make WordPress Core

Ticket #12797: 12797-patch.diff

File 12797-patch.diff, 637 bytes (added by lancewillett, 10 years ago)

Add comment permalink to author notification email

  • pluggable.php

     
    10631063                $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title );
    10641064        }
    10651065        $notify_message .= get_permalink($comment->comment_post_ID) . "#comments\r\n\r\n";
     1066        $notify_message .= sprintf( __('Permalink : %s'), get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment_id ) . "\r\n";
    10661067        if ( EMPTY_TRASH_DAYS )
    10671068                $notify_message .= sprintf( __('Trash it: %s'), admin_url("comment.php?action=trash&c=$comment_id") ) . "\r\n";
    10681069        else