Opened 21 months ago

Closed 8 months 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: max@…

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)

wp.newUser.patch (5.9 KB) - added by nprasath002 21 months ago.
wp.newUser.2.patch (3.5 KB) - added by maxcutler 17 months ago.

Download all attachments as: .zip

Change History (5)

  • Cc max@… added

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.

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

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Per IRC discussion (see #18428), this isn't going to be part of XML-RPC for the time being.

Note: See TracTickets for help on using tickets.