gpt4 book ai didi

javascript - Wordpress 多媒体库中的 JQUERY 错误

转载 作者:行者123 更新时间:2023-11-30 16:53:40 25 4
gpt4 key购买 nike

enter image description here使用最新版本的 Wordpress 我无法上传媒体。它显示来自调试器的消息:

Uncaught Error: Syntax error, unrecognized expression: a[rel=] load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,plupload,jquery-ui-core&ver=4.2.2:2 Uncaught Error: Syntax error, unrecognized expression: a[rel=]

It doesn't show any item and when I try to upload a photo, it keeps the same screen

这似乎是一个 jQuery 问题,我尝试从 wp-includes 和 upload.php 重新上传文件,但没有成功。

我们的项目不降级很重要,我该如何解决?

更新:要解决的关键错误(不是 a[rel=] 错误) enter image description here

更新 2:上传仍然失败,但现在只有 a[rel=] 错误 enter image description here

最佳答案

尝试将以下行添加到您的 wp-config.php 中,最好是在

之后
define ('WPLANG', '');

变成了

define ('WPLANG', '');
define ('CONCATENATE_SCRIPTS', false );

关于javascript - Wordpress 多媒体库中的 JQUERY 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30113631/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com