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:
parent
289f29ac0b
commit
3749d51b72
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue