Changeset 28197
- Timestamp:
- 04/24/2014 08:44:32 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-widgets.php
r28195 r28197 1349 1349 <label for="<?php echo $this->get_field_id('nav_menu'); ?>"><?php _e('Select Menu:'); ?></label> 1350 1350 <select id="<?php echo $this->get_field_id('nav_menu'); ?>" name="<?php echo $this->get_field_name('nav_menu'); ?>"> 1351 <option value="0"><?php _e( '-- Select --' ) ?></option> 1351 1352 <?php 1352 1353 foreach ( $menus as $menu ) { 1353 1354 echo '<option value="' . $menu->term_id . '"' 1354 1355 . selected( $nav_menu, $menu->term_id, false ) 1355 . '>'. $menu->name. '</option>';1356 . '>'. esc_html( $menu->name ) . '</option>'; 1356 1357 } 1357 1358 ?>
Note: See TracChangeset
for help on using the changeset viewer.