Make WordPress Core

Ticket #32715: 32715.2.diff

File 32715.2.diff, 3.0 KB (added by afercia, 11 years ago)
  • src/wp-includes/class-wp-customize-nav-menus.php

     
    648648                                        <p class="screen-reader-text" id="menu-items-search-desc"><?php _e( 'The search results will be updated as you type.' ); ?></p>
    649649                                        <span class="spinner"></span>
    650650                                </div>
    651                                 <div class="accordion-section-content" data-type="search"></div>
     651                                <ul class="accordion-section-content" data-type="search"></ul>
    652652                        </div>
    653653                        <div id="new-custom-menu-item" class="accordion-section">
    654                                 <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>
     654                                <h4 class="accordion-section-title"><?php _e( 'Custom Links' ); ?><button type="button" class="not-a-button"><span class="screen-reader-text"><?php _e( 'Toggle section: Links' ); ?></span></button></h4>
    655655                                <div class="accordion-section-content">
    656656                                        <input type="hidden" value="custom" id="custom-menu-item-type" name="menu-item[-1][menu-item-type]" />
    657657                                        <p id="menu-item-url-wrap">
     
    683683                                foreach ( $post_types as $type ) :
    684684                                        ?>
    685685                                        <div id="available-menu-items-<?php echo esc_attr( $type->name ); ?>" class="accordion-section">
    686                                                 <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>
    687                                                 <div class="accordion-section-content" data-type="<?php echo esc_attr( $type->name ); ?>" data-obj_type="post_type"></div>
     686                                                <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 section: %s', esc_html( $type->label ) ); ?></span></button></h4>
     687                                                <div class="accordion-section-content" data-type="<?php echo esc_attr( $type->name ); ?>" data-obj_type="post_type"></div>
    688688                                        </div>
    689689                                <?php
    690690                                endforeach;
     
    695695                                foreach ( $taxonomies as $tax ) :
    696696                                        ?>
    697697                                        <div id="available-menu-items-<?php echo esc_attr( $tax->name ); ?>" class="accordion-section">
    698                                                 <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>
     698                                                <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 section: %s', esc_html( $tax->label ) ); ?></span></button></h4>
    699699                                                <div class="accordion-section-content" data-type="<?php echo esc_attr( $tax->name ); ?>" data-obj_type="taxonomy"></div>
    700700                                        </div>
    701701                                <?php