Use do_items rather than do_item so the output of the l10n script is recorded. Fixes #15124.
git-svn-id: https://develop.svn.wordpress.org/trunk@16504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6e131a9694
commit
bff457cfaf
@ -639,7 +639,7 @@ function print_head_scripts() {
|
||||
$wp_scripts = new WP_Scripts();
|
||||
|
||||
script_concat_settings();
|
||||
$wp_scripts->do_item( 'l10n' );
|
||||
$wp_scripts->do_items( 'l10n' );
|
||||
$wp_scripts->do_concat = $concatenate_scripts;
|
||||
$wp_scripts->do_head_items();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user