Mar 07 2007
TinyMCE bug in latest Wordpress
I just came across a small bug in TinyMCE in the latest Wordpress (I use SVN so I’m not sure when the bug was introduced) that was preventing the WYSIWYG editor from displaying on the write post and other editing pages. The problem is a misplaced comma in /wp-includes/js/tinymce/tiny_mce_config.php.
Edit that file and then goto line 82 or there abouts, which should be a big array for initArray, you need to edit the below code:
imp_version : "< ?php echo intval($_GET['ver']); ?>“,
< ?php do_action('mce_options'); ?>
plugins : “< ?php echo $plugins; ?>“
So it looks like:
imp_version : "< ?php echo intval($_GET['ver']); ?>“
< ?php do_action('mce_options'); ?>,
plugins : “< ?php echo $plugins; ?>“
That should be it, any questions then drop me a comment!
Okay so the code tags didn’t work first time around but it should be good now.
(This also serves as a test to ensure comments are sill working).