Make WordPress Core


Ignore:
Timestamp:
04/03/2010 05:14:34 AM (14 years ago)
Author:
nacin
Message:

Make remove_user a meta capability. see #12793

File:
1 edited

Legend:

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

    r13883 r13956  
    797797
    798798    switch ( $cap ) {
     799    case 'remove_user':
     800        $caps[] = 'remove_users';
     801        break;
    799802    case 'delete_user':
    800803        $caps[] = 'delete_users';
Note: See TracChangeset for help on using the changeset viewer.