Skip to content

Instantly share code, notes, and snippets.

@hfknight
Created November 24, 2013 16:49
Show Gist options
  • Save hfknight/7629280 to your computer and use it in GitHub Desktop.
Save hfknight/7629280 to your computer and use it in GitHub Desktop.
Quick Fix for Wordpress Visual Editor blank / not working
if you open browser development tool's console and find some javascript errors like "switchEditors is undefined" or "jquery is undefined", It appears that the new version of WordPress has some new performance optimisation features that concatenate all JavaScript resources into a single request.
Solution: put the following two lines of codes in wp-config.php:
define('CONCATENATE_SCRIPTS', false);
define('SCRIPT_DEBUG', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment