Make WordPress Core


Ignore:
Timestamp:
04/21/2010 05:43:53 PM (14 years ago)
Author:
ryan
Message:

Separate user deletion and removal. Add promote_users cap so that multisite Admins (not supes) can promote. see #13074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/capabilities.php

    r14088 r14176  
    802802    case 'delete_user':
    803803        $caps[] = 'delete_users';
     804        break;
     805    case 'promote_user':
     806        $caps[] = 'promote_users';
    804807        break;
    805808    case 'edit_user':
Note: See TracChangeset for help on using the changeset viewer.