Opened 14 years ago
Closed 14 years ago
#22948 closed defect (bug) (invalid)
SCRIPT_DEBUG no longer disables compression.
| Reported by: | wycks | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.5 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
define( 'SCRIPT_DEBUG', true );
No longer disables compression, minify'd versions are still loaded for CS and JS.
Change History (5)
#2
@
14 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
@
14 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
@
14 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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Not happening for me. Example?