Make WordPress Core

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)

wp.newUser.patch (5.9 KB ) - added by nprasath002 15 years ago.
wp.newUser.2.patch (3.5 KB ) - added by maxcutler 15 years ago.

Download all attachments as: .zip

Change History (5)

#1 @maxcutler
15 years ago

  • 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.

#2 @nprasath002
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

#3 @nacin
14 years ago

  • Milestone Awaiting Review
  • Resolutionmaybelater
  • Status newclosed

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.