From 3351bbf3dd06dec8f60003e3d8b5aeb63d14c237 Mon Sep 17 00:00:00 2001 From: Alex 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: https://develop.svn.wordpress.org/trunk@807 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 b24dddb891..83ddb947cc 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. :)

'); }