Changeset 41290 for trunk/src/wp-includes/capabilities.php
- Timestamp:
- 08/22/2017 02:01:36 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r41268 r41290 408 408 break; 409 409 case 'activate_plugins': 410 $caps[] = $cap; 410 case 'deactivate_plugins': 411 case 'activate_plugin': 412 case 'deactivate_plugin': 413 $caps[] = 'activate_plugins'; 411 414 if ( is_multisite() ) { 412 415 // update_, install_, and delete_ are handled above with is_super_admin().
Note: See TracChangeset
for help on using the changeset viewer.