Opened 15 years ago
Closed 14 years ago
#18424 closed feature request (maybelater)
Create users via XML-RPC
| Reported by: | nprasath002 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | XML-RPC | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
15 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.