[wp-trac] [WordPress Trac] #18428: Retrieve a list of user via XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 20 16:03:44 UTC 2011
#18428: Retrieve a list of user via XML-RPC
-----------------------------+------------------------------
Reporter: nprasath002 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+------------------------------
Comment (by nprasath002):
wp_getUser and wp_getUsers are simply wrappers for function get_user_data
and get_users.
So these methods returns the same results of the functions used.
wp_getUser returns more info and costly.
There is a need to return only a subset of information for sites
having large number of users. If we use a singular version retrieving
information
about 50 users would be costly
Alternatively we can have three methods like
wp_getUser
wp_getUsers
wp_getUserList
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18428#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list