Changeset 4929 for trunk/wp-includes/feed.php
- Timestamp:
- 02/23/2007 08:31:07 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r4886 r4929 90 90 91 91 92 function comments_rss_link($link_text = 'Comments RSS', $commentsrssfilename = ' ') {93 $url = comments_rss($commentsrssfilename);92 function comments_rss_link($link_text = 'Comments RSS', $commentsrssfilename = 'nolongerused') { 93 $url = get_post_comments_feed_link();; 94 94 echo "<a href='$url'>$link_text</a>"; 95 95 } 96 96 97 97 98 function comments_rss($commentsrssfilename = '') { 99 global $id; 100 101 if ( '' != get_option('permalink_structure') ) 102 $url = trailingslashit( get_permalink() ) . user_trailingslashit('feed'); 103 else 104 $url = get_option('home') . "/$commentsrssfilename?feed=rss2&p=$id"; 105 106 return apply_filters('post_comments_feed_link', $url); 98 function comments_rss($commentsrssfilename = 'nolongerused') { 99 return get_post_comments_feed_link(); 107 100 } 108 101
Note: See TracChangeset
for help on using the changeset viewer.