From c9b76b0cf443fe6d042b492ec1b90b920d1d6035 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg 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: https://develop.svn.wordpress.org/trunk@2589 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 34c3e130ed..a9df4e78d6 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/"; }