Changeset 32848
- Timestamp:
- 06/18/2015 08:51:48 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/customize-nav-menus.js
r32824 r32848 1801 1801 1802 1802 if ( ! $( 'body' ).hasClass( 'adding-menu-items' ) ) { 1803 $( this ).attr( 'aria-expanded', 'true' ); 1803 1804 api.Menus.availableMenuItemsPanel.open( self ); 1804 1805 } else { 1806 $( this ).attr( 'aria-expanded', 'false' ); 1805 1807 api.Menus.availableMenuItemsPanel.close(); 1806 1808 event.stopPropagation(); -
trunk/src/wp-includes/class-wp-customize-control.php
r32806 r32848 1539 1539 public function content_template() { 1540 1540 ?> 1541 <button type="button" class="button-secondary add-new-menu-item" >1541 <button type="button" class="button-secondary add-new-menu-item" aria-expanded="false" aria-controls="available-menu-items"> 1542 1542 <?php _e( 'Add Items' ); ?> 1543 1543 </button>
Note: See TracChangeset
for help on using the changeset viewer.