Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@6218 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-10-10 18:51:12 +00:00
parent 93014f5c00
commit 3df52cab4b

View File

@ -179,8 +179,8 @@ class WP_Scripts {
$src = add_query_arg('ver', $ver, $src);
$src = clean_url(apply_filters( 'script_loader_src', $src ));
echo "<script type='text/javascript' src='$src'></script>\n";
$this->print_scripts_l10n( $handle );
echo "<script type='text/javascript' src='$src'></script>\n";
}
$this->printed[] = $handle;
}