- Timestamp:
- 01/23/2018 12:04:25 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/customize/class-wp-customize-nav-menu-control.php
r41956 r42569 36 36 */ 37 37 public function content_template() { 38 $add_items = __( 'Add Items' ); 38 39 ?> 39 <p class="new-menu-item-invitation"><?php _e( 'Time to add some links! Click “Add menu items” to start putting pages, categories, and custom links in your menu. Add as many things as you’d like.' ); ?></p> 40 <p class="new-menu-item-invitation"> 41 <?php 42 printf( 43 /* translators: %s: "Add Items" button text */ 44 __( 'Time to add some links! Click “%s” to start putting pages, categories, and custom links in your menu. Add as many things as you’d like.' ), 45 $add_items 46 ); 47 ?> 48 </p> 40 49 <div class="customize-control-nav_menu-buttons"> 41 50 <button type="button" class="button add-new-menu-item" aria-label="<?php esc_attr_e( 'Add or remove menu items' ); ?>" aria-expanded="false" aria-controls="available-menu-items"> 42 <?php _e( 'Add Items' ); ?>51 <?php echo $add_items; ?> 43 52 </button> 44 53 <button type="button" class="button-link reorder-toggle" aria-label="<?php esc_attr_e( 'Reorder menu items' ); ?>" aria-describedby="reorder-items-desc-{{ data.menu_id }}">
Note: See TracChangeset
for help on using the changeset viewer.