Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21633, comment 1


Ignore:
Timestamp:
08/20/2012 08:04:45 AM (12 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21633, comment 1

    initial v1  
    1 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.
     1With 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 non-minified file. This would reduce the checks in a plugin.