mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 05:38:07 +01:00
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
This commit is contained in:
parent
4b713f931e
commit
3351bbf3dd
@ -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