[wp-trac] [WordPress Trac] #12563: New action on body open
WordPress Trac
noreply at wordpress.org
Wed Mar 27 21:58:44 UTC 2019
#12563: New action on body open
---------------------------------------------+-----------------------------
Reporter: joostdevalk | Owner:
| adamsilverstein
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.2
Component: Bundled Theme | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note commit | Focuses: template
---------------------------------------------+-----------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"45042" 45042]:
{{{
#!CommitTicketReference repository="" revision="45042"
Bundled Theme: trigger a new `wp_body_open` action immediately after the
opening `body` tag.
* Enables inserting (asynchronous) JavaScript right after the opening
`body` tag.
* Add a `wp_body_open` helper function that triggers the `wp_body_open`
action.
* Call `wp_body_open` in core themes immediately after the opening `body`
tag.
Props joostdevalk, valendesigns, nacin, saracup, jorbin, mikeschinkel,
jonnybojangles, lgedeon, Willscrlt, Denis-de-Bernardy, lexiqueen, sky_76,
welcher, westonruter, ramiy, joyously.
Fixes #12563.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12563#comment:71>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list