3

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.

6

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.

  • 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
  • 2
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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