Changeset 15097
- Timestamp:
- 06/01/2010 06:08:27 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import.php
r14989 r15097 12 12 require_once ('admin.php'); 13 13 14 if ( !current_user_can(' edit_files') )14 if ( !current_user_can('import') ) 15 15 wp_die(__('You do not have sufficient permissions to import content in this site.')); 16 16 -
trunk/wp-includes/capabilities.php
r14782 r15097 997 997 $caps[] = 'do_not_allow'; 998 998 break; 999 case 'edit_files': 999 1000 case 'edit_plugins': 1000 1001 case 'edit_themes':
Note: See TracChangeset
for help on using the changeset viewer.