[wp-trac] [WordPress Trac] #52562: jQuery deprecated code found in core files after all plugins disabled and switched to 2021 theme.

WordPress Trac noreply at wordpress.org
Wed Feb 17 19:07:02 UTC 2021


#52562: jQuery deprecated code found in core files after all plugins disabled and
switched to 2021 theme.
---------------------------+-----------------------------
 Reporter:  toconnell1111  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  5.6.1
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 I have wordpress 5.6.1 and I ran the jquery plug in and found these jquery
 deprecated code. Please note this was still found after doing to 2021
 theme and disabling all plug-ins inside of wordpress except the jquery
 migrate plug in used to find the issues.

 These are the path to file/warnings I got in relation to the core
 WordPress software:

 site.com/wp-admin/js/common.min.js: jQuery.fn.delegate() is deprecated
 site.com/wp-admin/js/iris.min.js: jQuery.isArray is deprecated; use
 Array.isArray
 site.com/wp-admin/js/iris.min.js: jQuery.expr[‘:’] is deprecated; use
 jQuery.expr.pseudos
 site.com/wp-admin/js/iris.min.js: jQuery.isFunction() is deprecated
 site.com/wp-admin/js/color-picker.min.js: jQuery.isArray is deprecated;
 use Array.isArray
 site.com/wp-admin/js/color-picker.min.js: jQuery.expr[‘:’] is deprecated;
 use jQuery.expr.pseudos
 site.com/wp-admin/js/color-picker.min.js: jQuery.isFunction() is
 deprecated
 site.com/wp-admin/js/common.min.js: jQuery.fn.click() event shorthand is
 deprecated
 site.com/wp-admin/js/common.min.js: jQuery.fn.bind() is deprecated
 site.com/wp-admin/js/common.min.js: jQuery.fn.mousedown() event shorthand
 is deprecated
 site.com/wp-admin/js/common.min.js: jQuery.fn.focus() event shorthand is
 deprecated
 site.com/wp-admin/js/svg-painter.js: jQuery.fn.hover() is deprecated

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52562>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list