Make WordPress Core

Changeset 5881


Ignore:
Timestamp:
08/16/2007 06:34:57 PM (17 years ago)
Author:
ryan
Message:

Use dc:creator instead of author for rss2 comment feeds. Props lexhair, Otto42. fixes #4704 for 2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-rss2-comments.php

    r5752 r5881  
    66<!-- generator="wordpress/<?php echo $wp_version ?>" -->
    77<rss version="2.0"
    8     xmlns:content="http://purl.org/rss/1.0/modules/content/">
     8    xmlns:content="http://purl.org/rss/1.0/modules/content/"
     9    xmlns:dc="http://purl.org/dc/elements/1.1/"
     10    >
    911<channel>
    1012    <title><?php
     
    3739        ?></title>
    3840        <link><?php comment_link() ?></link>
    39         <author><?php echo get_comment_author_rss() ?></author>
     41        <dc:creator><?php echo get_comment_author_rss() ?></dc:creator>
    4042        <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true), false); ?></pubDate>
    4143        <guid><?php comment_link() ?></guid>
Note: See TracChangeset for help on using the changeset viewer.