It was a Wednesday. (?!) Hat tip: Lucas Larson

git-svn-id: http://svn.automattic.com/wordpress/trunk@2552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-04-19 17:24:05 +00:00
parent a2b53e2909
commit 8e076bda03
4 changed files with 271 additions and 271 deletions

View File

@ -3,7 +3,7 @@ require_once('../wp-config.php');
require_once(ABSPATH . 'wp-admin/admin-functions.php');
auth_redirect();
header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
header('Expires: Wed, 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, max-age=0');
header('Pragma: no-cache');

View File

@ -49,7 +49,7 @@ setcookie('comment_author_' . COOKIEHASH, stripslashes($comment_author), time()
setcookie('comment_author_email_' . COOKIEHASH, stripslashes($comment_author_email), time() + 30000000, COOKIEPATH);
setcookie('comment_author_url_' . COOKIEHASH, stripslashes($comment_author_url), time() + 30000000, COOKIEPATH);
header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
header('Expires: Wed, 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, max-age=0');
header('Pragma: no-cache');

View File

@ -106,7 +106,7 @@ function auth_redirect() {
if ( (!empty($_COOKIE['wordpressuser_' . COOKIEHASH]) &&
!wp_login($_COOKIE['wordpressuser_' . COOKIEHASH], $_COOKIE['wordpresspass_' . COOKIEHASH], true)) ||
(empty($_COOKIE['wordpressuser_' . COOKIEHASH])) ) {
header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
header('Expires: Wed, 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, max-age=0');
header('Pragma: no-cache');

View File

@ -24,7 +24,7 @@ case 'logout':
wp_clearcookie();
do_action('wp_logout');
header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
header('Expires: Wed, 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, max-age=0');
header('Pragma: no-cache');