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-plugins-list-table.php

    r56174 r56449  
    994994        } else {
    995995            $checkbox = sprintf(
    996                 '<label class="label-covers-full-cell" for="%1$s"><span class="screen-reader-text">%2$s</span></label>' .
    997                 '<input type="checkbox" name="checked[]" value="%3$s" id="%1$s" />',
     996                '<input type="checkbox" name="checked[]" value="%3$s" id="%1$s" />' .
     997                '<label for="%1$s"><span class="screen-reader-text">%2$s</span></label>',
    998998                $checkbox_id,
    999999                /* translators: Hidden accessibility text. %s: Plugin name. */
Note: See TracChangeset for help on using the changeset viewer.