From 09720890a76e2349698808a075a115d887247b95 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Fri, 24 Jan 2014 09:54:05 -0800 Subject: [PATCH] _s: Retrieve blog name with the correct context. Passing `'display'` as the second argument will make the blog name filterable and runs it through `wp_texturize()`. See https://core.trac.wordpress.org/ticket/26811 --- inc/extras.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/extras.php b/inc/extras.php index 31637af..281c463 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -43,14 +43,14 @@ add_filter( 'body_class', '_s_body_classes' ); * @return string The filtered title. */ function _s_wp_title( $title, $sep ) { - global $page, $paged; - if ( is_feed() ) { return $title; } + + global $page, $paged; // Add the blog name - $title .= get_bloginfo( 'name' ); + $title .= get_bloginfo( 'name', 'display' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' );