[wordpress插件] Disable jQuery Migrate禁用jQuery迁移

wordpress 插件 文章 2020-04-18 04:20 558 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

A simple plugin to disable loading of jquery-migrate on the frontend due to a XSS vulerability of jQuery Migrate 1.2.1.

由于jQuery Migrate 1.2.1的XSS漏洞,一个简单的插件可以在前端禁用jquery-migrate的加载。

More details here: https://github.com/jquery/jquery-migrate/issues/36

此处有更多详细信息: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/topicemoving-the-default-jquery-and-migrate-from-the-header-in-last-version-of-wp?

此线程中的人的道具:https://wordpress.org/support/topicemoving-the-default-jquery-and-migrate-from-the-header-in-last-version-of-wp?

replies=6.

回复= 6。

安装步骤

    1. Upload contents of the plugin zip file to the /wp-content/plugins/ directory
    2. 将插件zip文件的内容上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Profit
    6. 利润

下载地址
https://downloads.wordpress.org/plugin/disable-jquery-migrate.zip
-EOF-

AI助手支持GPT4.0