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/theme-editor.php | 20 +++-----------------
1 file changed, 3 insertions(+), 17 deletions(-)
(limited to 'wp-admin/theme-editor.php')
diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php
index 3213cc4..43ee21f 100644
--- a/wp-admin/theme-editor.php
+++ b/wp-admin/theme-editor.php
@@ -5,21 +5,7 @@ require_once('admin.php');
$title = __("Edit Themes");
$parent_file = 'themes.php';
-$wpvarstoreset = array('action','redirect','profile','error','warning','a','file', 'theme');
-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']);
$theme = urlencode($theme);
@@ -72,7 +58,7 @@ default:
require_once('admin-header.php');
if ( !current_user_can('edit_themes') )
- die(''.__('You have do not have sufficient permissions to edit themes for this blog.').'
');
+ die(''.__('You do not have sufficient permissions to edit themes for this blog.').'
');
update_recently_edited($file);
--
cgit