[wp-trac] [WordPress Trac] #40587: Feed link markup should contain rel and type attributes
WordPress Trac
noreply at wordpress.org
Fri Apr 28 13:14:59 UTC 2017
#40587: Feed link markup should contain rel and type attributes
--------------------------+------------------------------
Reporter: henry.wright | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by subrataemfluence):
Out of curiosity:
What additional benefit we would have by adding those two attributes? Also
I presume you are actually looking for adding dynamic stuff to them rather
than just use static values like "alternate" and "application/rss+xml". If
yes, how you want this to work?
Replying to [ticket:40587 henry.wright]:
> The markup of feed links should really contain a {{{rel}}} and a
{{{type}}} attribute. For example:
>
> {{{<a rel="alternate" type="application/rss+xml"
href="https://example.com/feed">#</a>}}}
>
> The {{{post_comments_feed_link()}}} is an example of where this doesn't
happen.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40587#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list