Changeset 1983
- Timestamp:
- 12/19/2004 06:43:45 PM (21 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin.php
r1964 r1983 5 5 auth_redirect(); 6 6 7 header('Expires: Mon, 11 Jan 1984 05:00:00 GMT'); 8 header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 9 header('Cache-Control: no-cache, must-revalidate, max-age=0'); 10 header('Pragma: no-cache'); 7 11 8 12 $dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories"); -
trunk/wp-comments-post.php
r1974 r1983 39 39 header('Expires: Mon, 11 Jan 1984 05:00:00 GMT'); 40 40 header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 41 header('Cache-Control: no-cache, must-revalidate ');41 header('Cache-Control: no-cache, must-revalidate, max-age=0'); 42 42 header('Pragma: no-cache'); 43 43 -
trunk/wp-includes/functions.php
r1979 r1983 1561 1561 if ( (!empty($_COOKIE['wordpressuser_' . COOKIEHASH]) && 1562 1562 !wp_login($_COOKIE['wordpressuser_' . COOKIEHASH], $_COOKIE['wordpresspass_' . COOKIEHASH], true)) || 1563 1564 header('Expires: Wed, 5 Jun 1979 23:41:00 GMT'); // Michel's birthday1563 (empty($_COOKIE['wordpressuser_' . COOKIEHASH])) ) { 1564 header('Expires: Mon, 11 Jan 1984 05:00:00 GMT'); 1565 1565 header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 1566 header('Cache-Control: no-cache, must-revalidate ');1566 header('Cache-Control: no-cache, must-revalidate, max-age=0'); 1567 1567 header('Pragma: no-cache'); 1568 1568 -
trunk/wp-login.php
r1979 r1983 20 20 setcookie('wordpressuser_' . COOKIEHASH, ' ', time() - 31536000, COOKIEPATH); 21 21 setcookie('wordpresspass_' . COOKIEHASH, ' ', time() - 31536000, COOKIEPATH); 22 header('Expires: Mon, 11 Jan 1984 05:00:00 GMT'); 23 header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); 24 header('Cache-Control: no-cache, must-revalidate, max-age=0'); 25 header('Pragma: no-cache'); 22 26 23 27 header('Location: wp-login.php');
Note: See TracChangeset
for help on using the changeset viewer.