[wp-trac] [WordPress Trac] #38550: Remove jQuery dependency from wp-custom-header.js
WordPress Trac
noreply at wordpress.org
Thu Nov 3 01:20:15 UTC 2016
#38550: Remove jQuery dependency from wp-custom-header.js
--------------------------+-------------------------
Reporter: joemcgill | Owner: joemcgill
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by joemcgill):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"39102"]:
{{{
#!CommitTicketReference repository="" revision="39102"
Themes: Remove jQuery dependency from wp-custom-header.js.
In [38985], we used jQuery to trigger a custom event once a video
handler has completed so themes, like Twenty Fourteen, can execute
their own adjustments after the header video has loaded.
This replaces the jQuery `trigger()` method with a native event and
updates Twenty Fourteen accordingly.
Props adamsilverstein, joemcgill.
Fixes #38550.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38550#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list