[wp-trac] [WordPress Trac] #21305: Atom feed alternate type of html_type, not hardcoded text/html
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 18 19:04:56 UTC 2012
#21305: Atom feed alternate type of html_type, not hardcoded text/html
--------------------------+-----------------------------
Reporter: niallkennedy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version:
Severity: trivial | Keywords: has-patch
--------------------------+-----------------------------
When a document of one media type links to another it's possible to
provide a media type hint through the type attribute.
In the main Atom feed PHP we point to permalinks and the site URL with a
hardcoded type=text/html; the Atom comments feed template uses the more
correct html_type reference for better accuracy in the media type hint if
publishers have varied from the default of text/html.
Patch Atom feed template to use html_type instead of assuming text/html.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21305>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list