diff --git src/wp-includes/class-wp-customize-nav-menus.php src/wp-includes/class-wp-customize-nav-menus.php
index d2a346d5b0..908fc0859b 100644
|
|
|
final class WP_Customize_Nav_Menus {
|
| 592 | 592 | } else { |
| 593 | 593 | $description .= '<p>' . __( 'Menus can be displayed in locations defined by your theme.' ) . '</p>'; |
| 594 | 594 | } |
| | 595 | |
| | 596 | /* |
| | 597 | * Once multiple theme supports are allowed in WP_Customize_Panel, this |
| | 598 | * panel can be restricted to themes that support menus or widgets. |
| | 599 | */ |
| 595 | 600 | $this->manager->add_panel( |
| 596 | 601 | new WP_Customize_Nav_Menus_Panel( |
| 597 | 602 | $this->manager, 'nav_menus', array( |
| 598 | 603 | 'title' => __( 'Menus' ), |
| 599 | 604 | 'description' => $description, |
| 600 | 605 | 'priority' => 100, |
| 601 | | // 'theme_supports' => 'menus|widgets', @todo allow multiple theme supports |
| 602 | 606 | ) |
| 603 | 607 | ) |
| 604 | 608 | ); |