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

WordPress Trac noreply at wordpress.org
Thu Jan 11 22:21:46 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 ramiy):

 Moving from #42927,

 I suggest to call the new action `wp_body` and the wrapper function
 `wp_body()`.

 WordPress themes will eventually look like this:

 {{{
 <html>
     <head>

         ..
         ..

         <?php wp_head(); ?>

     </head>
     <body>

         <?php wp_body(); ?>

         ..
         ..

         <?php wp_footer(); ?>

     </body>
 </html>
 }}}

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


More information about the wp-trac mailing list