Skip to content

Commit 52fd7a6

Browse files
committed
updated wp_body_open conditional
1 parent 0657f6a commit 52fd7a6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

header.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323

2424
<?php
2525
//check if wp_body_open function exists
26-
if ( ! function_exists( 'wp_body_open' ) ) {
27-
function wp_body_open() {
28-
do_action( 'wp_body_open' );
29-
}
26+
if ( function_exists( 'wp_body_open' ) ) {
27+
wp_body_open();
3028
}
3129
?>
3230

0 commit comments

Comments
 (0)