admin管理员组文章数量:1318569
I've found other posts related to this, but none had a answer to my issue.
After updating to WP 3.4 my visual editor is broken.
Firebug reports this error
Failed to load: .js
wp-tin...9-20805 (linha 1)
I've tried setting the theme to a default theme and it WORKS.
So, is there any way I can determine what's causing this in order to fix it?
I've found other posts related to this, but none had a answer to my issue.
After updating to WP 3.4 my visual editor is broken.
Firebug reports this error
Failed to load: http://xxxxxx/wp-includes/js/tinymce/langs/pt.js
wp-tin...9-20805 (linha 1)
I've tried setting the theme to a default theme and it WORKS.
So, is there any way I can determine what's causing this in order to fix it?
Share Improve this question asked Jun 15, 2012 at 15:24 SouljackerSouljacker 2012 silver badges8 bronze badges3 Answers
Reset to default 1There shouldn't be a pt.js
file in that directory. There wasn't in 3.3.2 nor in 3.4. There's several possible issues that could be taking place, but my guess is that your WordPress install has been compromised and your theme files are corrupted. They are then trying to access that js file which is no longer there and it's no longer there because it's within the WordPress core which gets erased during an update.
Download your theme file and do a search for pt.js
. Also do a search for eval(base64_decode
and see if anything comes up.
I've noticed the error recently and came up with a quick fix to it. A simple plugin that basically copies locale files into the includes directory. Very preliminary but has done the trick for me so far.
Load languages from here and copy them into the plugin's langs
directory. I've included French (fr_FR.js
) by default as this is what I needed, but feel free to use it as you see fit.
Word of advice, though, once this plugin has run, I suggest you disable it as it will continuously check for the existence of those locales for no particular reason; just a little performance tip.
EDIT I am aware this is a less-than-ideal method, but as I mentionned, did the trick for me until the next update, at which point, if the problem returns, I will simply enable and disable the plugin again.
I resolve this problem when I create a blank pt.js
file into wp-includes/js/tinymce/langs/pt.js
and another one into wp-includes/js/tinymce/themes/advanced/langs/pt.js
本文标签: Tinymce broken after update
版权声明:本文标题:Tinymce broken after update 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742046731a2417828.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论