Make WordPress Core


Ignore:
Timestamp:
08/26/2011 08:31:30 PM (13 years ago)
Author:
azaozz
Message:

Fix action 'wp_print_footer_scropts' (on the front-end), see #11520

File:
1 edited

Legend:

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

    r18593 r18610  
    215215add_action( 'wp_head',             'wp_generator'                           );
    216216add_action( 'wp_head',             'rel_canonical'                          );
    217 add_action( 'wp_footer',           'wp_print_footer_scripts'                );
     217add_action( 'wp_footer',           'wp_print_footer_scripts',         20    );
    218218add_action( 'wp_head',             'wp_shortlink_wp_head',            10, 0 );
    219219add_action( 'template_redirect',   'wp_shortlink_header',             11, 0 );
     220add_action( 'wp_print_footer_scripts', '_wp_footer_scripts'                 );
    220221
    221222if ( isset( $_GET['replytocom'] ) )
     
    224225// Login actions
    225226add_action( 'login_head',          'wp_print_head_scripts',         9     );
    226 add_action( 'login_footer',        'wp_print_footer_scripts'              );
     227add_action( 'login_footer',        'wp_print_footer_scripts',       20    );
    227228add_action( 'login_init',          'send_frame_options_header',     10, 0 );
    228229
     
    245246add_action( 'sanitize_comment_cookies',   'sanitize_comment_cookies'                       );
    246247add_action( 'admin_print_scripts',        'print_head_scripts',                      20    );
    247 add_action( 'admin_print_footer_scripts', 'wp_print_footer_scripts',                 20    );
     248add_action( 'admin_print_footer_scripts', '_wp_footer_scripts'                             );
    248249add_action( 'admin_print_styles',         'print_admin_styles',                      20    );
    249250add_action( 'init',                       'smilies_init',                             5    );
Note: See TracChangeset for help on using the changeset viewer.