[wp-trac] [WordPress Trac] #18438: Create a new term in XMLRPC
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 15 02:14:52 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 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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18438#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list