Changeset 10466 for trunk/wp-admin/load-scripts.php
- Timestamp:
- 01/30/2009 01:45:05 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/load-scripts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/load-scripts.php
r10442 r10466 90 90 91 91 if ( isset($_GET['test']) && 1 == $_GET['test'] ) { 92 if ( ini_get('zlib.output_compression') )92 if ( ini_get('zlib.output_compression') || 'ob_gzhandler' == ini_get('output_handler') ) 93 93 exit(''); 94 94 … … 144 144 header("Cache-Control: public, max-age=$expires_offset"); 145 145 146 if ( $compress && ! ini_get('zlib.output_compression') ) {146 if ( $compress && ! ini_get('zlib.output_compression') && 'ob_gzhandler' != ini_get('output_handler') ) { 147 147 header('Vary: Accept-Encoding'); // Handle proxies 148 148 if ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'deflate') && function_exists('gzdeflate') && ! $force_gzip ) {
Note: See TracChangeset
for help on using the changeset viewer.