[wp-trac] [WordPress Trac] #20967: wp.getAuthors is returning more than just authors
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 16 15:31:35 UTC 2012
#20967: wp.getAuthors is returning more than just authors
--------------------------+------------------------------
Reporter: zimbelp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by josephscott):
Replying to [comment:1 maxcutler]:
> While valid, I don't think this can be changed without breaking
backwards compatibility.
>
> A better course of action for 3.5 would be to deprecate wp.getAuthors
and add wp.getUser/wp.getUsers (#18427/#18428).
Agreed, I don't think there is any point in having role specific RPC
methods to get users with that particular role. Better to have a
generalized method that has the ability to filter based on role.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20967#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list