summaryrefslogtreecommitdiffstats
path: root/wp-includes/feed-rss2.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/feed-rss2.php')
-rw-r--r--wp-includes/feed-rss2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/feed-rss2.php b/wp-includes/feed-rss2.php
index 588a063..21d9b8e 100644
--- a/wp-includes/feed-rss2.php
+++ b/wp-includes/feed-rss2.php
@@ -1,5 +1,5 @@
<?php
-header('Content-type: text/xml; charset=' . get_option('blog_charset'), true);
+header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
$more = 1;
?>
@@ -24,7 +24,7 @@ $more = 1;
<?php while( have_posts()) : the_post(); ?>
<item>
<title><?php the_title_rss() ?></title>
- <link><?php permalink_single_rss() ?></link>
+ <link><?php the_permalink_rss() ?></link>
<comments><?php comments_link(); ?></comments>
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
<dc:creator><?php the_author() ?></dc:creator>