Make WordPress Core


Ignore:
Timestamp:
08/24/2023 03:56:34 PM (11 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-links-list-table.php

    r55971 r56449  
    175175
    176176        ?>
    177         <label class="label-covers-full-cell" for="cb-select-<?php echo $link->link_id; ?>">
     177        <input type="checkbox" name="linkcheck[]" id="cb-select-<?php echo $link->link_id; ?>" value="<?php echo esc_attr( $link->link_id ); ?>" />
     178        <label for="cb-select-<?php echo $link->link_id; ?>">
    178179            <span class="screen-reader-text">
    179180            <?php
     
    183184            </span>
    184185        </label>
    185         <input type="checkbox" name="linkcheck[]" id="cb-select-<?php echo $link->link_id; ?>" value="<?php echo esc_attr( $link->link_id ); ?>" />
    186186        <?php
    187187    }
Note: See TracChangeset for help on using the changeset viewer.