WordPress.org

Make WordPress Core

Changeset 11119


Ignore:
Timestamp:
04/29/2009 06:25:49 AM (9 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r11118 r11119  
    691691    if ( ! isset($concatenate_scripts) ) {
    692692        $concatenate_scripts = defined('CONCATENATE_SCRIPTS') ? CONCATENATE_SCRIPTS : true;
    693         if ( ! is_admin() || ( $concatenate_scripts && -1 == get_user_option('concatenate_scripts') ) )
     693        if ( ! is_admin() || ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) )
    694694            $concatenate_scripts = false;
    695695    }
Note: See TracChangeset for help on using the changeset viewer.