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
This commit is contained in:
parent
58917f8be1
commit
c9b76b0cf4
@ -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/";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user