mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Don't concatenate scripts when SCRIPT_DEBUG is set, fixes #9675
git-svn-id: http://svn.automattic.com/wordpress/trunk@11119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6d535ce0c2
commit
5a922af756
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user