[wp-trac] [WordPress Trac] #47851: When deleting a user, there is no need to consider whether the current user has content.

WordPress Trac noreply at wordpress.org
Thu Aug 8 03:19:23 UTC 2019


#47851: When deleting a user, there is no need to consider whether the current user
has content.
-----------------------------+-----------------------------
 Reporter:  mt8.biz          |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Users            |    Version:  5.2
 Severity:  normal           |   Keywords:  has-patch
  Focuses:                   |
-----------------------------+-----------------------------
 For example, I try to delete two users: the current user with content and
 another user with no content.

 In this case, the current user cannot be deleted, but the existence of the
 content is checked because `$users_have_content` contains the current
 user.

 As a result, the question “What should be done with content owned by this
 user?” Is displayed, but it is not actually processed.

 Since it is not possible to delete the current user, how about omitting
 the current user ID from the user's owned content check process?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47851>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list