WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if there's some constant telling WordPress not to use the minified versions of scripts but instead load .dev ones. Already tried define('SCRIPT_DEBUG', true); but it only turned off script unification.

share|improve this question
up vote 6 down vote accepted

I use a combination of constants on my local install.

define('CONCATENATE_SCRIPTS', false);
define('COMPRESS_SCRIPTS', false); // <--- this is likely the one you're after
define('COMPRESS_CSS', false);
define('SCRIPT_DEBUG', true);

I'd imagine the second constant listed above is the one you're after.

share|improve this answer
Could be me, but that didn't make it. Does it matter where in the wp-config those are dropped in? I put them at the end – Zlatev Jul 28 '11 at 8:31
You may need to define them before the require line, mine are placed just before the $table_prefix var is set, and it works just fine for me.. – t31os Jul 28 '11 at 8:36
Thanks, that fixed it. – Zlatev Jul 28 '11 at 10:41
You're welcome. :) – t31os Jul 28 '11 at 11:08
All I needed was to add the 'SCRIPT_DEBUG' and WordPress started using the .dev.js versions. – Tom Auger Feb 14 '12 at 21:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.