Changeset 4111
- Timestamp:
- 08/22/2006 06:20:00 PM (18 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-editor.php
r3985 r4111 42 42 default: 43 43 44 require_once('admin-header.php');45 44 if ( !current_user_can('edit_plugins') ) 46 45 wp_die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.').'</p>'); 46 47 require_once('admin-header.php'); 47 48 48 49 update_recently_edited("wp-content/plugins/$file"); -
trunk/wp-admin/theme-editor.php
r3985 r4111 56 56 default: 57 57 58 require_once('admin-header.php');59 58 if ( !current_user_can('edit_themes') ) 60 59 wp_die('<p>'.__('You do not have sufficient permissions to edit themes for this blog.').'</p>'); 60 61 require_once('admin-header.php'); 61 62 62 63 update_recently_edited($file);
Note: See TracChangeset
for help on using the changeset viewer.