From b80673128026fdde562365a24997a99cd9306a0f Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Mon, 14 Jun 2004 23:16:03 +0000 Subject: [PATCH] rolling back the ob_gzhandler 'fix' because ob_get_status is php >4.1 git-svn-id: http://svn.automattic.com/wordpress/trunk@1426 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 88d8f1eee0..2955c10884 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -432,10 +432,7 @@ function gzip_compression() { if ( !get_settings('gzipcompression') ) return false; if( extension_loaded('zlib') ) { - $ob_status = ob_get_status(); - if (empty($ob_status) || $ob_status['name'] != 'ob_gzhandler') { - ob_start('ob_gzhandler'); - } + ob_start('ob_gzhandler'); } }