From d65456fed1d38ab19b96a061ff780a034af2d5ff Mon Sep 17 00:00:00 2001 From: Alex King Date: Wed, 28 Jan 2004 03:45:39 +0000 Subject: [PATCH] fixing template editing git-svn-id: https://develop.svn.wordpress.org/trunk@804 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 83ddb947cc..b24dddb891 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. :)

'); }