Skip Navigation

jQuery deprecation notices with WP 5.5

Resolved

Symptoms

WordPress is planning to update jQuery in a staged process from version 5.5 to 5.7 (read about it here).

With WP 5.5 jQuery Migrate is disabled by default. This will likely trigger jQuery deprecation notices in many plugins and themes. In Toolset, examples of such notices are shown below. The notices don’t affect site functionality, and we have not yet uncovered any functionality that is broken with the update (please report if you find anything).

wp-content/plugins/types/vendor/toolset/toolset-common/res/js/toolset-settings.js: jQuery.fn.load() is deprecated
wp-content/plugins/types-access/vendor/toolset/toolset-common/res/js/toolset-settings.js: jQuery.fn.load() is deprecated
wp-content/plugins/types/vendor/toolset/types/embedded/resources/js/basic.js: 'ready' event is deprecated
wp-content/plugins/types/vendor/toolset/types/resources/js/fields-form.js: 'ready' event is deprecated
wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/assets/common/js/mvc.js: jQuery.browser is deprecated
wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/assets/js/cred_form_settings_box.js: jQuery.fn.size() is deprecated; use the .length property

Workaround

Most of these issues are fixed in the current versions, and the final outstanding notices will be resolved before the deadline of WordPress 5.6.

This plugin released by the core WordPress team will suppress such deprecation notices in the meantime: https://wordpress.org/plugins/enable-jquery-migrate-helper/

Comments are closed