Added new template function, the_permalink(). echoes get_permalink. We are now consistent in the templates.

git-svn-id: https://develop.svn.wordpress.org/trunk@1112 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-04-21 04:12:55 +00:00
parent 6a14e2afb0
commit bd619bb1da
4 changed files with 7 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ header('Content-type: application/rss+xml', true);
<comments><?php comments_link(); ?></comments>
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt); ?></pubDate>
<?php the_category_rss() ?>
<guid><?php echo get_permalink($id); ?></guid>
<guid><?php the_permalink($id); ?></guid>
<?php $more = 1; if (get_settings('rss_use_excerpt')) {
?>
<description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description>