Make WordPress Core


Ignore:
Timestamp:
11/20/2011 06:32:42 PM (13 years ago)
Author:
nacin
Message:

Restore RDF feed. fixes #4967.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r18537 r19364  
    6565function get_default_feed() {
    6666    $default_feed = apply_filters('default_feed', 'rss2');
    67     return in_array( $default_feed, array( 'rss', 'rdf' ) ) ? 'rss2' : $default_feed;
     67    return 'rss' == $default_feed ? 'rss2' : $default_feed;
    6868}
    6969
Note: See TracChangeset for help on using the changeset viewer.