Force core to use .dev JavaScript files

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.

1 Answer
1

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.

Leave a Comment