[wp-trac] [WordPress Trac] #36334: Custom RSS feed has wrong MIME type and forces download in browser
WordPress Trac
noreply at wordpress.org
Wed Apr 6 20:17:43 UTC 2016
#36334: Custom RSS feed has wrong MIME type and forces download in browser
--------------------------+------------------------------
Reporter: Missilesilo | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: 2.1
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by Missilesilo):
* status: new => closed
* resolution: => invalid
Comment:
I agree with mentioning the usage of the {{{feed_content_type()}}}
function and/or filter. I was finally able to get my custom feed working.
It seems there were some plugins and caching issues in the first
environment that I was attempting this in, and then in the clean WP
install, I was failing to set the header correctly because I assumed it
would default to some form of plain text. I'm not sure if the
{{{application/octet-stream}}} default is documented anywhere, but that
would be quite helpful as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36334#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list