Changeset 1799 for trunk/wp-blog-header.php
- Timestamp:
- 10/14/2004 08:27:56 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-blog-header.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-blog-header.php
r1759 r1799 115 115 } else { 116 116 // We're showing a feed, so WP is indeed the only thing that last changed 117 $wp_last_modified = mysql2date('D, d M Y H:i:s', get_lastpostmodified('GMT'), 0).' GMT'; 117 if ( $withcomments ) 118 $wp_last_modified = mysql2date('D, d M Y H:i:s', get_lastcommentmodified('GMT'), 0).' GMT'; 119 else 120 $wp_last_modified = mysql2date('D, d M Y H:i:s', get_lastpostmodified('GMT'), 0).' GMT'; 118 121 $wp_etag = '"' . md5($wp_last_modified) . '"'; 119 @header( 'Last-Modified: '.$wp_last_modified);120 @header( 'ETag: '.$wp_etag);122 @header("Last-Modified: $wp_last_modified"); 123 @header("ETag: $wp_etag"); 121 124 @header ('X-Pingback: ' . get_bloginfo('pingback_url')); 122 125
Note: See TracChangeset
for help on using the changeset viewer.