內容簡介
這是一個簡單的外掛,可以在前端禁用 jquery-migrate,以避免 jQuery Migrate 1.2.1 的 XSS 漏洞。
詳細說明請參考此處: https://github.com/jquery/jquery-migrate/issues/36
同時間也減少了一個需要加載的事項。
我們要感謝此討論串中的人們: https://wordpress.org/support/topic/removing-the-default-jquery-and-migrate-from-the-header-in-last-version-of-wp?replies=6。
外掛標籤
開發者團隊
原文外掛簡介
A simple plugin to disable loading of jquery-migrate on the frontend due to a XSS vulerability of jQuery Migrate 1.2.1.
More details here: https://github.com/jquery/jquery-migrate/issues/36
It’s also one thing less to load where it counts.
Props to people in this thread: https://wordpress.org/support/topic/removing-the-default-jquery-and-migrate-from-the-header-in-last-version-of-wp?replies=6.
