From 5f1fe85ec05970026d3fae40891b07824feea8ab Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 11 Dec 2003 18:10:43 +0000 Subject: [PATCH] Fix for permalink in comment. Removed old sample config. git-svn-id: http://svn.automattic.com/wordpress/trunk@603 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-config.sample.php | 37 ------------------------------------- wp-includes/functions.php | 2 +- 2 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 wp-config.sample.php diff --git a/wp-config.sample.php b/wp-config.sample.php deleted file mode 100644 index 89e2c8247..000000000 --- a/wp-config.sample.php +++ /dev/null @@ -1,37 +0,0 @@ - diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 55d175813..fb2136cad 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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\" ';