WordPress.org

Make WordPress Core

Changeset 10205


Ignore:
Timestamp:
12/16/08 07:22:01 (5 years ago)
Author:
ryan
Message:

Return cat name and description. Props josephscott. fixes #8494

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r10150 r10205  
    27622762                $struct['categoryId'] = $cat->term_id; 
    27632763                $struct['parentId'] = $cat->parent; 
    2764                 $struct['description'] = $cat->description; 
     2764                $struct['description'] = $cat->name; 
     2765                $struct['categoryDescription'] = $cat->description; 
    27652766                $struct['categoryName'] = $cat->name; 
    27662767                $struct['htmlUrl'] = wp_specialchars(get_category_link($cat->term_id)); 
Note: See TracChangeset for help on using the changeset viewer.