Opened 17 years ago
Closed 17 years ago
#4274 closed defect (bug) (fixed)
Atom-Comments-Feed invalid
Reported by: | Erunafailaro | Owned by: | rob1n |
---|---|---|---|
Milestone: | 2.2.1 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | Administration | Keywords: | atom comments has-patch commit |
Focuses: | Cc: |
Description
I think, there may be some errors in file /wp-includes/feed-atom-comments.php:
- Line 23:
<link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" content="<?php bloginfo_rss('home'); ?>" />
should be<link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php bloginfo_rss('home'); ?>" />
- Line 43:
<link rel="alternate" href="<?php comment_link(); ?>" type="<?php bloginfo_rss('content_type'); ?>" />
should be<link rel="alternate" href="<?php comment_link(); ?>" title="<?php bloginfo_rss('content_type'); ?>" />
- Lines 52 and 53: Dateformat-string is
'D, d M Y H:i:s +0000'
but should be'Y-m-d\TH:i:s\Z'
, like in line 20, where it is coded correctly.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
I think line 43's correct.