Twenty Twelve: remove duplicate RSS feed title from wp_title output, props SergeyBiryukov. Closes #21233.
git-svn-id: http://core.svn.wordpress.org/trunk@21327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d7ba9b6944
commit
80a592d548
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue