From 8f96b4f054cf3737e096f8b660f88941b023a1a3 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 9 May 2005 10:59:36 +0000 Subject: [PATCH] Use correct category ID variable - http://mosquito.wordpress.org/view.php?id=1319 git-svn-id: http://svn.automattic.com/wordpress/trunk@2589 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/feed-functions.php b/wp-includes/feed-functions.php index 34c3e130e..a9df4e78d 100644 --- a/wp-includes/feed-functions.php +++ b/wp-includes/feed-functions.php @@ -110,9 +110,9 @@ function get_category_rss_link($echo = false, $cat_ID, $category_nicename) { $permalink_structure = get_settings('permalink_structure'); if ('' == $permalink_structure) { - $link = get_settings('home') . '?feed=rss2&cat=' . $category_id; + $link = get_settings('home') . '?feed=rss2&cat=' . $cat_ID; } else { - $link = get_category_link($category_id); + $link = get_category_link($cat_ID); $link = $link . "feed/"; }