Don't concatenate scripts when SCRIPT_DEBUG is set, fixes #9675

git-svn-id: https://develop.svn.wordpress.org/trunk@11119 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-04-29 06:25:49 +00:00
parent 4a911beaf3
commit ff35abc77e

View File

@ -690,7 +690,7 @@ function script_concat_settings() {
if ( ! isset($concatenate_scripts) ) {
$concatenate_scripts = defined('CONCATENATE_SCRIPTS') ? CONCATENATE_SCRIPTS : true;
if ( ! is_admin() || ( $concatenate_scripts && -1 == get_user_option('concatenate_scripts') ) )
if ( ! is_admin() || ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) )
$concatenate_scripts = false;
}