Make WordPress Core


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

    r56436 r56449  
    10341034        if ( apply_filters( 'wp_list_table_show_post_checkbox', $show, $post ) ) :
    10351035            ?>
    1036             <label class="label-covers-full-cell" for="cb-select-<?php the_ID(); ?>">
     1036            <input id="cb-select-<?php the_ID(); ?>" type="checkbox" name="post[]" value="<?php the_ID(); ?>" />
     1037            <label for="cb-select-<?php the_ID(); ?>">
    10371038                <span class="screen-reader-text">
    10381039                <?php
     
    10421043                </span>
    10431044            </label>
    1044             <input id="cb-select-<?php the_ID(); ?>" type="checkbox" name="post[]" value="<?php the_ID(); ?>" />
    10451045            <div class="locked-indicator">
    10461046                <span class="locked-indicator-icon" aria-hidden="true"></span>
Note: See TracChangeset for help on using the changeset viewer.