summaryrefslogtreecommitdiffstats
path: root/wp-includes/customize/class-wp-customize-nav-menu-location-control.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/customize/class-wp-customize-nav-menu-location-control.php')
-rw-r--r--wp-includes/customize/class-wp-customize-nav-menu-location-control.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/customize/class-wp-customize-nav-menu-location-control.php b/wp-includes/customize/class-wp-customize-nav-menu-location-control.php
index 4877ada..b0340b1 100644
--- a/wp-includes/customize/class-wp-customize-nav-menu-location-control.php
+++ b/wp-includes/customize/class-wp-customize-nav-menu-location-control.php
@@ -77,7 +77,7 @@ class WP_Customize_Nav_Menu_Location_Control extends WP_Customize_Control {
<select <?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>';
endforeach;
?>
</select>