Changeset 44328
- Timestamp:
- 12/19/2018 07:22:02 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-nav-menus.php
r43571 r44328 596 596 $description .= '<p>' . __( 'Menus can be displayed in locations defined by your theme.' ) . '</p>'; 597 597 } 598 599 /* 600 * Once multiple theme supports are allowed in WP_Customize_Panel, 601 * this panel can be restricted to themes that support menus or widgets. 602 */ 598 603 $this->manager->add_panel( 599 604 new WP_Customize_Nav_Menus_Panel( … … 604 609 'description' => $description, 605 610 'priority' => 100, 606 // 'theme_supports' => 'menus|widgets', @todo allow multiple theme supports607 611 ) 608 612 )
Note: See TracChangeset
for help on using the changeset viewer.