Changeset 22283
- Timestamp:
- 10/23/2012 03:45:44 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp.php
r22118 r22283 382 382 @header("{$name}: {$field_value}"); 383 383 384 if ( isset( $headers['Last-Modified'] ) && empty( $headers['Last-Modified'] ) && function_exists( 'header_remove' ) ) 385 header_remove( 'Last-Modified' ); 386 384 387 if ( $exit_required ) 385 388 exit(); -
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.