Make WordPress Core


Ignore:
Timestamp:
08/24/2023 03:56:34 PM (17 months ago)
Author:
joedolson
Message:

Menus: Fix proximity of controls to Save and Delete menus.

Move the position of the Save and Delete buttons in menu editing so they are immediate neighbors, improving the proximity of related controls.

Props 90lines, sabernhardt, costdev.
See #56594.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r56397 r56449  
    420420        if ( current_user_can( 'edit_post', $post->ID ) ) {
    421421            ?>
    422             <label class="label-covers-full-cell" for="cb-select-<?php echo $post->ID; ?>">
     422            <input type="checkbox" name="media[]" id="cb-select-<?php echo $post->ID; ?>" value="<?php echo $post->ID; ?>" />
     423            <label for="cb-select-<?php echo $post->ID; ?>">
    423424                <span class="screen-reader-text">
    424425                <?php
     
    428429                </span>
    429430            </label>
    430             <input type="checkbox" name="media[]" id="cb-select-<?php echo $post->ID; ?>" value="<?php echo $post->ID; ?>" />
    431431            <?php
    432432        }
Note: See TracChangeset for help on using the changeset viewer.