Changes in trunk/wp-admin/load-scripts.php [17630:14442]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/load-scripts.php
r17630 r14442 86 86 * @ignore 87 87 */ 88 function includes_url() {}89 90 /**91 * @ignore92 */93 88 function wp_guess_url() {} 94 89 … … 135 130 if ( $compress && ! ini_get('zlib.output_compression') && 'ob_gzhandler' != ini_get('output_handler') && isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) { 136 131 header('Vary: Accept-Encoding'); // Handle proxies 137 if ( false !== str ipos($_SERVER['HTTP_ACCEPT_ENCODING'], 'deflate') && function_exists('gzdeflate') && ! $force_gzip ) {132 if ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'deflate') && function_exists('gzdeflate') && ! $force_gzip ) { 138 133 header('Content-Encoding: deflate'); 139 134 $out = gzdeflate( $out, 3 ); 140 } elseif ( false !== str ipos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') ) {135 } elseif ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') && function_exists('gzencode') ) { 141 136 header('Content-Encoding: gzip'); 142 137 $out = gzencode( $out, 3 );
Note: See TracChangeset
for help on using the changeset viewer.