WordPress.org

Make WordPress Core

Ticket #2701: 2701h.diff

File 2701h.diff, 414 bytes (added by mdawaffe, 8 years ago)

Fix for call from wp_head

  • wp-includes/script-loader.php

     
    185185 * @see WP_Scripts::print_scripts() 
    186186 */ 
    187187function wp_print_scripts( $handles = false ) { 
     188        if ( !$handles ) 
     189                $handles = false; 
    188190        do_action( 'wp_print_scripts' ); 
    189191 
    190192        global $wp_scripts;