Changeset 56177 for trunk/src/wp-includes/capabilities.php
- Timestamp:
- 07/09/2023 08:15:03 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r54891 r56177 173 173 174 174 break; 175 // edit_post breaks down to edit_posts, edit_published_posts, or 176 // edit_others_posts. 175 /* 176 * edit_post breaks down to edit_posts, edit_published_posts, or 177 * edit_others_posts. 178 */ 177 179 case 'edit_post': 178 180 case 'edit_page': … … 618 620 case 'upload_themes': 619 621 case 'update_core': 620 // Disallow anything that creates, deletes, or updates core, plugin, or theme files. 621 // Files in uploads are excepted. 622 /* 623 * Disallow anything that creates, deletes, or updates core, plugin, or theme files. 624 * Files in uploads are excepted. 625 */ 622 626 if ( ! wp_is_file_mod_allowed( 'capability_update_core' ) ) { 623 627 $caps[] = 'do_not_allow';
Note: See TracChangeset
for help on using the changeset viewer.