mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: https://develop.svn.wordpress.org/trunk@6775 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -403,13 +403,6 @@ function maybe_serialize( $data ) {
|
||||
}
|
||||
|
||||
|
||||
function gzip_compression() {
|
||||
if ( !get_option( 'gzipcompression' ) || ini_get( 'zlib.output_compression' ) == 'On' || ini_get( 'zlib.output_compression_level' ) > 0 || ini_get( 'output_handler' ) == 'ob_gzhandler' || !extension_loaded( 'zlib' ) )
|
||||
return false;
|
||||
ob_start( 'ob_gzhandler' );
|
||||
}
|
||||
|
||||
|
||||
function make_url_footnote( $content ) {
|
||||
preg_match_all( '/<a(.+?)href=\"(.+?)\"(.*?)>(.+?)<\/a>/', $content, $matches );
|
||||
$j = 0;
|
||||
|
||||
Reference in New Issue
Block a user