Twenty Fifteen: Remove `esc_html()` from blog description.

The blog description gets esc_html()'d *into* the DB. It's also escaped because the filter for `get_bloginfo()` is set to 'display'.

see #30724.

git-svn-id: https://develop.svn.wordpress.org/trunk@30897 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2014-12-16 13:19:17 +00:00
parent 25ffd56152
commit 5447103756
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@
<?php endif;
$description = get_bloginfo( 'description', 'display' );
if ( ! empty( $description ) || is_customize_preview() ) : ?>
<p class="site-description"><?php echo esc_html( $description ); ?></p>
if ( $description || is_customize_preview() ) : ?>
<p class="site-description"><?php echo $description; ?></p>
<?php endif;
?>
<button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button>