diff --git a/src/Git_Updater/Settings.php b/src/Git_Updater/Settings.php index 6ac613624..7aea3da71 100644 --- a/src/Git_Updater/Settings.php +++ b/src/Git_Updater/Settings.php @@ -396,7 +396,7 @@ public function page_init() { register_setting( 'git_updater', 'git_updater', - [ $this, 'sanitize' ] + [ 'sanitize_callback' => [ $this, 'sanitize' ] ] ); Singleton::get_instance( 'Install', $this )->run();