public function update_settings()
{
if (isset($_POST['option_page'])) {
if ('github_updater' === $_POST['option_page']) {
$options = $this->filter_options();
update_site_option('github_updater', self::sanitize($options));
}
if ('github_updater_remote_management' === $_POST['option_page']) {
update_site_option('github_updater_remote_management', (array) self::sanitize($_POST['github_updater_remote_management']));
}
}
$this->redirect_on_save();
}