Changeset 4144 for trunk/wp-includes/feed.php
- Timestamp:
- 08/30/2006 09:46:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/feed.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r3862 r4144 88 88 global $id; 89 89 90 if ('' != get_ settings('permalink_structure'))90 if ('' != get_option('permalink_structure')) 91 91 $url = trailingslashit( get_permalink() ) . 'feed/'; 92 92 else 93 $url = get_ settings('home') . "/$commentsrssfilename?feed=rss2&p=$id";93 $url = get_option('home') . "/$commentsrssfilename?feed=rss2&p=$id"; 94 94 95 95 return apply_filters('post_comments_feed_link', $url); … … 98 98 function get_author_rss_link($echo = false, $author_id, $author_nicename) { 99 99 $auth_ID = $author_id; 100 $permalink_structure = get_ settings('permalink_structure');100 $permalink_structure = get_option('permalink_structure'); 101 101 102 102 if ('' == $permalink_structure) { 103 $link = get_ settings('home') . '?feed=rss2&author=' . $author_id;103 $link = get_option('home') . '?feed=rss2&author=' . $author_id; 104 104 } else { 105 105 $link = get_author_link(0, $author_id, $author_nicename); … … 114 114 115 115 function get_category_rss_link($echo = false, $cat_ID, $category_nicename) { 116 $permalink_structure = get_ settings('permalink_structure');116 $permalink_structure = get_option('permalink_structure'); 117 117 118 118 if ('' == $permalink_structure) { 119 $link = get_ settings('home') . '?feed=rss2&cat=' . $cat_ID;119 $link = get_option('home') . '?feed=rss2&cat=' . $cat_ID; 120 120 } else { 121 121 $link = get_category_link($cat_ID);
Note: See TracChangeset
for help on using the changeset viewer.