Changeset 22283 for trunk/wp-includes/functions.php
- Timestamp:
- 10/23/2012 03:45:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r22276 r22283 903 903 $headers = array( 904 904 'Expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 905 'Last-Modified' => gmdate( 'D, d M Y H:i:s' ) . ' GMT',905 'Last-Modified' => '', 906 906 'Cache-Control' => 'no-cache, must-revalidate, max-age=0', 907 907 'Pragma' => 'no-cache', … … 927 927 foreach( $headers as $name => $field_value ) 928 928 @header("{$name}: {$field_value}"); 929 if ( empty( $headers['Last-Modified'] ) && function_exists( 'header_remove' ) ) 930 header_remove( 'Last-Modified' ); 929 931 } 930 932
Note: See TracChangeset
for help on using the changeset viewer.