mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-05 21:09:40 +00:00
When deleting a user through the WordPress admin, a specific decision is presented - whether to assign all of the user's posts to another user, or to delete all of the posts. This change requires `reassign` as a parameter in the corresponding REST API endpoint, so that content isn't accidentally lost. Merges [39426] to the 4.7 branch. Props jeremyfelt. Fixes #39000. Built from https://develop.svn.wordpress.org/branches/4.7@39427 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39367 1a063a9b-81f0-0310-95a4-ce76da25c4cd