Skip to content

Commit d1e3ea4

Browse files
authored
Remove useless code
Remove backcompat code for WP 5.2, all projects starts with the new version.
1 parent 4c5738a commit d1e3ea4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

functions.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,3 @@
1111
// Boot the service, at after_setup_theme.
1212
\BEA\Theme\Framework\Framework::get_container()->boot_services();
1313
} );
14-
15-
/**
16-
* Handle wp_body_open new function from WP 5.2
17-
* @see https://make.wordpress.org/themes/2019/03/29/addition-of-new-wp_body_open-hook/
18-
* @see https://make.wordpress.org/core/2019/04/24/miscellaneous-developer-updates-in-5-2/
19-
*/
20-
if ( ! function_exists( 'wp_body_open' ) ) {
21-
function wp_body_open() {
22-
do_action( 'wp_body_open' );
23-
}
24-
}

0 commit comments

Comments
 (0)