WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
12/12/2011 06:06:01 AM (6 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19510, comment 10

    initial v1  
    11Replying to [comment:8 azaozz]:
    2 > You mean if there's a style handle, we don't run the action? That may work too.
     2{{{
     3function wp_print_styles( $handles = false ) {
     4  if ( empty($handles) )
     5    do_action( 'wp_print_styles' );
     6...
     7}}}
    38
    49Yes, that would be a better fix for the problem I was thinking about: