Changeset 19364 for trunk/wp-includes/feed.php
- Timestamp:
- 11/20/2011 06:32:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r18537 r19364 65 65 function get_default_feed() { 66 66 $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; 68 68 } 69 69
Note: See TracChangeset
for help on using the changeset viewer.