diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-08-31 14:55:29 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-08-31 14:55:29 +0000 |
commit | b764f60728be1d4e026f9d7ae618ab47e23322f8 (patch) | |
tree | 1f1b45c4f1c1cf027b3240f605346e56209be8ff /wp-includes/feed.php | |
parent | dad010666b767a1d06588d1d09c771c62f67c387 (diff) | |
download | wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.tar.gz wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.tar.xz wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.zip |
WP Merge to rev #4147
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@729 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/feed.php')
-rw-r--r-- | wp-includes/feed.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/wp-includes/feed.php b/wp-includes/feed.php index c406b7b..fd8b8a0 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -87,20 +87,20 @@ function comments_rss_link($link_text = 'Comments RSS', $commentsrssfilename = ' function comments_rss($commentsrssfilename = '') { global $id; - if ('' != get_settings('permalink_structure')) + if ('' != get_option('permalink_structure')) $url = trailingslashit( get_permalink() ) . 'feed/'; else - $url = get_settings('home') . "/$commentsrssfilename?feed=rss2&p=$id"; + $url = get_option('home') . "/$commentsrssfilename?feed=rss2&p=$id"; return apply_filters('post_comments_feed_link', $url); } function get_author_rss_link($echo = false, $author_id, $author_nicename) { $auth_ID = $author_id; - $permalink_structure = get_settings('permalink_structure'); + $permalink_structure = get_option('permalink_structure'); if ('' == $permalink_structure) { - $link = get_settings('home') . '?feed=rss2&author=' . $author_id; + $link = get_option('home') . '?feed=rss2&author=' . $author_id; } else { $link = get_author_link(0, $author_id, $author_nicename); $link = $link . "feed/"; @@ -113,10 +113,10 @@ function get_author_rss_link($echo = false, $author_id, $author_nicename) { } function get_category_rss_link($echo = false, $cat_ID, $category_nicename) { - $permalink_structure = get_settings('permalink_structure'); + $permalink_structure = get_option('permalink_structure'); if ('' == $permalink_structure) { - $link = get_settings('home') . '?feed=rss2&cat=' . $cat_ID; + $link = get_option('home') . '?feed=rss2&cat=' . $cat_ID; } else { $link = get_category_link($cat_ID); $link = $link . "feed/"; @@ -161,4 +161,4 @@ function rss_enclosure() { } } -?>
\ No newline at end of file +?> |