Make WordPress Core

Ticket #1137: comment-functions.php.diff

File comment-functions.php.diff, 795 bytes (added by MC_incubus, 20 years ago)
  • comment-functions.php

     
    654654                $notify_message .= "You can see all pingbacks on this post here: \r\n";
    655655                $subject = '[' . $blogname . '] Pingback: "' .$post->post_title.'"';
    656656        }
    657         $notify_message .= get_permalink($comment->comment_post_ID) . '#comments';
     657        $notify_message .= get_permalink($comment->comment_post_ID) . '#comment-' . $comment_id;
    658658        $notify_message .= "\r\n\r\nTo delete this comment:\r\n" . get_settings('siteurl') . "/wp-admin/post.php?action=confirmdeletecomment&p=".$comment->comment_post_ID."&comment=$comment_id";
    659659
    660660        if ('' == $comment->comment_author_email || '' == $comment->comment_author) {