From 5228ccc920bc0f0aa7a637315c9517c98b913057 Mon Sep 17 00:00:00 2001 From: polepalligayathridevi Date: Fri, 23 Feb 2024 18:28:23 +0530 Subject: [PATCH] [INT-688_WORDPRESS_INTEGRATION_MISSING_FOR_PARAMETER] extra spaces removed --- views/widget.subscribe.display.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/widget.subscribe.display.php b/views/widget.subscribe.display.php index dac548b..7646090 100644 --- a/views/widget.subscribe.display.php +++ b/views/widget.subscribe.display.php @@ -187,7 +187,7 @@ echo '
'; echo ''; - foreach ( $items as $item ) { + foreach ( $items as $item ) { if ( ! empty( $item ) ) { $vals = explode( ':', $item ); @@ -200,7 +200,7 @@ - echo 'type="checkbox" name="custom_' . esc_attr( $name_stripped ) . (count( $items) > 1 ? '[]' : '') . '" value="' . esc_attr( $vals[1] ) . '" ' . ( sailthru_field_class( $customfields[ $field_key ]['sailthru_customfield_class'], $customfields[ $field_key ]['sailthru_customfield_type'] ) ) . ' ' . esc_attr( sailthru_attributes( $attributes ) ) . '> ' . esc_html( $vals[0] ) . ''; + echo 'type="checkbox" name="custom_' . esc_attr( $name_stripped ) . (count( $items) > 1 ? '[]' : '') . '" value="' . esc_attr( $vals[1] ) . '" ' . ( sailthru_field_class( $customfields[ $field_key ]['sailthru_customfield_class'], $customfields[ $field_key ]['sailthru_customfield_type'] ) ) . ' ' . esc_attr( sailthru_attributes( $attributes ) ) . '> ' . esc_html( $vals[0] ) . ''; } } echo '
';