John's Home
Just another WordPress site

wordpress后台“添加媒体”和“插入和编辑链接”按钮点击没反应解决方案

在博客目录下找到wp-config.php这个文件,在文件最后加上

define(‘CONCATENATE_SCRIPTS’, false );

试了一下方法可行,后来在官网找到了说明:

Disable Javascript Concatenation

To result in a faster administration area, all Javascript files are concatenated into one URL. If Javascript is failing to work in your administration area, you can try disabling this feature:
define(‘CONCATENATE_SCRIPTS’, false);

其实wordpress为了提高效率要求你所有的js要集中到一起,我检查了下主题,果然有js分开放的,于是更改路径集中存放,问题迎刃而解!

2016-02-10
暂无评论

Leave a Reply

You must be logged in to post a comment.