Skip to content

Commit 281b8fc

Browse files
committed
replace empty() for site title check
1 parent 8b0cbb9 commit 281b8fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/theme-compat/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<?php wp_body_open(); ?>
3939
<div id="page">
4040

41-
<?php if ( ! empty( get_bloginfo( 'name' ) ) ) : ?>
41+
<?php if ( get_bloginfo( 'name' ) ) : ?>
4242
<div id="header" role="banner">
4343
<div id="headerimg">
4444
<h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>

0 commit comments

Comments
 (0)