WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19510, comment 12


Ignore:
Timestamp:
12/12/11 06:30:07 (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19510, comment 12

    initial v1  
    66> 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. 
    77 
    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. 
     8Right. 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.