From c5802858cc5d87cc82ba8a1c74bf117cd9f3dee2 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 4 Feb 2014 13:57:12 +0000 Subject: [PATCH] Default themes: Use the 'display' filter for get_bloginfo( 'name' ) attached to the wp_title filter. props michelwppi. fixes #26811. Built from https://develop.svn.wordpress.org/trunk@27091 git-svn-id: http://core.svn.wordpress.org/trunk@26963 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/functions.php | 2 +- wp-content/themes/twentythirteen/functions.php | 2 +- wp-content/themes/twentytwelve/functions.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index 159692080a..51e1b48e26 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/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/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index 047675f8a7..5b717a9e1c 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/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/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 405448107f..06470d562f 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/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' );