mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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
This commit is contained in:
parent
1c784683f8
commit
7468d1b13d
@ -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('<p>You have no right to edit the template for this blog.<br />Ask for a promotion to your <a href="mailto:$admin_email">blog admin</a>. :)</p>');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user