World of Leion

WordPress 2.1 Ella

by Leion on Jan.27, 2007, under Technology, Wordpress

It’s another new upgrade!

I had been looking forward to the upgrade for there is a better built in WYSISYG editor. I endured the urge to upgrade it on the day it was released. I had the fear that something might go wrong. True enough, when I upgraded it just now, the editor could not work as advertised. The java script could not work in my firefox nor IE. Hence I was left with a notepad for my editor. It is strange that FF does not complain an error while IE complained an error in the scripts.

 

I looked around the forums and find that many people had the same problem as I had. I was lucky that I was able to find the solution from one of the threads. An additional condition is needed in one of the logic in tiny_mce_gzip.php.

 

Taken from the solution page, line 131 should be modified to include one more conditional checking.

FILE : wp-includes/js/tinymce/tiny_mce_gzip.php
LINE : 131
CHANGES : if ((in_array(‘gzip’, $encodings) || in_array(‘x-gzip’, $encodings) || isset($_SERVER['---------------'])) && function_exists(‘ob_gzhandler’) && !ini_get(‘zlib.output_compression’) && get_settings(‘gzipcompression’)) {

The new condition to be added is in bold and underlined.

After I have applied the changes and uploaded the file, my brand new editor is up.

Nice autosaving and the tabbed switching is very much welcomed. Now I can do away with html editing with Dreamweaver.


Leave a Reply

Archives