Twenty Twelve: remove duplicate RSS feed title from wp_title output, props SergeyBiryukov. Closes #21233.

git-svn-id: https://develop.svn.wordpress.org/trunk@21327 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-07-25 16:51:23 +00:00
parent 7d67ab54df
commit 8b2b91941a

View File

@ -141,6 +141,9 @@ add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' );
function twentytwelve_wp_title( $title, $sep ) {
global $paged, $page;
if ( is_feed() )
return $title;
// Add the blog name.
$title .= get_bloginfo( 'name' );