From 7468d1b13d7a048cac213a5f8d685c98ce4be3b1 Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Thu, 29 Jan 2004 05:51:29 +0000 Subject: [PATCH] oops need to include admin header to set user permissions git-svn-id: http://svn.automattic.com/wordpress/trunk@807 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/templates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/templates.php b/wp-admin/templates.php index b24dddb89..83ddb947c 100644 --- a/wp-admin/templates.php +++ b/wp-admin/templates.php @@ -39,9 +39,9 @@ switch($action) { case 'update': $standalone = 1; + require_once("admin-header.php"); if ($user_level < 3) { - require_once("admin-header.php"); die('

You have no right to edit the template for this blog.
Ask for a promotion to your blog admin. :)

'); }