[wp-trac] [WordPress Trac] #57946: Deprecated jQuery in Farbtastic

WordPress Trac noreply at wordpress.org
Tue Jul 11 18:45:09 UTC 2023


#57946: Deprecated jQuery in Farbtastic
-------------------------------------+-------------------------
 Reporter:  Malae                    |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.3
Component:  External Libraries       |     Version:  6.1.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+-------------------------

Comment (by mrinal013):

 Replying to [comment:16 sabernhardt]:
 > Note: I did not test the patch. I simply reduced the changes, mainly so
 it's easier to review.


 Thanks.

 In https://core.trac.wordpress.org/attachment/ticket/57946/57946.patch, I
 did somehow similar changes as
 https://core.trac.wordpress.org/attachment/ticket/57946/57946.1.patch.
 Additionally, in
 https://core.trac.wordpress.org/attachment/ticket/57946/57946.patch,
 1. Following coding standard, added with wp-prettier.
 2. Use `navigator.userAgent` instead of `navigator.appVersion`, since
 `navigator.appVersion` is not recommended https://developer.mozilla.org
 /en-US/docs/Web/API/Navigator/appVersion.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57946#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list