WordPress.org

Make WordPress Core

Changeset 14664


Ignore:
Timestamp:
05/15/2010 02:43:13 PM (10 years ago)
Author:
ryan
Message:

Use the remove_user cap instead of delete_user. fixes #13325

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r14422 r14664  
    213213            continue;
    214214        }
    215         if ( !current_user_can('delete_user', $id) ) {
     215        if ( !current_user_can('remove_user', $id) ) {
    216216            $update = 'err_admin_remove';
    217217            continue;
Note: See TracChangeset for help on using the changeset viewer.