diff --git src/wp-content/themes/twentyeleven/header.php src/wp-content/themes/twentyeleven/header.php
index e27cac9316..39cbe89c11 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 63b0437771..41a1e8df7f 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 1de76b341f..88071ec9b9 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 f264ac2cd7..a5cfee6a47 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 1a4b35afea..23a186340a 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 31fbfaba07..dee665689b 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 107c0a1850..f8ff59907b 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 837770f519..3aaf2f019f 100644
|
|
function wp_footer() { |
2751 | 2751 | do_action( 'wp_footer' ); |
2752 | 2752 | } |
2753 | 2753 | |
| 2754 | /** |
| 2755 | * Fire the wp_body_open action |
| 2756 | * |
| 2757 | * * See {@see 'wp_body_open'}. |
| 2758 | * |
| 2759 | * @since 5.0 |
| 2760 | */ |
| 2761 | function wp_body_open() { |
| 2762 | /** |
| 2763 | * Allows access to templates after the opening <body> tag. |
| 2764 | * |
| 2765 | * @since 5.0 |
| 2766 | */ |
| 2767 | do_action( 'wp_body_open' ); |
| 2768 | } |
| 2769 | |
2754 | 2770 | /** |
2755 | 2771 | * Display the links to the general feeds. |
2756 | 2772 | * |