Twenty Fourteen: use display context for site description in sidebar.php.

props michelwppi.
fixes #25808.

git-svn-id: https://develop.svn.wordpress.org/trunk@26444 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-11-27 23:09:23 +00:00
parent 15728818b0
commit 2ae03311b3
1 changed files with 1 additions and 1 deletions

View File

@ -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>