[wp-trac] [WordPress Trac] #21633: Switch to min.js convention

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 19 19:09:02 UTC 2012


#21633: Switch to min.js convention
-----------------------------+------------------------------
 Reporter:  nbachiyski       |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by 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.
 This would reduce the checks in a plugin.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21633#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list