WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#13325 closed defect (bug) (fixed)

Removing a user requires the delete_user cap

Reported by: mtdewvirus Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:

Description

In a multi-site install, in order to remove a user from a blog, you need to be able to delete the user (delete_user cap) even if you have remove_users. Should there be a similar remove_user cap in additian to remove_users?

Change History (2)

comment:1 @ryan5 years ago

Clarification from mtdewvirus. This is the doremove case of users.php.

comment:2 @ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14664]) Use the remove_user cap instead of delete_user. fixes #13325

Note: See TracTickets for help on using tickets.