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/theme-editor.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wp-admin/theme-editor.php') diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 43ee21f..18c143c 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-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']); $theme = urlencode($theme); @@ -58,7 +58,7 @@ default: require_once('admin-header.php'); if ( !current_user_can('edit_themes') ) - die('

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

'); + wp_die('

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

'); update_recently_edited($file); -- cgit