WordPress.org

Make WordPress Core

Changeset 11455


Ignore:
Timestamp:
05/25/2009 11:14:39 AM (9 years ago)
Author:
azaozz
Message:

Add a hook in print_footer_scripts as in print_head_scripts, props arena, fixes #9856

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r11450 r11455  
    579579    global $wp_scripts, $concatenate_scripts;
    580580
     581    if ( ! did_action('wp_print_footer_scripts') )
     582        do_action('wp_print_footer_scripts');
     583
    581584    if ( !is_a($wp_scripts, 'WP_Scripts') )
    582585        return array(); // No need to run if not instantiated.
Note: See TracChangeset for help on using the changeset viewer.