Changeset 41670 for trunk/src/wp-includes/class-wp-customize-nav-menus.php
- Timestamp:
- 10/02/2017 04:11:50 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r41353 r41670 675 675 676 676 $this->manager->add_control( 'new_menu_name', array( 677 'label' => '',677 'label' => __( 'New menu name' ), 678 678 'section' => 'add_menu', 679 679 'type' => 'text', … … 681 681 'input_attrs' => array( 682 682 'class' => 'menu-name-field', 683 'placeholder' => __( 'New menu name' ),684 683 ), 685 684 ) ); … … 1018 1017 <?php if ( current_user_can( $post_type_obj->cap->create_posts ) && current_user_can( $post_type_obj->cap->publish_posts ) ) : ?> 1019 1018 <div class="new-content-item"> 1020 <input type="text" class="create-item-input" placeholder="<?php echo esc_attr( $post_type_obj->labels->add_new_item ); ?>"> 1019 <label for="<?php echo esc_attr( 'create-item-input-' . $available_item_type['object'] ); ?>" class="screen-reader-text"><?php echo esc_html( $post_type_obj->labels->add_new_item ); ?></label> 1020 <input type="text" id="<?php echo esc_attr( 'create-item-input-' . $available_item_type['object'] ); ?>" class="create-item-input" placeholder="<?php echo esc_attr( $post_type_obj->labels->add_new_item ); ?>"> 1021 1021 <button type="button" class="button add-content"><?php _e( 'Add' ); ?></button> 1022 1022 </div>
Note: See TracChangeset
for help on using the changeset viewer.