Opened 17 years ago
Closed 16 years ago
#1891 closed enhancement (fixed)
minify/compress BP javascript
| Reported by: | DJPaul | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.5 |
| Component: | Version: | ||
| Severity: | Keywords: | javascript | |
| Cc: |
Description
We should minify (or compress in some way) the default theme javascript, as there's quite a lot of it. We can package a uncompressed .dev.js version with the theme for developers to be able to read/load from (use the WordPress SCRIPT_DEBUG constant for this).
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Great idea, DJPaul!
I was worried about the pre-bundled JS scripts in global.js (#1673) that I didn't think about minifying the whole thing!
I'd say this is more of an enhancement than a defect though.