Make WordPress Core

Ticket #4704: 4704-222.diff

File 4704-222.diff, 1018 bytes (added by Otto42, 18 years ago)

dc:creator patch for 2.2.2

  • wp-includes/feed-rss2-comments.php

     
    55?>
    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
    1113                if ( is_singular() )
     
    3739                        }
    3840                ?></title>
    3941                <link><?php comment_link() ?></link>
    40                 <author><?php echo get_comment_author_rss() ?></author>
     42                <dc:creator><?php echo get_comment_author_rss() ?></dc:creator>
    4143                <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true), false); ?></pubDate>
    4244                <guid><?php comment_link() ?></guid>
    4345<?php if (!empty($comment_post->post_password) && $_COOKIE['wp-postpass'] != $comment_post->post_password) : ?>