Changeset 37944
- Timestamp:
- 07/04/2016 04:01:19 AM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r37914 r37944 175 175 header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 176 176 header( 'Cache-Control: no-cache, must-revalidate, max-age=0' ); 177 header( 'Pragma: no-cache' );178 177 header('Content-Type: application/javascript; charset=UTF-8'); 179 178 $force_gzip = ( defined('ENFORCE_GZIP') && ENFORCE_GZIP ); -
trunk/src/wp-includes/functions.php
r37932 r37944 1100 1100 'Expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 1101 1101 'Cache-Control' => 'no-cache, must-revalidate, max-age=0', 1102 'Pragma' => 'no-cache',1103 1102 ); 1104 1103 … … 1116 1115 * @type string $Expires Expires header. 1117 1116 * @type string $Cache-Control Cache-Control header. 1118 * @type string $Pragma Pragma header.1119 1117 * } 1120 1118 */
Note: See TracChangeset
for help on using the changeset viewer.