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

comment redirect to fail.


git-svn-id: https://develop.svn.wordpress.org/trunk@1756 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Donncha O Caoimh 2004-10-06 06:34:19 +00:00
parent 85b3d7821e
commit 5802a33673

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('Pragma: no-cache');
$location = get_permalink($comment_ID);
$location = get_permalink($comment_post_ID);
if ($is_IIS) {
header("Refresh: 0;url=$location");
@ -106,4 +106,4 @@ if ($is_IIS) {
header("Location: $location");
}
?>
?>