diff --git src/wp-includes/class-wp-customize-nav-menus.php src/wp-includes/class-wp-customize-nav-menus.php
index 6c2a98b835..edad3fc694 100644
|
|
|
final class WP_Customize_Nav_Menus { |
| 414 | 414 | 'page_label' => get_post_type_object( 'page' )->labels->singular_name, |
| 415 | 415 | /* translators: %s: menu location */ |
| 416 | 416 | 'menuLocation' => _x( '(Currently set to: %s)', 'menu' ), |
| 417 | | 'locationsTitle' => _n( 'Menu Location', 'Menu Locations', $num_locations ), |
| | 417 | 'locationsTitle' => 1 === $num_locations ? __( 'Menu Location' ) : __( 'Menu Locations' ), |
| 418 | 418 | 'locationsDescription' => $locations_description, |
| 419 | 419 | 'menuNameLabel' => __( 'Menu Name' ), |
| 420 | 420 | 'newMenuNameDescription' => __( 'If your theme has multiple menus, giving them clear names will help you manage them.' ), |
| … |
… |
final class WP_Customize_Nav_Menus { |
| 584 | 584 | } |
| 585 | 585 | |
| 586 | 586 | $this->manager->add_section( 'menu_locations', array( |
| 587 | | 'title' => _nx( 'View Location', 'View All Locations', $num_locations, 'menu locations' ), |
| | 587 | 'title' => 1 === $num_locations ? _x( 'View Location', 'menu locations' ) : _x( 'View All Locations', 'menu locations' ), |
| 588 | 588 | 'panel' => 'nav_menus', |
| 589 | 589 | 'priority' => 30, |
| 590 | | 'description' => $description |
| | 590 | 'description' => $description, |
| 591 | 591 | ) ); |
| 592 | 592 | |
| 593 | 593 | $choices = array( '0' => __( '— Select —' ) ); |