zoukankan      html  css  js  c++  java
  • Wordpress 升级后jQuery 出Bug解决方法——How to Fix the WordPress 5.5 jQuery Problem

    升级到新版本的 Wordpress 5.5 后,突然主题的部分功能使用不了,然后出现了bug. 

    因为官方默认禁用了 jQuery Migrate Helper

    According to WordPress page for the jQuery Migrate Helper:

    “With the update to WordPress 5.5, a migration tool known as jquery-migrate will no longer be enabled by default.

    This may lead to unexpected behaviors in some themes or plugins who run older code.”

    快速解决方案: 

    这时自己改又不太会搞,还好搜索了一下,可以安装一个插件 "Enable jQuery Migrate Helper" ,这样就可以继续使用低版本的jQuery 了,主题功能恢复正常。

    当然长远来看的话,还是需要修改代码适用新的 jQuery 。

    參考:https://www.searchenginejournal.com/how-to-fix-wordpress-5-5/378452/

  • 相关阅读:
    systemmap 使用记录
    reading code record
    吞吐问题
    debug cps 原因
    fopen的a+和rewind
    debug cps && perf debug
    tfo以及quic的阅读笔记
    ss 和netstat
    debug open files
    多核编程 local global
  • 原文地址:https://www.cnblogs.com/ling3blog/p/13994599.html
Copyright © 2011-2022 走看看