Make WordPress Core


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

    r56004 r56449  
    896896        if ( $this->user_can ) {
    897897            ?>
    898         <label class="label-covers-full-cell" for="cb-select-<?php echo $comment->comment_ID; ?>">
     898        <input id="cb-select-<?php echo $comment->comment_ID; ?>" type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" />
     899        <label for="cb-select-<?php echo $comment->comment_ID; ?>">
    899900            <span class="screen-reader-text">
    900901            <?php
     
    904905            </span>
    905906        </label>
    906         <input id="cb-select-<?php echo $comment->comment_ID; ?>" type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" />
    907907            <?php
    908908        }
Note: See TracChangeset for help on using the changeset viewer.