Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#52562 closed defect (bug) (duplicate)

jQuery deprecated code found in core files after all plugins disabled and switched to 2021 theme.

Reported by: toconnell1111's profile toconnell1111 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.6.1
Component: External Libraries Keywords:
Focuses: Cc:

Description

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

Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to External Libraries
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #51812.

Note: See TracTickets for help on using tickets.