From d348204a47b27aa45b9aaf0fa887ea2b527e1cc2 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:26:17 +0200 Subject: [PATCH] No longer use removed 'filter' option in setting fields. --- src/Settings.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Settings.php b/src/Settings.php index 710c03b..131706f 100644 --- a/src/Settings.php +++ b/src/Settings.php @@ -115,7 +115,6 @@ public static function get_settings_fields( $type ) { // 3-D Secure $fields[] = [ 'section' => 'general', - 'filter' => FILTER_VALIDATE_BOOLEAN, 'meta_key' => '_pronamic_gateway_ogone_3d_secure_enabled', 'title' => __( '3-D Secure', 'pronamic_ideal' ), 'type' => 'checkbox', @@ -213,7 +212,6 @@ public static function get_settings_fields( $type ) { // Alias. $fields[] = [ 'section' => 'advanced', - 'filter' => FILTER_VALIDATE_BOOLEAN, 'meta_key' => '_pronamic_gateway_ogone_alias_enabled', 'title' => __( 'Alias', 'pronamic_ideal' ), 'type' => 'checkbox',