[wp-trac] [WordPress Trac] #39066: `fetch_feed()` changes REST API response `Content-Type`
WordPress Trac
noreply at wordpress.org
Wed Jan 4 05:07:02 UTC 2017
#39066: `fetch_feed()` changes REST API response `Content-Type`
--------------------------+-----------------------
Reporter: dlh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.1
Component: Feeds | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: rest-api
--------------------------+-----------------------
Changes (by rmccue):
* keywords: => needs-patch
* milestone: Awaiting Review => 4.7.1
Comment:
I would rather we simply not call `handle_content_type()`. This only
exists to set the charset in the header to match the feed, but we already
set the charset to `get_option( 'blog_charset' )` above, so it's not
necessary. At best, it's redundant already.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39066#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list