Fix comments popup window reload upon post. http://mosquito.wordpress.org/view.php?id=897
git-svn-id: https://develop.svn.wordpress.org/trunk@2427 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
06b50ae8f5
commit
e1eb496fac
@ -50,7 +50,7 @@ header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-cache, must-revalidate, max-age=0');
|
||||
header('Pragma: no-cache');
|
||||
|
||||
$location = get_permalink($comment_post_ID);
|
||||
$location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to'];
|
||||
|
||||
header("Location: $location");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user