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\" ';