WordPress.org

Make WordPress Core

Ticket #36334: 36334.patch

File 36334.patch, 484 bytes (added by stevenkword, 4 years ago)

Change default customer feed mime type to text/html

  • src/wp-includes/feed.php

     
    644644                'rdf'      => 'application/rdf+xml'
    645645        );
    646646
    647         $content_type = ( !empty($types[$type]) ) ? $types[$type] : 'application/octet-stream';
     647        $content_type = ( !empty($types[$type]) ) ? $types[$type] : 'text/xml';
    648648
    649649        /**
    650650         * Filters the content type for a specific feed type.