Make WordPress Core


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

    r56356 r56449  
    14001400        if ( ! empty( $columns['cb'] ) ) {
    14011401            static $cb_counter = 1;
    1402             $columns['cb']     = '<label class="label-covers-full-cell" for="cb-select-all-' . $cb_counter . '">' .
     1402            $columns['cb']     = '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />
     1403            <label for="cb-select-all-' . $cb_counter . '">' .
    14031404                '<span class="screen-reader-text">' .
    14041405                    /* translators: Hidden accessibility text. */
    14051406                    __( 'Select All' ) .
    14061407                '</span>' .
    1407                 '</label>' .
    1408                 '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />';
     1408                '</label>';
    14091409            $cb_counter++;
    14101410        }
Note: See TracChangeset for help on using the changeset viewer.