Make WordPress Core

Ticket #22258: 22258.1.diff

File 22258.1.diff, 498 bytes (added by andy, 12 years ago)

Empty Last-Modified

  • wp-includes/functions.php

     
    902902function wp_get_nocache_headers() {
    903903        $headers = array(
    904904                'Expires' => 'Wed, 11 Jan 1984 05:00:00 GMT',
    905                 'Last-Modified' => gmdate( 'D, d M Y H:i:s' ) . ' GMT',
     905                'Last-Modified' => '',
    906906                'Cache-Control' => 'no-cache, must-revalidate, max-age=0',
    907907                'Pragma' => 'no-cache',
    908908        );