Ticket #9810: 9810.diff
File 9810.diff, 568 bytes (added by , 16 years ago) |
---|
-
wp-includes/feed.php
523 523 $type = get_default_feed(); 524 524 525 525 $types = array( 526 'rss' => ' application/rss+xml',527 'rss2' => ' application/rss+xml',526 'rss' => 'text/xml', 527 'rss2' => 'text/xml', 528 528 'atom' => 'application/atom+xml', 529 'rdf' => ' application/rdf+xml',529 'rdf' => 'text/xml', 530 530 ); 531 531 532 532 $content_type = ( !empty($types[$type]) ) ? $types[$type] : 'application/octet-stream';