Skip to content

Commit

Permalink
The default sanitize_text_field function allows double quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Oct 11, 2023
1 parent f641da3 commit 3d788e2
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 @@ -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',
Expand Down

0 comments on commit 3d788e2

Please sign in to comment.