Title: Deprecated jQuery code
Last modified: January 26, 2021

---

# Deprecated jQuery code

 *  Resolved [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/)
 * As you know WordPress devs finally decided to upgrade to current JQuery version
   in 2020. Currently WP core uses latest Jquery + JQuery Migrate, but in the future
   JQuery Migrate will be gone and all deprecations will turn into errors.
    Your
   plugin has following deprecated code in edit-tags.js:
 *     ```
       jQuery.isArray
       jQuery.isFunction()
       jQuery.fn.focus()
       jQuery.fn.click()
       jQuery.fn.blur()
       jQuery.expr[\':\']
       jQuery.fn.keydown()
       jQuery.fn.bind()
       ```
   
 * Can you please update the code?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/#post-14081005)
 * Any reaction?
 *  Thread Starter [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/#post-14118788)
 * Hi, guys. Can you at least let me know what you think about it?
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/#post-14139060)
 * Hi [@titsmaker](https://wordpress.org/support/users/titsmaker/),
 * Thank you for bringing this to our attention, and apologies for the delay in 
   responding.
 * The errors come from a jQuery library we are using. It looks like it hasn’t been
   updated in a while, so I’ll make sure I rewrite the deprecated code in the next
   version.
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/#post-14149607)
 * This will be fixed in the next release, thank you once again [@titsmaker](https://wordpress.org/support/users/titsmaker/)
   for the early heads-up.
 *  Thread Starter [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/#post-14210343)
 * Just in case – I got one more notice from this library:
    `jQuery.trim is deprecated;
   use String.prototype.trim`
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/#post-14211067)
 * I’ve switched libraries completely to one without a jQuery dependency, so there
   shouldn’t be any issues with that, but thank you regardless.
 *  Thread Starter [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/#post-14211102)
 * It’s a wise move. Thank you for quick response.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Deprecated jQuery code’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/deprecated-jquery-code-2/#post-14211102)
 * Status: resolved