[wp-cvs] wordpress/wp-includes functions.php,1.121,1.122

Michel Valdrighi michelvaldrighi at users.sourceforge.net
Mon Jun 14 23:16:06 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1483/wp-includes

Modified Files:
	functions.php 
Log Message:
rolling back the ob_gzhandler 'fix' because ob_get_status is php >4.1

Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.121
retrieving revision 1.122
diff -C2 -d -r1.121 -r1.122
*** functions.php	14 Jun 2004 22:43:27 -0000	1.121
--- functions.php	14 Jun 2004 23:16:03 -0000	1.122
***************
*** 433,440 ****
  
  	if( extension_loaded('zlib') ) {
! 		$ob_status = ob_get_status();
! 		if (empty($ob_status) || $ob_status['name'] != 'ob_gzhandler') {
! 			ob_start('ob_gzhandler');
! 		}
  	}
  }
--- 433,437 ----
  
  	if( extension_loaded('zlib') ) {
! 		ob_start('ob_gzhandler');
  	}
  }




More information about the cvs mailing list