Fix TinyMCE spellchecker failing on Gzip-ed sites

Those who’d enabled Gzip through Litespeed (unconfirmed on other servers) might find that the spellchecker in WordPress 2.5 no longer works. This is due to TinyMCE not decompressing the compressed output into plain text (my speculation).

To fix this, edit /wp-includes/js/tinymce/plugins/spellchecker/rpc.php

Change the following line:

header(‘Content-Type: text/plain’);

to

header(‘Content-Type: text/xml’);

or anything that Litespeed is not set to compress (Usually anything other than text/plain, text/html and application/x-php).

It's very calm over here, why not leave a comment?

Leave a Reply




Akismet verifies all comments posted here to screen for spams. If your post fails, please try again by removing links, suspicious and random words.