-
Notifications
You must be signed in to change notification settings - Fork 135
Description
Expected/Desired Behavior
No error when using this plugin https://wordpress.org/plugins/enable-jquery-migrate-helper/
Actual Behavior
When using WordPress 5.7 and the plugin above, there are a lot of warnings in the following. I am categorizing them into two types: Libraries and Edit-Flow own code
Libraries:
/edit-flow/common/js/jquery.listfilterizer.js: jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos
/edit-flow/common/js/jquery.quicksearch.js: jQuery.fn.keydown() event shorthand is deprecated
/edit-flow/common/js/jquery.quicksearch.js: jQuery.fn.submit() event shorthand is deprecated
/edit-flow//common/js/screen-options.js: jQuery.fn.change() event shorthand is deprecated
/edit-flow/common/js/jquery-ui-timepicker-addon.js: jQuery.fn.focus() event shorthand is deprecated
/edit-flow/common/js/jquery-ui-timepicker-addon.js: jQuery.fn.bind() is deprecated
Edit-flow code:
/edit-flow/modules/calendar/lib/calendar.js: jQuery.fn.click() event shorthand is deprecated
/edit-flow/modules/calendar/lib/calendar.js: jQuery.fn.keydown() event shorthand is deprecated
/edit-flow/modules/calendar/lib/calendar.js: jQuery.fn.hover() is deprecated
/edit-flow/modules/story-budget/lib/story-budget.js: jQuery.fn.click() event shorthand is deprecated
/edit-flow/modules/settings/lib/settings.js: jQuery.fn.click() event shorthand is deprecated
/edit-flow/modules/custom-status/lib/custom-status-configure.js: jQuery.fn.live() is deprecated
/edit-flow/modules/editorial-metadata/lib/editorial-metadata-configure.js: jQuery.fn.live() is deprecated
/edit-flow/modules/user-groups/lib/user-groups-configure.js: jQuery.fn.live() is deprecated
(Optional) Additional notes
Reported here https://wordpress.org/support/topic/wordpress-5-6-support/
Guide from the core team https://make.wordpress.org/support/2020/12/handling-potential-jquery-issues-in-wordpress-5-6/
Guide for updating jQuery 3.5 https://jquery.com/upgrade-guide/3.5/ and 3.0 https://jquery.com/upgrade-guide/3.0/