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/

  • 相关阅读:
    将Excel嵌入你的.Net程序
    调用资源文件
    Socket Error# Description
    LPCTSTR 和其它
    linux send and recv详解
    stdafx.h的作用
    setsocketopt() usage
    openfire源码入门级分析
    openfire分析
    关于xmpp
  • 原文地址:https://www.cnblogs.com/ling3blog/p/13994599.html
Copyright © 2011-2022 走看看