mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 07:05:37 +01:00
using the comments_link_rss function
git-svn-id: http://svn.automattic.com/wordpress/trunk@720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
db3c4bd654
commit
588615970e
@ -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>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user