[wp-trac] [WordPress Trac] #38526: REST Multisite new user is not assigned to any site
WordPress Trac
noreply at wordpress.org
Thu Oct 27 11:41:52 UTC 2016
#38526: REST Multisite new user is not assigned to any site
-------------------------+-----------------------------
Reporter: Compute | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.6.1
Severity: normal | Keywords:
Focuses: multisite |
-------------------------+-----------------------------
Hi there
Creating a new user through the API on a multisite results in a user not
assigned to any website. I know the focus on the REST API have not focused
mainly on the multisite part of things but would the expected behavior not
be to assign the user to the site that the request has been passed to?
Example:
POST http://example.com/wp-json/wp/v2/users will add the user to the
example.com site
POST http://test example.com/wp-json/wp/v2/users will add the user to the
test.example.com site
And so on.
As users are the thing shared across multisite I think that this would be
an important change as otherwise creating new users on multisites will be
kinda meaningless at the moment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38526>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list