Don't cache. No, really. Hat tip: Kimmo Suominen.

git-svn-id: https://develop.svn.wordpress.org/trunk@1983 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-12-19 18:43:45 +00:00
parent 689636c437
commit f5a244747e
4 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ setcookie('comment_author_url_' . COOKIEHASH, stripslashes($url), time() + 30000
header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
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, max-age=0');
header('Pragma: no-cache');
$location = get_permalink($comment_post_ID);