From c1e9ee019dcce4d8c2e5bc7d6feac95afa812598 Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 5 Jul 2006 11:55:16 +0000 Subject: WP Merge. Delete feed code and sql git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@636 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/plugin-editor.php | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'wp-admin/plugin-editor.php') diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 4c3c600..3085261 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -5,21 +5,7 @@ require_once('admin.php'); $title = __("Edit Plugins"); $parent_file = 'plugins.php'; -$wpvarstoreset = array('action','redirect','profile','error','warning','a','file'); -for ($i=0; $i'.__('You have do not have sufficient permissions to edit templates for this blog.').'

'); + die('

'.__('You do not have sufficient permissions to edit templates for this blog.').'

'); $newcontent = stripslashes($_POST['newcontent']); if (is_writeable($real_file)) { @@ -58,7 +44,7 @@ default: require_once('admin-header.php'); if ( !current_user_can('edit_plugins') ) - die('

'.__('You have do not have sufficient permissions to edit plugins for this blog.').'

'); + die('

'.__('You do not have sufficient permissions to edit plugins for this blog.').'

'); update_recently_edited("wp-content/plugins/$file"); -- cgit