Output localized strings before outputting js. Props mdawaffe. fixes #5177 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
88735ac45a
commit
40a2a02cb1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue