From 83052c72030db605cc9442650e64787f89dce5b6 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 11 Dec 2003 18:10:43 +0000 Subject: [PATCH] Fix for permalink in comment. Removed old sample config. git-svn-id: https://develop.svn.wordpress.org/trunk@603 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 89e2c82477..0000000000 --- a/wp-config.sample.php +++ /dev/null @@ -1,37 +0,0 @@ - diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 55d1758133..fb2136cadc 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\" ';