[wp-trac] [WordPress Trac] #26195: Deleting users asks for reassigning posts even when there is no post/comment

WordPress Trac noreply at wordpress.org
Wed Nov 27 22:08:28 UTC 2013


#26195: Deleting users asks for reassigning posts even when there is no
post/comment
------------------------------------+------------------------------
 Reporter:  MarcelWaldvogel         |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Users                   |     Version:  3.7.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------
Changes (by leewillis77):

 * keywords:   => has-patch dev-feedback


Comment:

 Patch attached. This meets the users original request:

 "However, this question should not be displayed, if the sum of the posts
 of these user(s) is 0. Then, the delete button should become immediately
 active."

 It doesn't provide a count of posts for users although could be extended
 to if required.

 My only reservation about this is that it effectively defaults to "delete
 posts" in the absence of a "choice". There's a slim chance that if a user
 due to be deleted creates a post between the start of the process, and the
 user confirming the action then that post will be silently deleted.

 We could extend it to not delete the post, but that would leave data
 consistency issues.

 We could (If anyone feels the issue is significant enough) also amend it
 so that the user will not be deleted (Nor their posts) if this route is
 followed.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26195#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list