Changeset 18610
- Timestamp:
- 08/26/2011 08:31:30 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-filters.php
r18593 r18610 215 215 add_action( 'wp_head', 'wp_generator' ); 216 216 add_action( 'wp_head', 'rel_canonical' ); 217 add_action( 'wp_footer', 'wp_print_footer_scripts' 217 add_action( 'wp_footer', 'wp_print_footer_scripts', 20 ); 218 218 add_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 ); 219 219 add_action( 'template_redirect', 'wp_shortlink_header', 11, 0 ); 220 add_action( 'wp_print_footer_scripts', '_wp_footer_scripts' ); 220 221 221 222 if ( isset( $_GET['replytocom'] ) ) … … 224 225 // Login actions 225 226 add_action( 'login_head', 'wp_print_head_scripts', 9 ); 226 add_action( 'login_footer', 'wp_print_footer_scripts' 227 add_action( 'login_footer', 'wp_print_footer_scripts', 20 ); 227 228 add_action( 'login_init', 'send_frame_options_header', 10, 0 ); 228 229 … … 245 246 add_action( 'sanitize_comment_cookies', 'sanitize_comment_cookies' ); 246 247 add_action( 'admin_print_scripts', 'print_head_scripts', 20 ); 247 add_action( 'admin_print_footer_scripts', ' wp_print_footer_scripts', 20);248 add_action( 'admin_print_footer_scripts', '_wp_footer_scripts' ); 248 249 add_action( 'admin_print_styles', 'print_admin_styles', 20 ); 249 250 add_action( 'init', 'smilies_init', 5 ); -
trunk/wp-includes/script-loader.php
r18609 r18610 627 627 628 628 /** 629 * Hooks to print the scripts and styles in the footer.630 * 631 * @since 2.8632 */ 633 function wp_print_footer_scripts() {629 * Private, for use in *_footer_scripts hooks 630 * 631 * @since 3.3 632 */ 633 function _wp_footer_scripts() { 634 634 print_late_styles(); 635 635 print_footer_scripts(); 636 637 if ( !is_admin() ) 638 do_action('wp_print_footer_scripts'); 639 640 return true; 636 } 637 638 /** 639 * Hooks to print the scripts and styles in the footer. 640 * 641 * @since 2.8 642 */ 643 function wp_print_footer_scripts() { 644 do_action('wp_print_footer_scripts'); 641 645 } 642 646
Note: See TracChangeset
for help on using the changeset viewer.