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