Skip to content

Commit 823767f

Browse files
committed
Don't use deprecated function. Fixes WordPress#8103 props Speedbozxer.
git-svn-id: https://develop.svn.wordpress.org/trunk@9568 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 92646b1 commit 823767f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xmlrpc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2761,7 +2761,7 @@ function mw_getCategories($args) {
27612761
$struct['description'] = $cat->name;
27622762
$struct['categoryName'] = $cat->name;
27632763
$struct['htmlUrl'] = wp_specialchars(get_category_link($cat->term_id));
2764-
$struct['rssUrl'] = wp_specialchars(get_category_rss_link(false, $cat->term_id, $cat->name));
2764+
$struct['rssUrl'] = wp_specialchars(get_category_feed_link($cat->term_id, 'rss2'));
27652765

27662766
$categories_struct[] = $struct;
27672767
}

0 commit comments

Comments
 (0)