[wp-trac] [WordPress Trac] #46743: A way to detect whether the current theme supports wp_body_open()
WordPress Trac
noreply at wordpress.org
Tue Apr 16 05:26:21 UTC 2019
#46743: A way to detect whether the current theme supports wp_body_open()
-----------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+---------------------
Comment (by rabmalin):
I would go with the `add_theme_support()` approach so that theme author
will have method to declare support for the `wp_body_open()`. In ideal
world, all theme will have support for this, but it will take long time to
have that support in the themes available around the world.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46743#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list