Don't use deprecated function. Fixes #8103 props Speedbozxer.
git-svn-id: https://develop.svn.wordpress.org/trunk@9568 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
92646b1275
commit
823767f59d
@ -2761,7 +2761,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
$struct['description'] = $cat->name;
|
$struct['description'] = $cat->name;
|
||||||
$struct['categoryName'] = $cat->name;
|
$struct['categoryName'] = $cat->name;
|
||||||
$struct['htmlUrl'] = wp_specialchars(get_category_link($cat->term_id));
|
$struct['htmlUrl'] = wp_specialchars(get_category_link($cat->term_id));
|
||||||
$struct['rssUrl'] = wp_specialchars(get_category_rss_link(false, $cat->term_id, $cat->name));
|
$struct['rssUrl'] = wp_specialchars(get_category_feed_link($cat->term_id, 'rss2'));
|
||||||
|
|
||||||
$categories_struct[] = $struct;
|
$categories_struct[] = $struct;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user