From 2f013a3706987b114c185a6ee1a53bef0f546ebc Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 4 Feb 2014 13:56:49 +0000 Subject: [PATCH] Default themes: Use the 'display' filter for get_bloginfo( 'name' ) attached to the wp_title filter. props michelwppi. fixes #26811. git-svn-id: https://develop.svn.wordpress.org/trunk@27091 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/functions.php | 2 +- src/wp-content/themes/twentythirteen/functions.php | 2 +- src/wp-content/themes/twentytwelve/functions.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 159692080a..51e1b48e26 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/wp-content/themes/twentyfourteen/functions.php @@ -487,7 +487,7 @@ function twentyfourteen_wp_title( $title, $sep ) { } // Add the site name. - $title .= get_bloginfo( 'name' ); + $title .= get_bloginfo( 'name', 'display' ); // Add the site description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php index 047675f8a7..5b717a9e1c 100644 --- a/src/wp-content/themes/twentythirteen/functions.php +++ b/src/wp-content/themes/twentythirteen/functions.php @@ -208,7 +208,7 @@ function twentythirteen_wp_title( $title, $sep ) { return $title; // Add the site name. - $title .= get_bloginfo( 'name' ); + $title .= get_bloginfo( 'name', 'display' ); // Add the site description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); diff --git a/src/wp-content/themes/twentytwelve/functions.php b/src/wp-content/themes/twentytwelve/functions.php index 405448107f..06470d562f 100644 --- a/src/wp-content/themes/twentytwelve/functions.php +++ b/src/wp-content/themes/twentytwelve/functions.php @@ -203,7 +203,7 @@ function twentytwelve_wp_title( $title, $sep ) { return $title; // Add the site name. - $title .= get_bloginfo( 'name' ); + $title .= get_bloginfo( 'name', 'display' ); // Add the site description for the home/front page. $site_description = get_bloginfo( 'description', 'display' );