Changes in trunk/wp-admin/load-scripts.php [11204:12214]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/load-scripts.php
r11204 r12214 128 128 header("Cache-Control: public, max-age=$expires_offset"); 129 129 130 if ( $compress && ! ini_get('zlib.output_compression') && 'ob_gzhandler' != ini_get('output_handler') ) {130 if ( $compress && ! ini_get('zlib.output_compression') && 'ob_gzhandler' != ini_get('output_handler') && isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) { 131 131 header('Vary: Accept-Encoding'); // Handle proxies 132 132 if ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'deflate') && function_exists('gzdeflate') && ! $force_gzip ) {
Note: See TracChangeset
for help on using the changeset viewer.