[wp-trac] [WordPress Trac] #46679: Themes: Add a shim for wp_body_open()
WordPress Trac
noreply at wordpress.org
Wed Mar 27 22:50:26 UTC 2019
#46679: Themes: Add a shim for wp_body_open()
---------------------------+------------------------------
Reporter: pento | Owner: adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.2
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+------------------------------
Comment (by lgedeon):
Proposed solution to add this to each of the default themes.
{{{#!php
<?php
if ( ! function_exists( 'wp_body_open' ) ) {
function wp_body_open() {
do_action( 'wp_body_open' );
}
}
}}}
We might also add the doc block. Not sure on expectations there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46679#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list