diff --git a/src/Integration.php b/src/Integration.php index d2ba98c..9c37b57 100644 --- a/src/Integration.php +++ b/src/Integration.php @@ -69,7 +69,6 @@ public function get_settings_fields() { // Storename. $fields[] = [ 'section' => 'general', - 'filter' => FILTER_UNSAFE_RAW, 'meta_key' => '_pronamic_gateway_ems_ecommerce_storename', 'title' => _x( 'Storename', 'ems', 'pronamic_ideal' ), 'type' => 'text', @@ -80,7 +79,6 @@ public function get_settings_fields() { // Shared secret. $fields[] = [ 'section' => 'general', - 'filter' => FILTER_UNSAFE_RAW, 'meta_key' => '_pronamic_gateway_ems_ecommerce_secret', 'title' => _x( 'Shared Secret', 'ems', 'pronamic_ideal' ), 'type' => 'text', @@ -91,10 +89,6 @@ public function get_settings_fields() { // Purchase ID. $fields[] = [ 'section' => 'advanced', - /** - * Filter EMS order ID unsafe raw to allow double quotes. - */ - 'filter' => \FILTER_UNSAFE_RAW, 'meta_key' => '_pronamic_gateway_ems_ecommerce_order_id', 'title' => __( 'Order ID', 'pronamic_ideal' ), 'type' => 'text',