Require manage_options capability
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* @package CleverOgre
|
* @package CleverOgre
|
||||||
* @subpackage OgreSchema
|
* @subpackage OgreSchema
|
||||||
* @version 0.1.0
|
* @version 0.1.4
|
||||||
* @since 0.1.0
|
* @since 0.1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -32,6 +32,7 @@ class Settings {
|
|||||||
'menu_slug' => Plugin::instance()->get_id(),
|
'menu_slug' => Plugin::instance()->get_id(),
|
||||||
'update_button' => Plugin::__('Save'),
|
'update_button' => Plugin::__('Save'),
|
||||||
'updated_message' => Plugin::__('Schema Updated'),
|
'updated_message' => Plugin::__('Schema Updated'),
|
||||||
|
'capability' => 'manage_options',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user