Broken WordPress Visual Editor and Admin pages? There’s a strange fix for that.

If you like me after updating to the latest wordpress version have troubles and JS errors while starting a new post or browsing through the admin pages you need to edit your wp-config.php file in your WordPress installation directory and add at the top:

define(‘SCRIPT_DEBUG’, true);

Save the file and refresh the pages, browse through the admin pages, start a new post. Everything is looking fine now.

This fix is not a total solution but it works so far so let’s see what the next update will do for us.