[wp-trac] [WordPress Trac] #12563: New action on body open

WordPress Trac noreply at wordpress.org
Wed Sep 12 22:45:00 UTC 2018


#12563: New action on body open
---------------------------+--------------------------
 Reporter:  joostdevalk    |       Owner:  joostdevalk
     Type:  enhancement    |      Status:  reopened
 Priority:  normal         |   Milestone:  5.0
Component:  Bundled Theme  |     Version:  3.1
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  template
---------------------------+--------------------------

Comment (by saracup):

 Replying to [comment:45 ramiy]:
 > Replying to [comment:43 joyously]:
 > > We've gone eight years without it. What's the big deal?
 >
 > We've gone eight years using problematic solutions, inflated plugins and
 other workarounds.
 >
 > > Why isn't `get_header` hook or even `wp_footer` sufficient?
 >
 > `get_header` hook runs in the header. `wp_footer` hook runs before
 closing the body. We need a hook after opening the body.

 This pretty much succinctly sums up the issue. Thank you @ramiy !
 >

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


More information about the wp-trac mailing list