Changes between Initial Version and Version 1 of Ticket #22249, comment 15
- Timestamp:
- 11/24/2014 04:09:47 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22249, comment 15
initial v1 2 2 - Change `$in_footer` param for `wp_register_script` and `wp_enqueue_script` to an `$args` array where 'attributes' could be passed with an array of attribute key/value pairs. Also accepts 'in_footer' as a parameter and has a back-compat check for a passed non-array value. 3 3 - Includes the `src` attribute/value, the `type` attribute/value, and any attributes passed in via the new `$args` param on `wp_register_script` and `wp_enqueue_script` in the array of attributes passed to the new `script_loader_attributes` filter. 4 5 If this passes muster, and all agree, I can apply the same treatment to the css side of things.