Ticket #4274 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Atom-Comments-Feed invalid

Reported by: Erunafailaro Assigned to: 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

4274.diff (1.6 kB) - added by rob1n on 05/16/07 17:27:19.

Change History

05/16/07 16:46:24 changed by ryan

  • owner changed from anonymous to dougal, eliast.

05/16/07 17:08:44 changed by rob1n

  • owner changed from dougal, eliast to rob1n.
  • status changed from new to assigned.

05/16/07 17:08:50 changed by rob1n

  • milestone set to 2.2.1.

05/16/07 17:27:19 changed by rob1n

  • attachment 4274.diff added.

05/16/07 17:27:34 changed by rob1n

  • keywords changed from atom comments to atom comments has-patch commit.

I think line 43's correct.

05/16/07 17:37:56 changed by rob1n

  • status changed from assigned to closed.
  • resolution set to fixed.

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