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.
Built from https://develop.svn.wordpress.org/trunk@30897


git-svn-id: http://core.svn.wordpress.org/trunk@30887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2014-12-16 13:20:23 +00:00
parent 289f29ac0b
commit 3749d51b72
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>