Return description not name. Props josephscott. fixes #8494

git-svn-id: https://develop.svn.wordpress.org/trunk@10058 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-12-05 05:13:27 +00:00
parent 7b2e1ef17e
commit 6c16ca328e
1 changed files with 1 additions and 1 deletions

View File

@ -2761,7 +2761,7 @@ class wp_xmlrpc_server extends IXR_Server {
foreach ( $cats as $cat ) {
$struct['categoryId'] = $cat->term_id;
$struct['parentId'] = $cat->parent;
$struct['description'] = $cat->name;
$struct['description'] = $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'));