WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 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)

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

Download all attachments as: .zip

Change History (6)

#1 @ryan
10 years ago

  • Owner changed from anonymous to dougal, eliast

#2 @rob1n
10 years ago

  • Owner changed from dougal, eliast to rob1n
  • Status changed from new to assigned

#3 @rob1n
10 years ago

  • Milestone set to 2.2.1

@rob1n
10 years ago

#4 @rob1n
10 years ago

  • Keywords has-patch commit added

I think line 43's correct.

#5 @rob1n
10 years ago

  • 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.