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

WordPress Trac noreply at wordpress.org
Fri Oct 5 19:35:54 UTC 2018


#12563: New action on body open
---------------------------------------------+-----------------------------
 Reporter:  joostdevalk                      |       Owner:
                                             |  adamsilverstein
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  4.9.9
Component:  Bundled Theme                    |     Version:  3.1
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch commit needs-dev-note  |     Focuses:  template
---------------------------------------------+-----------------------------

Comment (by joyously):

 What about trying to make sure it is called (even if late)? This could be
 at the very end of `get_header()`.

 {{{
     if ( ! did_action( 'wp_body_open' ) ) {
       do_action( 'wp_body_open' );
     }
 }}}

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


More information about the wp-trac mailing list