Fixed minor bug - wrong variable passed to get_permalink() - caused

comment redirect to fail.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
donncha 2004-10-06 06:34:19 +00:00
parent 0f9c6ec8e9
commit 4f0449f79b
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-cache, must-revalidate'); header('Cache-Control: no-cache, must-revalidate');
header('Pragma: no-cache'); header('Pragma: no-cache');
$location = get_permalink($comment_ID); $location = get_permalink($comment_post_ID);
if ($is_IIS) { if ($is_IIS) {
header("Refresh: 0;url=$location"); header("Refresh: 0;url=$location");
@ -106,4 +106,4 @@ if ($is_IIS) {
header("Location: $location"); header("Location: $location");
} }
?> ?>