[wp-trac] [WordPress Trac] #18438: Create a new term in XMLRPC

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 2 19:15:06 UTC 2012


#18438: Create a new term in XMLRPC
----------------------------+-----------------------
 Reporter:  nprasath002     |       Owner:  westi
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  3.4
Component:  XML-RPC         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------

Comment (by maxcutler):

 `get_term`/`get_term_by` return all field values as `string`s, even though
 some represent `int`s. For example, `count` and the various IDs
 (`term_id`, `parent`, `term_group`, `term_taxonomy_id`). Should we cast
 these fields to `int` in `_prepare_term`?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18438#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list