[WordPress] 外掛分享: Enable jQuery Migrate Helper

首頁外掛目錄 › Enable jQuery Migrate Helper
90,000+
安裝啟用
★★★★
4.8/5 分(109 則評價)
447 天前
最後更新
0%
問題解決
WordPress 5.4+ PHP 5.6+ v1.4.1 上架:2020-08-09

內容簡介

隨著 WordPress 5.5 的更新,一個名為 jquery-migrate 的遷移工具不再默認啟用。這可能會導致一些主題或外掛在運行舊代碼時缺少功能或出現意外行為。

此外掛程式作為一個臨時的解決方案,可以啟用遷移腳本,讓您的外掛與主題作者有更多時間來更新和測試他們的代碼。

隨著 WordPress 5.6 的更新,所包含的 jQuery 版本也會升級。這意味著之前引起警告的舊代碼現在可能會導致錯誤或完全停止工作。

有些功能不再運作的問題可能會在幕後停止運作而不會出現明顯的問題。

此外掛程式會讓您在一定期限內降級到較早版本的 jQuery ,但作為網站管理員,您應鼓勵修復底層問題。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Enable jQuery Migrate Helper」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

With the update to WordPress 5.5, a migration tool known as jquery-migrate was no longer enabled by default. This may lead to lacking functionality or unexpected behavior in some themes or plugins that run older code.
This plugin serves as a temporary solution, enabling the migration script for your site to give your plugin and theme authors some more time to update, and test, their code.
With the update to WordPress 5.6, the included version of jQuery is also upgraded. This means that old code that previously caused warnings now may instead may cause errors or stop working entirely.
Some of the features no longer working will just stop working behind the scenes without any apparent problem.
The plugin will let you downgrade to a previous version of jQuery for a period, but as a site administrator you are encouraged to get the underlying issue fixed.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon