Don't send content length for tinymce config. Props azaozz. fixes #6524 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7635 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b1eff3aaf
commit
357e5567c7
@ -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 );
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
Reference in New Issue
Block a user