[wp-trac] [WordPress Trac] #23875: Twenty Thirteen: Replace deprecated jQuery code
WordPress Trac
noreply at wordpress.org
Wed Mar 27 23:43:35 UTC 2013
#23875: Twenty Thirteen: Replace deprecated jQuery code
-----------------------+---------------------------
Reporter: obenland | Type: defect (bug)
Status: new | Priority: normal
Milestone: 3.6 | Component: Bundled Theme
Version: trunk | Severity: normal
Keywords: has-patch |
-----------------------+---------------------------
The syntax `$(document).on("ready", handler)` is deprecated as of jQuery
1.8.
It behaves similarly to the ready method but if the ready event has
already fired and you try to `.on("ready")` the bound handler will not be
executed.
See: http://api.jquery.com/ready/
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23875>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list