Ensure translations are loaded properly in TinyMCE when using the compressed version
git-svn-id: http://svn.automattic.com/wordpress/trunk@10384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
38ab20699d
commit
ab30688c26
|
@ -1316,20 +1316,19 @@ tinyMCEPreInit = {
|
|||
</script>
|
||||
|
||||
<?php
|
||||
if ( $concatenate_scripts ) {
|
||||
echo "<script type='text/javascript' src='$baseurl/wp-tinymce.php?c=$zip&ver=$ver'></script>";
|
||||
} else {
|
||||
echo "<script type='text/javascript' src='$baseurl/tiny_mce.js?ver=$ver'></script>";
|
||||
if ( $concatenate_scripts )
|
||||
echo "<script type='text/javascript' src='$baseurl/wp-tinymce.php?c=$zip&ver=$ver'></script>\n";
|
||||
else
|
||||
echo "<script type='text/javascript' src='$baseurl/tiny_mce.js?ver=$ver'></script>\n";
|
||||
|
||||
if ( 'en' != $language && isset($lang) )
|
||||
echo "<script type='text/javascript'>\n$lang\n</script>";
|
||||
else
|
||||
echo "<script type='text/javascript' src='$baseurl/langs/wp-langs-en.js?ver=$ver'></script>";
|
||||
}
|
||||
if ( 'en' != $language && isset($lang) )
|
||||
echo "<script type='text/javascript'>\n$lang\n</script>\n";
|
||||
else
|
||||
echo "<script type='text/javascript' src='$baseurl/langs/wp-langs-en.js?ver=$ver'></script>\n";
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
<?php if ( $ext_plugins ) echo $ext_plugins; ?>
|
||||
<?php if ( $ext_plugins ) echo "$ext_plugins\n"; ?>
|
||||
<?php if ( $concatenate_scripts ) { ?>
|
||||
tinyMCEPreInit.go();
|
||||
<?php } else { ?>
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue