Changeset 3949
- Timestamp:
- 07/04/2006 05:56:27 PM (19 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-editor.php
r3946 r3949 24 24 25 25 if ( !current_user_can('edit_plugins') ) 26 die('<p>'.__('You havedo not have sufficient permissions to edit templates for this blog.').'</p>');26 die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>'); 27 27 28 28 $newcontent = stripslashes($_POST['newcontent']); … … 44 44 require_once('admin-header.php'); 45 45 if ( !current_user_can('edit_plugins') ) 46 die('<p>'.__('You havedo not have sufficient permissions to edit plugins for this blog.').'</p>');46 die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.').'</p>'); 47 47 48 48 update_recently_edited("wp-content/plugins/$file"); -
trunk/wp-admin/templates.php
r3946 r3949 51 51 52 52 if ( ! current_user_can('edit_files') ) 53 die('<p>'.__('You havedo not have sufficient permissions to edit templates for this blog.').'</p>');53 die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>'); 54 54 55 55 if ( strstr( $file, 'wp-config.php' ) ) -
trunk/wp-admin/theme-editor.php
r3946 r3949 37 37 38 38 if ( !current_user_can('edit_themes') ) 39 die('<p>'.__('You havedo not have sufficient permissions to edit templates for this blog.').'</p>');39 die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>'); 40 40 41 41 $newcontent = stripslashes($_POST['newcontent']); … … 58 58 require_once('admin-header.php'); 59 59 if ( !current_user_can('edit_themes') ) 60 die('<p>'.__('You havedo not have sufficient permissions to edit themes for this blog.').'</p>');60 die('<p>'.__('You do not have sufficient permissions to edit themes for this blog.').'</p>'); 61 61 62 62 update_recently_edited($file);
Note: See TracChangeset
for help on using the changeset viewer.