Apr 15 2008

Fix TinyMCE spellchecker failing on Gzip-ed sites

Published by Lord TCT at 6:44 pm under Wordpress

Wordpress

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).

No responses yet

Trackback URI | Comments RSS

Leave a Reply

Anti-spam challenge:
Sorry but you forced me to do this!