Ticket #21233: 21233.3.diff
| File 21233.3.diff, 452 bytes (added by SergeyBiryukov, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | Index: wp-content/themes/twentytwelve/functions.php |
| 2 | =================================================================== |
| 3 | --- wp-content/themes/twentytwelve/functions.php (revision 21302) |
| 4 | +++ wp-content/themes/twentytwelve/functions.php (working copy) |
| 5 | @@ -139,6 +139,9 @@ |
| 6 | function twentytwelve_wp_title( $title, $sep ) { |
| 7 | global $paged, $page; |
| 8 | |
| 9 | + if ( is_feed() ) |
| 10 | + return $title; |
| 11 | + |
| 12 | // Add the blog name. |
| 13 | $title .= get_bloginfo( 'name' ); |
| 14 |
