[wp-trac] [WordPress Trac] #4274: Atom-Comments-Feed invalid

WordPress Trac wp-trac at lists.automattic.com
Wed May 16 11:12:10 GMT 2007


#4274: Atom-Comments-Feed invalid
----------------------------+-----------------------------------------------
 Reporter:  Erunafailaro    |       Owner:  anonymous    
     Type:  defect          |      Status:  new          
 Priority:  normal          |   Milestone:               
Component:  Administration  |     Version:  2.2          
 Severity:  normal          |    Keywords:  atom comments
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4274>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list