[wp-trac] [WordPress Trac] #51812: Update jQuery step three

WordPress Trac noreply at wordpress.org
Tue Feb 2 14:39:09 UTC 2021


#51812: Update jQuery step three
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:
                                                 |  SergeyBiryukov
     Type:  task (blessed)                       |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.7
Component:  External Libraries                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch early needs-testing        |     Focuses:  javascript
  needs-dev-note                                 |
-------------------------------------------------+-------------------------

Comment (by poena):

 When I select an image in the media library and open the Edit Image
 screen, I see the following:

 jQuery.fn.keypress() event shorthand is deprecated
 image-edit.js line 125
 https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/lib/image-
 edit.js#L125

 jQuery.fn.focus() event shorthand is deprecated
 image-edit.js line 692
 https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/lib/image-
 edit.js#L692


 When I rotate an image on the same screen:
 jQuery.fn.removeAttr no longer sets boolean properties: disabled
 image-edit.js line 405
 https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/lib/image-
 edit.js#L405

 And these are from the third party imgAreaSelect jQuery plugin:
 Number-typed values are deprecated for jQuery.fn.css( "fontSize", value )
 https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/vendor/imgareaselect/jquery.imgareaselect.js#L1165

 jQuery.fn.unbind() is deprecated
 https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/vendor/imgareaselect/jquery.imgareaselect.js#L1013

 jQuery.fn.resize() event shorthand is deprecated
 https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/vendor/imgareaselect/jquery.imgareaselect.js#L1028

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


More information about the wp-trac mailing list