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:
parent
0f9c6ec8e9
commit
4f0449f79b
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue