WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/21/2011 04:32:01 PM (8 years ago)
Author:
azaozz
Message:

Support for using wp_enqueue_script() and wp_enqueue_style() in the HTML body. All scripts and styles are added in the footer, fixes #9346

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r17999 r18446  
    243243add_action( 'sanitize_comment_cookies',   'sanitize_comment_cookies'       );
    244244add_action( 'admin_print_scripts',        'print_head_scripts',      20    );
    245 add_action( 'admin_print_footer_scripts', 'print_footer_scripts',    20    );
     245add_action( 'admin_print_footer_scripts', 'wp_print_footer_scripts', 20    );
    246246add_action( 'admin_print_styles',         'print_admin_styles',      20    );
    247247add_action( 'init',                       'smilies_init',             5    );
Note: See TracChangeset for help on using the changeset viewer.