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

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 15 11:04:28 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 westi):

 Replying to [comment:13 markoheijnen]:
 > Added a new patch and new unit tests.
 >
 >  - return term_id should have strval()
 >  - error check op $parent_term but trying to show the error of $term
 >  - Error message for parent variable is not the same as newTerm, the
 same for error code
 >  - Changed some of the error messages so it is the same for all the
 term/taxonomy methods
 >
 > Did wonder if someone can explain why there is an assign term check for
 wp_getTerm and wp_getTerms. Same for the edit taxonomy check for
 wp_getTaxonomy and wp_getTaxonomies. I think those checks can be removed.

 Thanks for the updates - I started reviewing the tests and patch yesterday
 and came accross some of these too.

 I'll restart my review from the latest patches :)

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


More information about the wp-trac mailing list