Changeset 50114 for trunk/src/wp-includes/capabilities.php
- Timestamp:
- 01/31/2021 07:02:30 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r49936 r50114 593 593 $caps[] = is_multisite() ? 'manage_network' : 'manage_options'; 594 594 break; 595 case 'create_app_password': 596 case 'list_app_passwords': 597 case 'read_app_password': 598 case 'edit_app_password': 599 case 'delete_app_passwords': 600 case 'delete_app_password': 601 $caps = map_meta_cap( 'edit_user', $user_id, $args[0] ); 602 break; 595 603 default: 596 604 // Handle meta capabilities for custom post types.
Note: See TracChangeset
for help on using the changeset viewer.