Opened 13 years ago
Closed 12 years ago
#18424 closed feature request (maybelater)
Create users via XML-RPC
Reported by: | nprasath002 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | XML-RPC | Keywords: | has-patch |
Focuses: | Cc: |
Description
enables admin users to create users via xmlrpc.
only users with capability 'create_users' can create a user.
Users cannot register themselves because it will allow spammers to create mass accounts.
Attachments (2)
Change History (5)
#2
@
13 years ago
Im not sure about having two parameter names (user_login and username).
I first developed as this and changed it following a discussion
in GSoC blog and with my mentor.
http://gsoc2011.wordpress.com/2011/07/23/wp-web-services-%E2%80%93-weekly-update/
Anyway its not a major issue
Note: See
TracTickets for help on using
tickets.
Cleaned up patch formatting and error codes.
Refined validation logic to remove some duplication of code from wp_insert_user (which will be caught by is_wp_error at end of the method).
Refined send_mail logic to reuse existing pluggable functionality.