[wp-trac] [WordPress Trac] #21633: Switch to min.js convention
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 19 20:21:23 UTC 2012
#21633: Switch to min.js convention
----------------------------+------------------
Reporter: nbachiyski | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------+------------------
Comment (by azaozz):
Replying to [comment:1 ocean90]:
> With this I would also give a vote for a new arg $dev in
WP_SCRIPTS/WP_STYLES API which controls minified files. If $dev is defined
in `wp_register_script` and SCRIPT_DEBUG is true load the minified file.
You mean the non-minified file.
The same could probably be accomplished by looking for `.min.js` or
`.min.css` in the registered script or stylesheet and expecting there are
non-minified versions without the suffix.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21633#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list