Skip to content

Commit

Permalink
properly format sanitize callback
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Nov 4, 2024
1 parent 8181b80 commit 4384770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Git_Updater/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4384770

Please sign in to comment.