Don't use deprecated function. Fixes #8103 props Speedbozxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0ceb315f3e
commit
3a54acc52f
|
@ -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