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:
westi 2010-11-20 12:01:15 +00:00
parent 0441736806
commit 91a375041d
1 changed files with 1 additions and 1 deletions

View File

@ -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();