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
This commit is contained in:
parent
68f9370ae9
commit
c5802858cc
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
Loading…
Reference in New Issue