wp/wp-includes/customize/class-wp-customize-nav-menu-location-control.php
changeset 21 48c4eec2b7e6
parent 16 a86126ab1dd4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
    75 			<?php endif; ?>
    75 			<?php endif; ?>
    76 
    76 
    77 			<select <?php $this->link(); ?>>
    77 			<select <?php $this->link(); ?>>
    78 				<?php
    78 				<?php
    79 				foreach ( $this->choices as $value => $label ) :
    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 				endforeach;
    81 				endforeach;
    82 				?>
    82 				?>
    83 			</select>
    83 			</select>
    84 		</label>
    84 		</label>
    85 		<button type="button" class="button-link create-menu<?php echo $value_hidden_class; ?>" data-location-id="<?php echo esc_attr( $this->location_id ); ?>" aria-label="<?php esc_attr_e( 'Create a menu for this location' ); ?>"><?php _e( '+ Create New Menu' ); ?></button>
    85 		<button type="button" class="button-link create-menu<?php echo $value_hidden_class; ?>" data-location-id="<?php echo esc_attr( $this->location_id ); ?>" aria-label="<?php esc_attr_e( 'Create a menu for this location' ); ?>"><?php _e( '+ Create New Menu' ); ?></button>