Skip to content

Commit

Permalink
merge with dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairraeen committed Jul 11, 2024
2 parents ae65951 + 7b238b6 commit c5e1a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/classes/class-qsm-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function generate_section( $fields, $section ) {
if ( ( isset( $_POST[ $field["id"] ] ) && 'multiple_fields' !== $field["type"] ) || 'selectinput' == $field["type"] ) {
switch ( $field["type"] ) {
case 'text':
$sanitized_value = sanitize_text_field( wp_unslash( $_POST[ $field["id"] ] ) );
$sanitized_value = esc_html( sanitize_text_field( wp_unslash( $_POST[ $field["id"] ] ) ) );
break;

case 'url':
Expand Down

0 comments on commit c5e1a32

Please sign in to comment.