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:
parent
85b3d7821e
commit
5802a33673
@ -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");
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user