[wp-trac] [WordPress Trac] #18426: Delete users via XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 28 17:29:33 UTC 2011
#18426: Delete users 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 |
-----------------------------+------------------------------
Changes (by maxcutler):
* cc: max@… (added)
Comment:
Cleaned up the patch and removed the multi-user delete functionality.
nprasath002, could you explain the rationale for the multi-user delete
functionality? None of the other XML-RPC methods support that kind of
behavior, and neither does WordPress core. While your original patch
checks the IDs before it starts deleting things, it is not really atomic
because one of the `wp_delete_user` calls could fail and you wouldn't be
able to rollback the already deleted users.
If there's a good reason I'd be willing to reinstate the multi-user
delete, but for now I think it makes more sense to be consistent with all
of the other methods.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18426#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list