Opened 6 years ago

Closed 6 years ago

#4274 closed defect (bug) (fixed)

Atom-Comments-Feed invalid

Reported by: Erunafailaro Owned by: rob1n
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)

4274.diff (1.6 KB) - added by rob1n 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1   ryan6 years ago

  • Owner changed from anonymous to dougal, eliast
  • Owner changed from dougal, eliast to rob1n
  • Status changed from new to assigned
  • Milestone set to 2.2.1

rob1n6 years ago

  • Keywords has-patch commit added

I think line 43's correct.

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [5483]) Fix some attribute misnamings. Props Erunafailaro. fixes #4274

Note: See TracTickets for help on using tickets.