Opened 6 years ago
Closed 6 years ago
#4274 closed defect (bug) (fixed)
Atom-Comments-Feed invalid
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2.1 |
| Component: | Administration | Version: | 2.2 |
| Severity: | normal | Keywords: | atom comments has-patch commit |
| 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)
- Owner changed from dougal, eliast to rob1n
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.

I think line 43's correct.