[wp-trac] [WordPress Trac] #12720: Delete user and hook confusion when deleting users in Multisite
WordPress Trac
noreply at wordpress.org
Fri Mar 14 14:46:57 UTC 2014
#12720: Delete user and hook confusion when deleting users in Multisite
--------------------------+-----------------------------
Reporter: andreasnrb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Users | Version: 3.0
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
--------------------------+-----------------------------
Comment (by danielbachhuber):
wp_delete_user() only removes the user from the current site if used in
multisite. The user does not actually get deleted from the database.
[https://github.com/wp-cli/wp-cli/issues/1072 WP-CLI just ran into this].
I'd be a huge fan of explicit core APIs for each behavior —
`wp_delete_user()` seems to do too much right now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12720#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list