From 123cd6550a870d5b6497fbbbe2997a88d92ac38f Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 24 Apr 2008 01:25:33 +0000 Subject: [PATCH] Discard buffers. Props azaozz. fixes #6794 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@7804 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/tiny_mce_config.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-includes/js/tinymce/tiny_mce_config.php b/wp-includes/js/tinymce/tiny_mce_config.php index e7c04bce6e..34c0f19908 100644 --- a/wp-includes/js/tinymce/tiny_mce_config.php +++ b/wp-includes/js/tinymce/tiny_mce_config.php @@ -8,7 +8,10 @@ * * This file compresses the TinyMCE JavaScript using GZip. **/ - + +// Discard any buffers +while ( @ob_end_clean() ); + @ require('../../../wp-config.php'); function getFileContents($path) {