Changeset 3295 for trunk/wp-admin/plugin-editor.php
- Timestamp:
- 12/12/2005 10:48:30 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/plugin-editor.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-editor.php
r3082 r3295 36 36 37 37 if ( !current_user_can('edit_plugins') ) 38 die(__('<p>You have do not have sufficient permissions to edit templates for this blog.</p>'));38 die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>'); 39 39 40 40 $newcontent = stripslashes($_POST['newcontent']); … … 56 56 require_once('admin-header.php'); 57 57 if ( !current_user_can('edit_plugins') ) 58 die(__('<p>You have do not have sufficient permissions to edit plugins for this blog.</p>'));58 die('<p>'.__('You have do not have sufficient permissions to edit plugins for this blog.').'</p>'); 59 59 60 60 update_recently_edited("wp-content/plugins/$file");
Note: See TracChangeset
for help on using the changeset viewer.