| 1 | Index: src/wp-includes/class-wp-customize-nav-menus.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- src/wp-includes/class-wp-customize-nav-menus.php (revision 32893) |
|---|
| 4 | +++ src/wp-includes/class-wp-customize-nav-menus.php (working copy) |
|---|
| 5 | @@ -640,10 +624,10 @@ |
|---|
| 6 | <p class="screen-reader-text" id="menu-items-search-desc"><?php _e( 'The search results will be updated as you type.' ); ?></p> |
|---|
| 7 | <span class="spinner"></span> |
|---|
| 8 | </div> |
|---|
| 9 | - <div class="accordion-section-content" data-type="search"></div> |
|---|
| 10 | + <ul class="accordion-section-content" data-type="search"></ul> |
|---|
| 11 | </div> |
|---|
| 12 | <div id="new-custom-menu-item" class="accordion-section"> |
|---|
| 13 | - <h4 class="accordion-section-title"><?php _e( 'Custom Links' ); ?><button type="button" class="not-a-button"><span class="screen-reader-text"><?php _e( 'Toggle' ); ?></span></button></h4> |
|---|
| 14 | + <h4 class="accordion-section-title"><?php _e( 'Custom Links' ); ?><button type="button" class="not-a-button"><span class="screen-reader-text"><?php _e( 'Toggle Links section' ); ?></span></button></h4> |
|---|
| 15 | <div class="accordion-section-content"> |
|---|
| 16 | <input type="hidden" value="custom" id="custom-menu-item-type" name="menu-item[-1][menu-item-type]" /> |
|---|
| 17 | <p id="menu-item-url-wrap"> |
|---|
| 18 | @@ -675,8 +659,8 @@ |
|---|
| 19 | foreach ( $post_types as $type ) : |
|---|
| 20 | ?> |
|---|
| 21 | <div id="available-menu-items-<?php echo esc_attr( $type->name ); ?>" class="accordion-section"> |
|---|
| 22 | - <h4 class="accordion-section-title"><?php echo esc_html( $type->label ); ?> <span class="spinner"></span> <button type="button" class="not-a-button"><span class="screen-reader-text"><?php _e( 'Toggle' ); ?></span></button></h4> |
|---|
| 23 | + <h4 class="accordion-section-title"><?php echo esc_html( $type->label ); ?> <span class="spinner"></span> <button type="button" class="not-a-button"><span class="screen-reader-text"><?php printf( 'Toggle %s section', esc_html( $type->label ) ); ?></span></button></h4> |
|---|
| 24 | <div class="accordion-section-content" data-type="<?php echo esc_attr( $type->name ); ?>" data-obj_type="post_type"></div> |
|---|
| 25 | </div> |
|---|
| 26 | <?php |
|---|
| 27 | endforeach; |
|---|
| 28 | @@ -687,7 +671,7 @@ |
|---|
| 29 | foreach ( $taxonomies as $tax ) : |
|---|
| 30 | ?> |
|---|
| 31 | <div id="available-menu-items-<?php echo esc_attr( $tax->name ); ?>" class="accordion-section"> |
|---|
| 32 | - <h4 class="accordion-section-title"><?php echo esc_html( $tax->label ); ?> <span class="spinner"></span> <button type="button" class="not-a-button"><span class="screen-reader-text"><?php _e( 'Toggle' ); ?></span></button></h4> |
|---|
| 33 | + <h4 class="accordion-section-title"><?php echo esc_html( $tax->label ); ?> <span class="spinner"></span> <button type="button" class="not-a-button"><span class="screen-reader-text"><?php printf( 'Toggle %s section', esc_html( $tax->label ) ); ?></span></button></h4> |
|---|
| 34 | <div class="accordion-section-content" data-type="<?php echo esc_attr( $tax->name ); ?>" data-obj_type="taxonomy"></div> |
|---|
| 35 | </div> |
|---|
| 36 | <?php |
|---|