Changeset 14088
- Timestamp:
- 04/14/2010 05:22:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r13956 r14088 994 994 } 995 995 // Fall through if not DISALLOW_FILE_EDIT. 996 case 'unfiltered_html':997 996 case 'update_plugins': 998 997 case 'delete_plugins': … … 1002 1001 case 'install_themes': 1003 1002 case 'update_core': 1003 // Disallow anything that creates, deletes, or edits core, plugin, or theme files. 1004 // Files in uploads are excepted. 1005 if ( defined('DISALLOW_FILE_MODS') && DISALLOW_FILE_MODS ) { 1006 $caps[] = 'do_not_allow'; 1007 break; 1008 } 1009 // Fall through if not DISALLOW_FILE_MODS. 1010 case 'unfiltered_html': 1004 1011 case 'delete_user': 1005 1012 case 'delete_users':
Note: See TracChangeset
for help on using the changeset viewer.