git-svn-id: http://svn.automattic.com/wordpress/trunk@2589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-05-09 10:59:36 +00:00
parent 04f3e6d29d
commit 8f96b4f054
1 changed files with 2 additions and 2 deletions

View File

@ -110,9 +110,9 @@ function get_category_rss_link($echo = false, $cat_ID, $category_nicename) {
$permalink_structure = get_settings('permalink_structure'); $permalink_structure = get_settings('permalink_structure');
if ('' == $permalink_structure) { if ('' == $permalink_structure) {
$link = get_settings('home') . '?feed=rss2&cat=' . $category_id; $link = get_settings('home') . '?feed=rss2&cat=' . $cat_ID;
} else { } else {
$link = get_category_link($category_id); $link = get_category_link($cat_ID);
$link = $link . "feed/"; $link = $link . "feed/";
} }