Ticket #32541: 32541.patch
File 32541.patch, 651 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/functions.wp-styles.php
55 55 _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ ); 56 56 57 57 global $wp_styles; 58 if ( ! ( $wp_styles instanceof WP_Styles ) ) { 59 if ( ! $handles ) { 60 return array(); // No need to instantiate if nothing is there. 61 } 58 if ( ! ( $wp_styles instanceof WP_Styles ) || ! $handles ) { 59 return array(); // No need to instantiate if nothing is there. 62 60 } 63 61 64 62 return $wp_styles->do_items( $handles );