diff --git src/wp-content/themes/twentyeleven/header.php src/wp-content/themes/twentyeleven/header.php
index 78e9264f85..b91f33587f 100644
|
|
if ( is_singular() && get_option( 'thread_comments' ) ) { |
73 | 73 | </head> |
74 | 74 | |
75 | 75 | <body <?php body_class(); ?>> |
| 76 | <?php wp_body_open(); ?> |
76 | 77 | <div id="page" class="hfeed"> |
77 | 78 | <header id="branding" role="banner"> |
78 | 79 | <hgroup> |
diff --git src/wp-content/themes/twentyfifteen/header.php src/wp-content/themes/twentyfifteen/header.php
index dfb281f342..8f1eda5893 100644
|
|
|
22 | 22 | </head> |
23 | 23 | |
24 | 24 | <body <?php body_class(); ?>> |
| 25 | <?php wp_body_open(); ?> |
25 | 26 | <div id="page" class="hfeed site"> |
26 | 27 | <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyfifteen' ); ?></a> |
27 | 28 | |
diff --git src/wp-content/themes/twentyfourteen/header.php src/wp-content/themes/twentyfourteen/header.php
index 3207e73574..f515879b78 100644
|
|
|
31 | 31 | </head> |
32 | 32 | |
33 | 33 | <body <?php body_class(); ?>> |
| 34 | <?php wp_body_open(); ?> |
34 | 35 | <div id="page" class="hfeed site"> |
35 | 36 | <?php if ( get_header_image() ) : ?> |
36 | 37 | <div id="site-header"> |
diff --git src/wp-content/themes/twentynineteen/header.php src/wp-content/themes/twentynineteen/header.php
index 53827f8ed5..868a521944 100644
|
|
|
20 | 20 | </head> |
21 | 21 | |
22 | 22 | <body <?php body_class(); ?>> |
| 23 | <?php wp_body_open(); ?> |
23 | 24 | <div id="page" class="site"> |
24 | 25 | <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentynineteen' ); ?></a> |
25 | 26 | |
diff --git src/wp-content/themes/twentyseventeen/header.php src/wp-content/themes/twentyseventeen/header.php
index 27148be6d4..0ac11c30ec 100644
|
|
|
23 | 23 | </head> |
24 | 24 | |
25 | 25 | <body <?php body_class(); ?>> |
| 26 | <?php wp_body_open(); ?> |
26 | 27 | <div id="page" class="site"> |
27 | 28 | <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyseventeen' ); ?></a> |
28 | 29 | |
diff --git src/wp-content/themes/twentysixteen/header.php src/wp-content/themes/twentysixteen/header.php
index cb88d6e027..dcb3be9b1b 100644
|
|
|
22 | 22 | </head> |
23 | 23 | |
24 | 24 | <body <?php body_class(); ?>> |
| 25 | <?php wp_body_open(); ?> |
25 | 26 | <div id="page" class="site"> |
26 | 27 | <div class="site-inner"> |
27 | 28 | <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentysixteen' ); ?></a> |
diff --git src/wp-content/themes/twentyten/header.php src/wp-content/themes/twentyten/header.php
index d62acee0d1..7339ec1144 100644
|
|
if ( is_singular() && get_option( 'thread_comments' ) ) { |
60 | 60 | </head> |
61 | 61 | |
62 | 62 | <body <?php body_class(); ?>> |
| 63 | <?php wp_body_open(); ?> |
63 | 64 | <div id="wrapper" class="hfeed"> |
64 | 65 | <div id="header"> |
65 | 66 | <div id="masthead"> |
diff --git src/wp-content/themes/twentythirteen/header.php src/wp-content/themes/twentythirteen/header.php
index 8343d76af2..83de92b409 100644
|
|
|
31 | 31 | </head> |
32 | 32 | |
33 | 33 | <body <?php body_class(); ?>> |
| 34 | <?php wp_body_open(); ?> |
34 | 35 | <div id="page" class="hfeed site"> |
35 | 36 | <header id="masthead" class="site-header" role="banner"> |
36 | 37 | <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> |
diff --git src/wp-content/themes/twentytwelve/header.php src/wp-content/themes/twentytwelve/header.php
index cbd555c31c..3cc7422b05 100644
|
|
|
32 | 32 | </head> |
33 | 33 | |
34 | 34 | <body <?php body_class(); ?>> |
| 35 | <?php wp_body_open(); ?> |
35 | 36 | <div id="page" class="hfeed site"> |
36 | 37 | <header id="masthead" class="site-header" role="banner"> |
37 | 38 | <hgroup> |
diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
index 4d39696eb7..3e314aa4c4 100644
|
|
function wp_footer() { |
2683 | 2683 | do_action( 'wp_footer' ); |
2684 | 2684 | } |
2685 | 2685 | |
| 2686 | /** |
| 2687 | * Fire the wp_body_open action |
| 2688 | * |
| 2689 | * * See {@see 'wp_body_open'}. |
| 2690 | * |
| 2691 | * @since 5.0 |
| 2692 | */ |
| 2693 | function wp_body_open() { |
| 2694 | /** |
| 2695 | * Allows access to templates after the opening <body> tag. |
| 2696 | * |
| 2697 | * @since 5.0 |
| 2698 | */ |
| 2699 | do_action( 'wp_body_open' ); |
| 2700 | } |
| 2701 | |
2686 | 2702 | /** |
2687 | 2703 | * Display the links to the general feeds. |
2688 | 2704 | * |