[wp-trac] [WordPress Trac] #46679: Themes: Add a shim for wp_body_open()
WordPress Trac
noreply at wordpress.org
Thu Mar 28 14:31:43 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: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+------------------------------
Comment (by adamsilverstein):
> What's the real purpose of the wp_body_open() wrapper function?
Mainly this was added this way for consistency with other function
calls/existing pattern for header/footer calls. It was discussed a bit in
#12563. I do see how switching to triggering an action directly would
remove the need for a shim though, which we didn;t consider previously.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46679#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list