Fix for permalink in comment. Removed old sample config.

git-svn-id: http://svn.automattic.com/wordpress/trunk@603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2003-12-11 18:10:43 +00:00
parent 26d2daf949
commit 5f1fe85ec0
2 changed files with 1 additions and 38 deletions

View File

@@ -1486,7 +1486,7 @@ function wp_notify_postauthor($comment_id, $comment_type='comment') {
$notify_message .= "You can see all pingbacks on this post here: \r\n";
$subject = '[' . $blogname . '] Pingback: "' .stripslashes($post->post_title).'"';
}
$notify_message .= get_permalink() . '#comments';
$notify_message .= get_permalink($comment->comment_post_ID) . '#comments';
if ('' == $comment->comment_author_email || '' == $comment->comment_author) {
$from = "From: \"$blogname\" <wordpress@" . $HTTP_SERVER_VARS['SERVER_NAME'] . '>';