mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Twenty Fourteen: use display context for site description in sidebar.php.
props michelwppi. fixes #25808. Built from https://develop.svn.wordpress.org/trunk@26444 git-svn-id: http://core.svn.wordpress.org/trunk@26342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a14c73be87
commit
8c7b6ac049
@ -9,7 +9,7 @@
|
||||
?>
|
||||
<div id="secondary">
|
||||
<?php
|
||||
$description = get_bloginfo( 'description' );
|
||||
$description = get_bloginfo( 'description', 'display' );
|
||||
if ( ! empty ( $description ) ) :
|
||||
?>
|
||||
<h2 class="site-description"><?php echo esc_html( $description ); ?></h2>
|
||||
|
Loading…
Reference in New Issue
Block a user