Changes between Initial Version and Version 1 of Ticket #19510, comment 12
- Timestamp:
- 12/12/2011 06:30:07 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19510, comment 12
initial v1 6 6 > b) as a wrapper for {{{$wp_styles->do_items( $handle )}}}, in which it doesn't make sense to fire the hook, even with a parameter, due to the way it's already used in the wild. 7 7 8 Right. The same is true for both `wp_print_scripts()` and `wp_print_styles()`. It doesn't make sense to run the hooks when used as shortcuts to `$wp_styles->do_items( )` and `$wp_scripts->do_items()`. Until 3.3 this wasn't causing problems as these hooks didn't matter when run mid-page.8 Right. The same is true for both `wp_print_scripts()` and `wp_print_styles()`. It doesn't make sense to run the hooks when used as shortcuts to `$wp_styles->do_items('handle')` and `$wp_scripts->do_items('handle')`. Until 3.3 this wasn't causing problems as these hooks didn't matter when run mid-page.