• Hi.
    When I activate this plugin my site works perfectly and without any issue.
    Setting:
    jQuery version : 1.12.4
    jQuery Migrate : enabled
    But when I deactivate Test jQuery Updates and activate Enable jQuery Migrate Helper site doesn’t work correctly and I have error for admin-ajax.php

    Why shouldn’t we use this plugin in production?
    what happens if we use as a default jquery helper?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @porseshgar. I was going to ask a similar question, so I thought I’d reply to your thread here.

    I would like some clarification on this too. The plugin description states “It is not intended for use in production.”, so while it is not intended I suppose it could in theory be used to load jQuery v1.12.4 with WordPress 5.6.

    There are numerous plugins and themes which will be challenging to test and make compatible with jQuery v3.5.1 and jQuery Migrate – especially at this time of year – some official guidance from the The WordPress Team would be appreciated.

    Are we supposed to wait until the themes and plugins are compatible with jQuery 3.5.1 + jQuery Migrate before updating to WP 5.6?

    Thanks

    Plugin Author Andrew Ozz

    (@azaozz)

    Hi,

    Why shouldn’t we use this plugin in production?

    If you have some old scripts added by your theme or plugins, and your site doesn’t work properly, it is best to use Enable jQuery Migrate Helper as it will help you identify and fix/update/replace them. This is the main purpose of Enable jQuery Migrate Helper.

    The Test jQuery Updates plugin will also let you “downgrade” the jQuery and jQuery Migrate scripts, but since it is intended specifically for testing, it has some limitations:
    – It is intended only for WordPress 5.6, will stop working in WP 5.7.
    – It loads jQuery Migrate in debug mode which may output a lot of debug information in the browser console, both in wp-admin and on the front-end (this also makes it run slower).
    – Most likely it won’t be updated for compatibility with future versions of WordPress, as testing of jQuery won’t be needed there.
    – Eventually WordPress, and (newer) themes and plugins will start using features and syntax from jQuery 3.5. Then this plugin (and downgrading the jQuery version in general) will become incompatible with them.

    There are numerous plugins and themes which will be challenging to test and make compatible with jQuery v3.5.1

    Right. The process of updating the jQuery version shipped with WordPress started back in June, https://make.www.ads-software.com/core/2020/06/29/updating-jquery-version-shipped-with-wordpress/. Many many themes and plugins were updated since then. There are probably (old) themes and plugins that still haven’t been updated, but perhaps it would be better to replace them at this point?

    • This reply was modified 3 years, 10 months ago by Andrew Ozz.

    Hi Andrew,

    Thanks for your reply – that is very helpful information.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘use in production’ is closed to new replies.