mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Fix action 'wp_print_footer_scropts' (on the front-end), see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18610 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -625,19 +625,23 @@ function wp_print_head_scripts() {
|
||||
return print_head_scripts();
|
||||
}
|
||||
|
||||
/**
|
||||
* Private, for use in *_footer_scripts hooks
|
||||
*
|
||||
* @since 3.3
|
||||
*/
|
||||
function _wp_footer_scripts() {
|
||||
print_late_styles();
|
||||
print_footer_scripts();
|
||||
}
|
||||
|
||||
/**
|
||||
* Hooks to print the scripts and styles in the footer.
|
||||
*
|
||||
* @since 2.8
|
||||
*/
|
||||
function wp_print_footer_scripts() {
|
||||
print_late_styles();
|
||||
print_footer_scripts();
|
||||
|
||||
if ( !is_admin() )
|
||||
do_action('wp_print_footer_scripts');
|
||||
|
||||
return true;
|
||||
do_action('wp_print_footer_scripts');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user