Ticket #32791: 32791.patch
| File 32791.patch, 1.6 KB (added by , 10 years ago) |
|---|
-
src/wp-admin/js/customize-nav-menus.js
854 854 content = section.container.find( '.new-menu-section-content' ), 855 855 customizer = section.container.closest( '.wp-full-overlay-sidebar-content' ); 856 856 if ( expanded ) { 857 button.addClass( 'open' ) ;857 button.addClass( 'open' ).attr( 'aria-expanded', 'true' ); 858 858 content.slideDown( 'fast', function() { 859 859 customizer.scrollTop( customizer.height() ); 860 860 }); 861 861 } else { 862 button.removeClass( 'open' ) ;862 button.removeClass( 'open' ).attr( 'aria-expanded', 'false' ); 863 863 content.slideUp( 'fast' ); 864 864 } 865 865 } -
src/wp-includes/class-wp-customize-section.php
564 564 protected function render() { 565 565 ?> 566 566 <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="accordion-section-new-menu"> 567 <button type="button" class="button-secondary add-new-menu-item add-menu-toggle" >567 <button type="button" class="button-secondary add-new-menu-item add-menu-toggle" aria-expanded="false"> 568 568 <?php echo esc_html( $this->title ); ?> 569 <span class="screen-reader-text"><?php _e( 'Press return or enter to open' ); ?></span>570 569 </button> 571 570 <ul class="new-menu-section-content"></ul> 572 571 </li>