Opened 12 years ago
Closed 12 years ago
#22948 closed defect (bug) (invalid)
SCRIPT_DEBUG no longer disables compression.
Reported by: | wycks | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
define( 'SCRIPT_DEBUG', true );
No longer disables compression, minify'd versions are still loaded for CS and JS.
Change History (5)
#2
@
12 years ago
There are two different things that SCRIPT_DEBUG does: turns off compression (i.e. gzip) and turns off concatenation (i.e. minification). SCRIPT_DEBUG still works for me in both cases, are you defining it too late in wp-config.php? (As in, after wp-settings.php?)
#3
@
12 years ago
- Keywords close added
Correct it was defines after wp-settings.php, defining it before works fine (it was a copy past from 3.4 config which seemed to work fine, weird.
#4
@
12 years ago
As odd as it may sound, wycks isn't entirely crazy, but it isn't a change in behaviour.
In both 3.4 and 3.5, Defining it after wp-settings include disables concatenation, but still results in the minified files being loaded.
If you define it before, it both disabled concatenation and loads non-minified versions
Not happening for me. Example?