WordPress.org

Make WordPress Core

Ticket #36554: 36554.patch

File 36554.patch, 658 bytes (added by joedolson, 5 years ago)

Switch from div to button

  • wp-admin/includes/template.php

     
    14861486        <div id="find-posts" class="find-box" style="display: none;">
    14871487                <div id="find-posts-head" class="find-box-head">
    14881488                        <?php _e( 'Attach to existing content' ); ?>
    1489                         <div id="find-posts-close"></div>
     1489                        <button class="button-link" id="find-posts-close"><span class="screen-reader-text"><?php _e( 'Close media attachment panel' ); ?></button>
    14901490                </div>
    14911491                <div class="find-box-inside">
    14921492                        <div class="find-box-search">