Title: Remove jQuery Migrate
Author: Hendy Tan
Published: <strong>2017 年 10 月 26 日</strong>
Last modified: 2023 年 1 月 25 日

---

搜索插件

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

![](https://ps.w.org/remove-jquery-migrate/assets/icon-256x256.png?rev=1755793)

# Remove jQuery Migrate

 作者：[Hendy Tan](https://profiles.wordpress.org/frosdqy/)

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

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

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

## 描述

This plugin removes jQuery Migrate script (jquery-migrate.min.js or jquery-migrate.
js) from your WordPress site’s [front end](https://wordpress.org/documentation/article/wordpress-glossary/#front-end)
when the plugin is active. To bring back the removed jQuery Migrate script, simply
deactivate this plugin.

To check whether jQuery Migrate is required in the front end, you could use the 
development version of jQuery Migrate (unminified version) by temporarily turning
on [SCRIPT_DEBUG](https://wordpress.org/documentation/article/debugging-in-wordpress/#script_debug)
mode in wp-config.php file. The development version shows warnings in the browser
console when removed and/or deprecated jQuery APIs are used.

For more info about jQuery Migrate, visit [here](https://github.com/jquery/jquery-migrate#readme).

GitHub: [https://github.com/icaru12/remove-jquery-migrate](https://github.com/icaru12/remove-jquery-migrate)

## 安装

 1. From your WordPress dashboard, go to **Plugins** > **Add New**
 2. Search for **Remove jQuery Migrate**
 3. Click **Install Now**
 4. Activate the plugin
 5. Done!

## 评价

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

### 󠀁[Still working for me on WP 6.8.1](https://wordpress.org/support/topic/still-working-for-me-on-wp-6-8-1/)󠁿

 [Brian Shim](https://profiles.wordpress.org/brianrshim/) 2025 年 5 月 26 日

This plugin is still doing its job of removing jquery-migrate from my sites with
WordPress V6.8.1 – I confirmed by looking at the source code before and after activation.
Many thanks!

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

### 󠀁[good](https://wordpress.org/support/topic/good-6295/)󠁿

 [cantoostinato8989](https://profiles.wordpress.org/cantoostinato8989/) 2021 年 
3 月 19 日

This plugin works very good with WP 4.9, but i can say that it is usless with WP
5.5 And they say – with the WordPress 5.5 update, the migration tool known as jquery-
migrate is no longer enabled by default.

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

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-8113/)󠁿

 [Selah](https://profiles.wordpress.org/tubescreamer/) 2021 年 1 月 23 日

Did exactly what I needed it to do after the update to Wordpress 5.6 broke my site
due to the jQuery Migrate plugin.

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

### 󠀁[It does the job!](https://wordpress.org/support/topic/it-does-the-job-52/)󠁿

 [gtamborero](https://profiles.wordpress.org/gtamborero/) 2019 年 7 月 23 日

Works correctly up to Wordpress 5.2.2 and probably more

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

### 󠀁[Very lightweight – only a dozen lines of code](https://wordpress.org/support/topic/very-lightweight-only-a-dozen-lines-of-code/)󠁿

 [roam92](https://profiles.wordpress.org/roam92/) 2019 年 2 月 28 日

Does what it says, stops the jquery-migrate JavaScript library from loading on your
WordPress website. It’s recommended to delete such unneeded calls & loads if your
visitor-facing site uses jQuery, but none of your plugins require the jQuery Migrate
library. “What is jQuery Migrate? The jQuery Migrate module (jquery-migrate.min.
js) is a javascript library that preserves compatibility of jQuery code developed
for versions of jQuery older than 1.9. JQuery Migrate also allows developers to 
detect deprecated code that is no longer supported by the latest jQuery libraries
and to adapt it according to the newest versions of jQuery 1.9 and higher.” jQuery
is currently on version 3.x, so modern plugins should not need the migrate library.
But if something does happen to break, then you can always uninstall this plugin.

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

### 󠀁[Awesome keep going](https://wordpress.org/support/topic/awesome-keep-going/)󠁿

 [mariushosting](https://profiles.wordpress.org/marius84/) 2018 年 1 月 31 日

Awesome plugin, work perfect!

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

## 贡献者及开发者

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

贡献者

 *   [ Hendy Tan ](https://profiles.wordpress.org/frosdqy/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.3

 * Minor code improvement
 * Tested up to WordPress 6.0

#### 1.0.2

 * Tested up to WordPress 5.4

#### 1.0.1

 * Added function_exists check.

#### 1.0

 * Initial release.

## 额外信息

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

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Hendy Tan ](https://profiles.wordpress.org/frosdqy/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6AD46HAX3URN4)