Changes from branches/4.3/src/wp-includes/default-widgets.php at r33942 to trunk/src/wp-includes/default-widgets.php at r33488
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-widgets.php
r33942 r33488 1575 1575 <?php 1576 1576 if ( isset( $GLOBALS['wp_customize'] ) && $GLOBALS['wp_customize'] instanceof WP_Customize_Manager ) { 1577 $url = 'javascript: wp.customize.panel( "nav_menus" ).focus();'; 1577 // @todo When expanding a panel, the JS should be smart enough to collapse any existing panels and sections. 1578 $url = 'javascript: wp.customize.section.each(function( section ){ section.collapse(); }); wp.customize.panel( "nav_menus" ).focus();'; 1578 1579 } else { 1579 1580 $url = admin_url( 'nav-menus.php' );
Note: See TracChangeset
for help on using the changeset viewer.