From 779f0f4411b6467808ff053780c7c96ed0f9a571 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 6 Jul 2006 10:41:20 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@638 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/plugin-editor.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wp-admin/plugin-editor.php') diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 3085261..690baaf 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -1,6 +1,6 @@ '.__('You do not have sufficient permissions to edit templates for this blog.').'

'); + wp_die('

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

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

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

'); + wp_die('

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

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