mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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
This commit is contained in:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user