From 5a70341e37f995939eecd87663ea24bbd1b84c54 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 24 Apr 2008 01:25:33 +0000 Subject: [PATCH] Discard buffers. Props azaozz. fixes #6794 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@7804 602fd350-edb4-49c9-b593-d223f7449a82 --- 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) {