WordPress.org

Make WordPress Core

Changeset 15261


Ignore:
Timestamp:
06/15/10 12:27:07 (4 years ago)
Author:
nacin
Message:

In Twenty Ten, don't use the filter on wp_title in feeds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r15222 r15261  
    224224 */ 
    225225function twentyten_filter_wp_title( $title, $separator ) { 
     226    // Don't affect wp_title() calls in feeds. 
     227    if ( is_feed() ) 
     228        return $title; 
     229 
    226230    // The $paged global variable contains the page number of a listing of posts. 
    227231    // The $page global variable contains the page number of a single post that is paged. 
Note: See TracChangeset for help on using the changeset viewer.