Return cat name and description. Props josephscott. fixes #8494
git-svn-id: http://svn.automattic.com/wordpress/trunk@10205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d58297955d
commit
dc85fcff07
|
@ -2761,7 +2761,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
foreach ( $cats as $cat ) {
|
||||
$struct['categoryId'] = $cat->term_id;
|
||||
$struct['parentId'] = $cat->parent;
|
||||
$struct['description'] = $cat->description;
|
||||
$struct['description'] = $cat->name;
|
||||
$struct['categoryDescription'] = $cat->description;
|
||||
$struct['categoryName'] = $cat->name;
|
||||
$struct['htmlUrl'] = wp_specialchars(get_category_link($cat->term_id));
|
||||
$struct['rssUrl'] = wp_specialchars(get_category_feed_link($cat->term_id, 'rss2'));
|
||||
|
|
Loading…
Reference in New Issue