Turn Dev Javascript on in WordPress

Recently working with WordPress I was having trouble in a core JavaScript file that was minified. The .dev.js unminfied versions were clearly available, so I knew there had to be a way to use them instead.

Sure enough, add this line to wp-config.php to use development javascript:

define('SCRIPT_DEBUG', true);
  • Leave a Comment

  • http://www.russellheimlich.com/blog kingkool68

    Awesome sauce. Thanks for taking the time to blog it.