[wp-trac] [WordPress Trac] #58225: Deprecated jQuery.fn.unbind

WordPress Trac noreply at wordpress.org
Sun Apr 30 08:28:30 UTC 2023


#58225: Deprecated jQuery.fn.unbind
--------------------------+-----------------------------
 Reporter:  Malae         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  6.2
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 I posted this 2 years ago, but it has not been fixed in Theme: Twenty
 Sixteen
 `jQuery.fn.unbind() is deprecated in /twentysixteen/js/functions.js Line
 97`
 `siteNavigation.find( '.menu-item-has-children > a' ).unbind(
 'touchstart.twentysixteen' );`
 should be changed to:
 `siteNavigation.find( '.menu-item-has-children > a' ).on("unbind",
 'touchstart.twentysixteen' );`

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


More information about the wp-trac mailing list