From 3d788e2ded388a76df8642faafc0217f8741aa60 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:28:29 +0200 Subject: [PATCH] The default `sanitize_text_field` function allows double quotes. --- src/Integration.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Integration.php b/src/Integration.php index 074ea0d..d398c22 100644 --- a/src/Integration.php +++ b/src/Integration.php @@ -81,10 +81,6 @@ public function get_settings_fields() { // Purchase ID $fields[] = [ 'section' => 'advanced', - /** - * Filter ICEPAY order ID unsafe raw to allow double quotes. - */ - 'filter' => \FILTER_UNSAFE_RAW, 'meta_key' => '_pronamic_gateway_icepay_order_id', 'title' => __( 'Order ID', 'pronamic_ideal' ), 'type' => 'text',