Skip to content

Commit

Permalink
Remove usage of deprecated \FILTER_SANITIZE_STRING in gateway setti…
Browse files Browse the repository at this point in the history
…ngs fields.
  • Loading branch information
rvdsteege committed Dec 9, 2022
1 parent b02e434 commit 85d9e1c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public function get_settings_fields() {
// Token.
$fields[] = [
'section' => 'general',
'filter' => FILTER_SANITIZE_STRING,
'meta_key' => '_pronamic_gateway_pay_nl_token',
'title' => __( 'Token', 'pronamic_ideal' ),
'type' => 'text',
Expand All @@ -74,7 +73,6 @@ public function get_settings_fields() {
// Service ID.
$fields[] = [
'section' => 'general',
'filter' => FILTER_SANITIZE_STRING,
'meta_key' => '_pronamic_gateway_pay_nl_service_id',
'title' => __( 'Service ID', 'pronamic_ideal' ),
'type' => 'text',
Expand Down

0 comments on commit 85d9e1c

Please sign in to comment.