From 06303fe3a7cdd34a33c73e8e650f1cb4d73b4837 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 5 Dec 2008 05:13:27 +0000 Subject: [PATCH] Return description not name. Props josephscott. fixes #8494 git-svn-id: http://svn.automattic.com/wordpress/trunk@10058 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- xmlrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlrpc.php b/xmlrpc.php index a110af3e2b..84993ca334 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -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'));