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:
parent
2852e800da
commit
efa798a2af
|
@ -21,6 +21,9 @@ for ($i=0; $i<count($wpvarstoreset); $i += 1) {
|
|||
}
|
||||
}
|
||||
|
||||
if ($user_level < 6)
|
||||
die ( __('Cheatin’ uh?') );
|
||||
|
||||
switch($action) {
|
||||
|
||||
case 'update':
|
||||
|
|
Loading…
Reference in New Issue