Skip to content

Commit

Permalink
PROD-8011 add esc_attr function
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-yudhisthir committed Nov 15, 2024
1 parent c527818 commit d3fe780
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function bb_admin_advanced_setting_telemetry_callback() {
<input name="<?php echo esc_attr( $telemetry_mode['name'] ); ?>"
id="<?php echo esc_attr( $telemetry_mode['id'] ); ?>"
type="radio"
value="<?php echo esc_html( $telemetry_mode['value'] ); ?>"
value="<?php echo esc_attr( $telemetry_mode['value'] ); ?>"
data-current-val="<?php echo esc_attr( $telemetry_mode['value'] ); ?>"
data-notice="<?php /* phpcs:ignore */ echo ! empty( $telemetry_mode['notice'] ) ? htmlspecialchars( $telemetry_mode['notice'], ENT_QUOTES, 'UTF-8' ) : ''; ?>"
<?php
Expand Down

0 comments on commit d3fe780

Please sign in to comment.