Changeset 33837 for trunk/src/wp-includes/default-widgets.php
- Timestamp:
- 08/31/2015 11:07:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-widgets.php
r33824 r33837 1571 1571 <?php 1572 1572 if ( isset( $GLOBALS['wp_customize'] ) && $GLOBALS['wp_customize'] instanceof WP_Customize_Manager ) { 1573 // @todo When expanding a panel, the JS should be smart enough to collapse any existing panels and sections. 1574 $url = 'javascript: wp.customize.section.each(function( section ){ section.collapse(); }); wp.customize.panel( "nav_menus" ).focus();'; 1573 $url = 'javascript: wp.customize.panel( "nav_menus" ).focus();'; 1575 1574 } else { 1576 1575 $url = admin_url( 'nav-menus.php' );
Note: See TracChangeset
for help on using the changeset viewer.