Userlevel 6 on options page

git-svn-id: https://develop.svn.wordpress.org/trunk@1915 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-12-07 20:12:34 +00:00
parent 5d15bd8562
commit 8f20ed5791
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ for ($i=0; $i<count($wpvarstoreset); $i += 1) {
}
}
if ($user_level < 6)
die ( __('Cheatin&#8217; uh?') );
switch($action) {
case 'update':