Title: Deprecated JQuery code
Last modified: January 25, 2021

---

# Deprecated JQuery code

 *  Resolved [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/deprecated-jquery-code/)
 * As you know WordPress devs have finaly 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 is using jQuery.fn.click() event shorthand which is deprecated in JQuery
   3, can you please update the code?

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

 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/deprecated-jquery-code/#post-13956129)
 * [@titsmaker](https://wordpress.org/support/users/titsmaker/) we don’t actually
   have any jQuery code whatsoever:
 * [https://plugins.trac.wordpress.org/browser/disable-cart-fragments/tags/1.21/disable-cart-fragments.php](https://plugins.trac.wordpress.org/browser/disable-cart-fragments/tags/1.21/disable-cart-fragments.php)
   (
   check lines 115 through 138)
 * Any chance you’re referring to another plugin? There is a very old plugin with
   the same name, also called Disable Cart Fragments (but not by Optimocha).
 *  Thread Starter [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/deprecated-jquery-code/#post-13956153)
 * The code is in dismiss-notice.js
 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/deprecated-jquery-code/#post-13956165)
 * [@titsmaker](https://wordpress.org/support/users/titsmaker/) oh, that! Okay, 
   we’ll update it as soon as possible. Thanks!
 *  Thread Starter [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [5 years ago](https://wordpress.org/support/topic/deprecated-jquery-code/#post-14335024)
 * Thanks for fixing this.
 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [5 years ago](https://wordpress.org/support/topic/deprecated-jquery-code/#post-14335405)
 * [@titsmaker](https://wordpress.org/support/users/titsmaker/) no worries! 🙂

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

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

 * ![](https://ps.w.org/disable-cart-fragments/assets/icon-256x256.png?rev=2098872)
 * [Disable Cart Fragments by Optimocha](https://wordpress.org/plugins/disable-cart-fragments/)
 * [Support Threads](https://wordpress.org/support/plugin/disable-cart-fragments/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-cart-fragments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-cart-fragments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-cart-fragments/reviews/)

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