From 5b1208ebc3b37450c0e831220fc81f72bc9e4e95 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 9 Apr 2008 19:02:13 +0000 Subject: [PATCH] Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk git-svn-id: http://svn.automattic.com/wordpress/trunk@7635 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/tiny_mce_config.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wp-includes/js/tinymce/tiny_mce_config.php b/wp-includes/js/tinymce/tiny_mce_config.php index ef3c7c480d..47e4191ec9 100644 --- a/wp-includes/js/tinymce/tiny_mce_config.php +++ b/wp-includes/js/tinymce/tiny_mce_config.php @@ -256,8 +256,6 @@ if ( $disk_cache && is_file($cache_file) && is_readable($cache_file) ) { if ( '.gz' == $cache_ext ) header( 'Content-Encoding: gzip' ); - header( 'Content-Length: ' . strlen($content) ); - echo $content; exit; } @@ -301,7 +299,6 @@ if ( '.gz' == $cache_ext ) { } // Stream to client -header( 'Content-Length: ' . strlen($content) ); echo $content; // Write file @@ -326,4 +323,4 @@ if ( '' != $cacheKey && is_dir($cache_path) && is_readable($cache_path) ) { putFileContents( $cache_file, $content ); } -?> +?> \ No newline at end of file