Changeset 57369
- Timestamp:
- 01/28/2024 07:48:15 AM (9 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-control.php
r56547 r57369 554 554 <?php 555 555 foreach ( $this->choices as $value => $label ) { 556 echo '<option value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . '>' . $label. '</option>';556 echo '<option value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . '>' . esc_html( $label ) . '</option>'; 557 557 } 558 558 ?> -
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php
r45590 r57369 78 78 <?php 79 79 foreach ( $this->choices as $value => $label ) : 80 echo '<option value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . '>' . $label. '</option>';80 echo '<option value="' . esc_attr( $value ) . '"' . selected( $this->value(), $value, false ) . '>' . esc_html( $label ) . '</option>'; 81 81 endforeach; 82 82 ?>
Note: See TracChangeset
for help on using the changeset viewer.