WordPress.org

Make WordPress Core

Changeset 45042


Ignore:
Timestamp:
03/27/2019 09:58:38 PM (7 months ago)
Author:
adamsilverstein
Message:

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.

Location:
trunk/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.