[wp-trac] [WordPress Trac] #38962: REST API: Don't delete posts/links when deleting/removing a user from a site in a multisite install
WordPress Trac
noreply at wordpress.org
Tue Nov 29 02:07:57 UTC 2016
#38962: REST API: Don't delete posts/links when deleting/removing a user from a
site in a multisite install
------------------------------------------+------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 4.7
Component: REST API | Version: trunk
Severity: major | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: multisite
------------------------------------------+------------------------
Comment (by rmccue):
Replying to [comment:4 ocean90]:
> I'd be fine with @jeremyfelt's roadmap, except that I think we should
require `reassign` in 4.7 too. See attached screenshot, wp-admin has no
default value either, you have to read and confirm the action.
I'm not sure how this would actually work in practice, but requiring
`reassign` doesn't sound great to me. What happens if you just want to
update a user? You'd need to send e.g. `{ "name": "My New Name",
"reassign": false }` even if you're not removing roles.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38962#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list