Mar 07 2007

TinyMCE bug in latest Wordpress

Published by jaseone at 7:30 pm under Uncategorized

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! :)

One Response to “TinyMCE bug in latest Wordpress”

  1. jaseoneon 07 Mar 2007 at 7:59 pm

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

Trackback URI | Comments RSS

Leave a Reply