Make WordPress Core

Opened 2 months ago

Last modified 4 weeks ago

#57946 new defect (bug)

Deprecated jQuery in Farbtastic

Reported by: malae's profile Malae Owned by:
Milestone: 6.3 Priority: normal
Severity: normal Version: 6.1.1
Component: External Libraries Keywords:
Focuses: javascript Cc:

Description (last modified by sabernhardt)

jQuery.fn.mousedown() event shorthand is deprecated in /wp-admin/js/farbtastic.js
jQuery.fn.bind() is deprecated in /wp-admin/js/farbtastic.js

Change History (3)

#1 @sabernhardt
2 months ago

  • Component changed from Shortcodes to External Libraries
  • Description modified (diff)
  • Focuses javascript added
  • Summary changed from Deprecated jQuery to Deprecated jQuery in Farbtastic

Thanks for the report!

Usually, external library issues should be reported upstream, but the Farbtastic GitHub repo does not have recent activity.

This script was moved to the js folder in [43309], though the most recent content change was [16305].

#2 @SergeyBiryukov
2 months ago

  • Milestone changed from Awaiting Review to 6.3

The upstream repository has been archived by the owner on Feb 27, 2019, and is now read-only.

Looks like this will now be an "adopted" library, and can be patched with necessary changes.

#3 @Presskopp
4 weeks ago

Farbtastic itself is long dead. But it still is to find in the Twenty Eleven Theme and some remnants are still to find in Core. Instead of patching it, we should completely get rid of it, I'd say.

Note: See TracTickets for help on using tickets.