Make WordPress Core

Changeset 1023


Ignore:
Timestamp:
03/29/2004 04:15:59 AM (21 years ago)
Author:
michelvaldrighi
Message:

aggregator users will love me for this, a GMT-compliant Last-Modified header ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-blog-header.php

    r1000 r1023  
    8585} else {
    8686    // We're showing a feed, so WP is indeed the only thing that last changed
    87     @header('Last Modified: ' . gmdate(get_lastpostmodified()));
     87    @header('Last Modified: ' . mysql2date("D, d M Y H:i:s", get_lastpostmodified('GMT')).' GMT');
    8888    @header ('X-Pingback: ' . get_settings('siteurl') . '/xmlrpc.php');
    8989}
Note: See TracChangeset for help on using the changeset viewer.