diff --git src/wp-content/themes/twentyeleven/header.php src/wp-content/themes/twentyeleven/header.php
index f9be4f52e0..2b7f5b35eb 100644
|
|
|
68 | 68 | </head> |
69 | 69 | |
70 | 70 | <body <?php body_class(); ?>> |
| 71 | <?php wp_body_open(); ?> |
71 | 72 | <div id="page" class="hfeed"> |
72 | 73 | <header id="branding" role="banner"> |
73 | 74 | <hgroup> |
diff --git src/wp-content/themes/twentyfifteen/header.php src/wp-content/themes/twentyfifteen/header.php
index 28de34ed9f..1698d6b734 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 7286d88938..d1318d628a 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/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 d230c4f8db..083e18c9e0 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 1ff063b8f0..94a9f1e916 100644
|
|
|
55 | 55 | </head> |
56 | 56 | |
57 | 57 | <body <?php body_class(); ?>> |
| 58 | <?php wp_body_open(); ?> |
58 | 59 | <div id="wrapper" class="hfeed"> |
59 | 60 | <div id="header"> |
60 | 61 | <div id="masthead"> |
diff --git src/wp-content/themes/twentythirteen/header.php src/wp-content/themes/twentythirteen/header.php
index 094f74cc9f..3af541e013 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 c3b99d6f3d..c8dc7eea51 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> |
… |
… |
|
50 | 51 | <?php endif; ?> |
51 | 52 | </header><!-- #masthead --> |
52 | 53 | |
53 | | <div id="main" class="wrapper"> |
54 | | No newline at end of file |
| 54 | <div id="main" class="wrapper"> |
diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
index 915aea540e..22d133b3f6 100644
|
|
function wp_footer() { |
2631 | 2631 | } |
2632 | 2632 | |
2633 | 2633 | /** |
| 2634 | * Fire the wp_body_open action |
| 2635 | * |
| 2636 | * * See {@see 'wp_body_open'}. |
| 2637 | * |
| 2638 | * @since 5.0 |
| 2639 | */ |
| 2640 | function wp_body_open() { |
| 2641 | /** |
| 2642 | * Allows access to templates after the opening <body> tag. |
| 2643 | * |
| 2644 | * @since 5.0 |
| 2645 | */ |
| 2646 | do_action( 'wp_body_open' ); |
| 2647 | } |
| 2648 | |
| 2649 | /** |
2634 | 2650 | * Display the links to the general feeds. |
2635 | 2651 | * |
2636 | 2652 | * @since 2.8.0 |