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:
Peter Westwood 2010-11-20 12:01:15 +00:00
parent 6e131a9694
commit bff457cfaf
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();