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:
parent
25ffd56152
commit
5447103756
@ -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
Block a user