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 4c09cf7 commit 1736713
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public function get_settings_fields() {
// Website Key.
$fields[] = [
'section' => 'general',
'filter' => FILTER_SANITIZE_STRING,
'meta_key' => '_pronamic_gateway_' . $this->meta_key_website_key,
'title' => __( 'Website Key', 'pronamic_ideal' ),
'type' => 'text',
Expand All @@ -134,7 +133,6 @@ public function get_settings_fields() {
// Secret Key.
$fields[] = [
'section' => 'general',
'filter' => FILTER_SANITIZE_STRING,
'meta_key' => '_pronamic_gateway_' . $this->meta_key_secret_key,
'title' => __( 'Secret Key', 'pronamic_ideal' ),
'type' => 'text',
Expand All @@ -147,7 +145,6 @@ public function get_settings_fields() {
// Excluded services.
$fields[] = [
'section' => 'advanced',
'filter' => FILTER_SANITIZE_STRING,
'meta_key' => '_pronamic_gateway_buckaroo_excluded_services',
'title' => __( 'Excluded services', 'pronamic_ideal' ),
'type' => 'text',
Expand All @@ -162,7 +159,6 @@ public function get_settings_fields() {
// Invoice number.
$fields[] = [
'section' => 'advanced',
'filter' => FILTER_SANITIZE_STRING,
'meta_key' => '_pronamic_gateway_buckaroo_invoice_number',
'title' => __( 'Invoice number', 'pronamic_ideal' ),
'type' => 'text',
Expand Down

0 comments on commit 1736713

Please sign in to comment.