Title: Disable jQuery Migrate
Author: ivanblagdan
Published: <strong>2015 年 10 月 7 日</strong>
Last modified: 2015 年 10 月 7 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/disable-jquery-migrate.svg)

# Disable jQuery Migrate

 作者：[ivanblagdan](https://profiles.wordpress.org/ivanblagdan/)

[下载](https://downloads.wordpress.org/plugin/disable-jquery-migrate.zip)

 * [详情](https://cn.wordpress.org/plugins/disable-jquery-migrate/#description)
 * [评价](https://cn.wordpress.org/plugins/disable-jquery-migrate/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/disable-jquery-migrate/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/disable-jquery-migrate/#developers)

 [支持](https://wordpress.org/support/plugin/disable-jquery-migrate/)

## 描述

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.

## 安装

 1. Upload contents of the plugin zip file to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Profit

## 常见问题

  Why is the jQuery-migrate needed?

There are still some dependencies in WP-Admin that require it to be present. Most
up-to-date frontend code and plugins don’t require it however so theres no reason
to load it there.

  Can this break my site?

Yes, possibly. Some plugins on your frontend might count on jquery-migrate beign
available

## 评价

![](https://secure.gravatar.com/avatar/bf4dca04bd4ffb1c8bf06dd45d6c24737b00fd725a52da296eae9346ca11b3cb?
s=60&d=retro&r=g)

### 󠀁[Does exactly what you need](https://wordpress.org/support/topic/does-exactly-what-you-need-4/)󠁿

 [Hex0dus](https://profiles.wordpress.org/hex0dus/) 2017 年 7 月 26 日

No idea why wordpress doesn’t allows to turn this annoying thing off – but this 
plugin helps instantly. Thank you!!!

![](https://secure.gravatar.com/avatar/411a32d10c0c8b507302901a1a8ec806cd7df727e0d7bdb9f87361a49ee9bb03?
s=60&d=retro&r=g)

### 󠀁[Works as expected!](https://wordpress.org/support/topic/works-as-expected-299/)󠁿

 [gtamborero](https://profiles.wordpress.org/gtamborero/) 2017 年 4 月 5 日

It removes the jquery migrate javacript file. After installing you have to test 
your site (open your browser with firebug / debug – F12) to make sure you are not
using old versions of jquery.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/disable-jquery-migrate/reviews/)

## 贡献者及开发者

「Disable jQuery Migrate」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ivanblagdan ](https://profiles.wordpress.org/ivanblagdan/)

[帮助将「Disable jQuery Migrate」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/disable-jquery-migrate)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/disable-jquery-migrate/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/disable-jquery-migrate/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/disable-jquery-migrate/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/disable-jquery-migrate/)。

## 更新日志

#### 1.0

 * Initial version

## 额外信息

 *  版本 **1.0**
 *  最后更新：**11 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.3.1 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/disable-jquery-migrate/)
 * 标签
 * [jquery](https://cn.wordpress.org/plugins/tags/jquery/)[jquery-migrate](https://cn.wordpress.org/plugins/tags/jquery-migrate/)
   [security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/disable-jquery-migrate/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/disable-jquery-migrate/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/disable-jquery-migrate/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/disable-jquery-migrate/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/disable-jquery-migrate/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/disable-jquery-migrate/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/disable-jquery-migrate/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/disable-jquery-migrate/reviews/)

## 贡献者

 *   [ ivanblagdan ](https://profiles.wordpress.org/ivanblagdan/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/disable-jquery-migrate/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://wordpress.org/)