Changeset 12214 for trunk/wp-admin/load-styles.php
- Timestamp:
- 11/19/2009 09:46:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/load-styles.php
r11204 r12214 138 138 header("Cache-Control: public, max-age=$expires_offset"); 139 139 140 if ( $compress && ! ini_get('zlib.output_compression') && 'ob_gzhandler' != ini_get('output_handler') ) {140 if ( $compress && ! ini_get('zlib.output_compression') && 'ob_gzhandler' != ini_get('output_handler') && isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) { 141 141 header('Vary: Accept-Encoding'); // Handle proxies 142 142 if ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'deflate') && function_exists('gzdeflate') && ! $force_gzip ) {
Note: See TracChangeset
for help on using the changeset viewer.