[wp-hackers] wp_delete_user()

Scott Merrill skippy at skippy.net
Tue Jul 5 12:25:13 GMT 2005


Peter Westwood wrote:
> On Tue, July 5, 2005 1:09 pm, Scott Merrill said:
> 
>>http://trac.wordpress.org/changeset/2698
>>
>>Should (could?) wp_delete_user() go in pluggable-functions?
>>
>>I realize that deleting all the user's contributions to the blog is the
>>default behaviour.  But I've never had to delete a user, so the default
>>behavior never really entered my mind.
>>
>>It seems ... extreme ... to delete a user's _comments_ just because you
>>remove them from the list of registered users.
>>
> 
> 
> Unless i read the code wrong
> 
> The users's comments are not deleted - just the comments on the users posts

Oh.  Thanks for pointing that out.

Even worse, in my mind.  Deleting contributions from other people seems
like a really bad idea.  Granted, if we're deleting their posts the
comments would have nowhere to go, so we might as well delete them.  I
guess I'm just really uncomfortable with deleting so much stuff.  Guess
I'll just not delete users ever...

-- 
skippy at skippy.net | http://skippy.net/

gpg --keyserver pgp.mit.edu --recv-keys 9CFA4B35
506C F8BB 17AE 8A05 0B49  3544 476A 7DEC 9CFA 4B35


More information about the wp-hackers mailing list