Use do_items rather than do_item so the output of the l10n script is recorded. Fixes #15124.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0441736806
commit
91a375041d
|
@ -639,7 +639,7 @@ function print_head_scripts() {
|
||||||
$wp_scripts = new WP_Scripts();
|
$wp_scripts = new WP_Scripts();
|
||||||
|
|
||||||
script_concat_settings();
|
script_concat_settings();
|
||||||
$wp_scripts->do_item( 'l10n' );
|
$wp_scripts->do_items( 'l10n' );
|
||||||
$wp_scripts->do_concat = $concatenate_scripts;
|
$wp_scripts->do_concat = $concatenate_scripts;
|
||||||
$wp_scripts->do_head_items();
|
$wp_scripts->do_head_items();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue