Ticket #38525: 38525.diff
File 38525.diff, 2.6 KB (added by , 8 years ago) |
---|
-
wp-admin/nav-menus.php
391 391 // Set menu locations 392 392 set_theme_mod( 'nav_menu_locations', $menu_locations ); 393 393 394 $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( ' Menulocations updated.' ) . '</p></div>';394 $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Display locations updated.' ) . '</p></div>'; 395 395 } 396 396 break; 397 397 } … … 808 808 <?php if ( current_theme_supports( 'menus' ) ) : ?> 809 809 810 810 <fieldset class="menu-settings-group menu-theme-locations"> 811 <legend class="menu-settings-group-name howto"><?php _e( ' Theme locations' ); ?></legend>811 <legend class="menu-settings-group-name howto"><?php _e( 'Display location' ); ?></legend> 812 812 <?php foreach ( $locations as $location => $description ) : ?> 813 813 <div class="menu-settings-input checkbox-input"> 814 814 <input type="checkbox"<?php checked( isset( $menu_locations[ $location ] ) && $menu_locations[ $location ] == $nav_menu_selected_id ); ?> name="menu-locations[<?php echo esc_attr( $location ); ?>]" id="locations-<?php echo esc_attr( $location ); ?>" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" /> -
wp-includes/class-wp-customize-nav-menus.php
545 545 } 546 546 547 547 $this->manager->add_section( 'menu_locations', array( 548 'title' => __( ' Menu Locations' ),548 'title' => __( 'Display Location' ), 549 549 'panel' => 'nav_menus', 550 550 'priority' => 5, 551 551 'description' => $description, -
wp-includes/customize/class-wp-customize-nav-menu-control.php
64 64 <?php if ( current_theme_supports( 'menus' ) ) : ?> 65 65 <ul class="menu-settings"> 66 66 <li class="customize-control"> 67 <span class="customize-control-title"><?php _e( ' Menu Locations' ); ?></span>67 <span class="customize-control-title"><?php _e( 'Display Location' ); ?></span> 68 68 </li> 69 69 70 70 <?php foreach ( get_registered_nav_menus() as $location => $description ) : ?>