[wp-trac] [WordPress Trac] #39886: Invalid jQuery Live Event in handlers.min.js file.

WordPress Trac noreply at wordpress.org
Thu Feb 16 07:03:06 UTC 2017


#39886: Invalid jQuery Live Event in handlers.min.js file.
--------------------------+-----------------------------
 Reporter:  MMDeveloper   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 Go to wp-includes/js/swfupload/handlers.min.js

 At bottom of file you will see reference to ".live(" jquery event, which
 no longer exists. This jQuery event should be renamed to ".on(". This is a
 small change that is required.

 More info:

 http://api.jquery.com/live/

 As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach
 event handlers.

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


More information about the wp-trac mailing list