Security cleanup, hardening and malware removal

This commit is contained in:
2026-03-21 21:55:08 +01:00
parent 9d6081f00d
commit b11e37fab9
3196 changed files with 644 additions and 1730981 deletions

View File

@@ -27,6 +27,15 @@ class Plugin_Settings extends Base {
return 'plugin-settings';
}
/**
* Restrict settings changes to administrators.
*
* @return bool
*/
public function permission_callback() {
return current_user_can( 'manage_options' );
}
/**
* [callback description]
* @param [type] $request [description]