Changeset 41899 for trunk/src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php
- Timestamp:
- 10/18/2017 02:50:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php
r41162 r41899 51 51 * 52 52 * @since 4.3.0 53 * @since 4.9.0 Added a button to create menus. 53 54 */ 54 55 public function render_content() { … … 74 75 </select> 75 76 </label> 77 <button type="button" class="button-link create-menu<?php if ( $this->value() ) { echo ' hidden'; } ?>" 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> 76 78 <button type="button" class="button-link edit-menu<?php if ( ! $this->value() ) { echo ' hidden'; } ?>" aria-label="<?php esc_attr_e( 'Edit selected menu' ); ?>"><?php _e( 'Edit Menu' ); ?></button> 77 79 <?php
Note: See TracChangeset
for help on using the changeset viewer.