Userlevel 6 on options page

git-svn-id: http://svn.automattic.com/wordpress/trunk@1915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-12-07 20:12:34 +00:00
parent 2852e800da
commit efa798a2af
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':