summaryrefslogtreecommitdiffstats
path: root/wp-includes/class-wp-customize-control.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/class-wp-customize-control.php')
-rw-r--r--wp-includes/class-wp-customize-control.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php
index 30e8c2c..055f6cf 100644
--- a/wp-includes/class-wp-customize-control.php
+++ b/wp-includes/class-wp-customize-control.php
@@ -553,7 +553,7 @@ class WP_Customize_Control {
<select id="<?php echo esc_attr( $input_id ); ?>" <?php echo $describedby_attr; ?> <?php $this->link(); ?>>
<?php
foreach ( $this->choices as $value => $label ) {
- echo '<option value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . '>' . $label . '</option>';
+ echo '<option value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . '>' . esc_html( $label ) . '</option>';
}
?>
</select>