[wp-trac] [WordPress Trac] #18438: Create a new term in XMLRPC
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 21 03:29:09 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):
Replying to [comment:19 markoheijnen]:
> For the terms get method don't we need to set the arg hide_empty to
false for the function get_terms() ? Or at least the ability to modify it?
I would be in favor of adding an optional `$filter` parameter that covers
most of the arguments to `get_terms`, just like we did for `wp.getPosts`.
> Also for get_term() shouldn't we set the output to ARRAY_A and for
casting it to an array use get_object_vars()? Like WordPress does if you
look into the get_term() function
+1
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18438#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list