using the comments_link_rss function

git-svn-id: https://develop.svn.wordpress.org/trunk@720 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Alex King 2004-01-05 03:14:12 +00:00
parent dec1d3aa86
commit d05c946222
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
<h2 id="comments">Comments</h2>
<p><a href="<?php echo $siteurl; ?>/wp-commentsrss2.php?p=<?php echo $id; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
<p><?php comments_rss_link('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'); ?></p>
<?php if ('open' == $post->ping_status) { ?>
<p>The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>

View File

@ -1757,8 +1757,8 @@ function comment_time($d='') {
function comments_rss_link($link_text='Comments RSS', $commentsrssfilename = 'wp-commentsrss2.php') {
global $id;
global $querystring_start, $querystring_equal, $querystring_separator;
$url = $commentsrssfilename.$querystring_start.'p'.$querystring_equal.$id;
global $querystring_start, $querystring_equal, $querystring_separator, $siteurl;
$url = $siteurl.'/'.$commentsrssfilename.$querystring_start.'p'.$querystring_equal.$id;
$url = '<a href="'.$url.'">'.$link_text.'</a>';
echo $url;
}