[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 30 10:44:05 UTC 2019


#46743: A way to detect whether the current theme supports wp_body_open()
--------------------------------------+----------------------
 Reporter:  SergeyBiryukov            |       Owner:  (none)
     Type:  defect (bug)              |      Status:  closed
 Priority:  high                      |   Milestone:
Component:  Themes                    |     Version:  trunk
 Severity:  normal                    |  Resolution:  wontfix
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+----------------------

Comment (by spacedmonkey):

 Couldn't we hook into `wp_body_open` and set a flag in options,
 `has_wp_body_open` = `true`. This flag could be cleared on switch of
 theme. All that would require that flag to be set, is all page load on the
 front end.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46743#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list