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
This commit is contained in:
parent
04f3e6d29d
commit
8f96b4f054
|
@ -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/";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue