Make WordPress Core

Changeset 2552


Ignore:
Timestamp:
04/19/2005 05:24:05 PM (19 years ago)
Author:
matt
Message:

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

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin.php

    r2504 r2552  
    44auth_redirect();
    55
    6 header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
     6header('Expires: Wed, 11 Jan 1984 05:00:00 GMT');
    77header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
    88header('Cache-Control: no-cache, must-revalidate, max-age=0');
  • trunk/wp-comments-post.php

    r2490 r2552  
    5050setcookie('comment_author_url_' . COOKIEHASH, stripslashes($comment_author_url), time() + 30000000, COOKIEPATH);
    5151
    52 header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
     52header('Expires: Wed, 11 Jan 1984 05:00:00 GMT');
    5353header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
    5454header('Cache-Control: no-cache, must-revalidate, max-age=0');
  • trunk/wp-includes/pluggable-functions.php

    r2516 r2552  
    107107                !wp_login($_COOKIE['wordpressuser_' . COOKIEHASH], $_COOKIE['wordpresspass_' . COOKIEHASH], true)) ||
    108108             (empty($_COOKIE['wordpressuser_' . COOKIEHASH])) ) {
    109         header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
     109        header('Expires: Wed, 11 Jan 1984 05:00:00 GMT');
    110110        header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
    111111        header('Cache-Control: no-cache, must-revalidate, max-age=0');
  • trunk/wp-login.php

    r2548 r2552  
    2525    wp_clearcookie();
    2626    do_action('wp_logout');
    27     header('Expires: Mon, 11 Jan 1984 05:00:00 GMT');
     27    header('Expires: Wed, 11 Jan 1984 05:00:00 GMT');
    2828    header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
    2929    header('Cache-Control: no-cache, must-revalidate, max-age=0');
Note: See TracChangeset for help on using the changeset viewer.