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
This commit is contained in:
parent
77be80f02c
commit
5b1208ebc3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue