Make WordPress Core

Changeset 55109


Ignore:
Timestamp:
01/20/2023 10:04:12 PM (21 months ago)
Author:
audrasjb
Message:

Menus: Hide the "Remove selected item" from Menus screen when no item is selected.

This changeset removes the "Remove selected item" from the classic Navigation Menus screen when no item is selected, and makes it non focusable from assistive technologies.

Plus, this changeset fixes a small unrelated coding standard issue in nav-menus.css.

Props kebbet, joedolson, audrasjb.
Fixes #56942.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/nav-menus.css

    r52971 r55109  
    170170}
    171171
    172 input.bulk-select-switcher:focus + .bulk-select-button-label{
     172input.bulk-select-switcher:focus + .bulk-select-button-label {
    173173    color: #0a4b78;
    174174}
     
    192192
    193193.bulk-actions input.menu-items-delete.disabled {
    194     cursor: default;
    195     color: #a7aaad;
    196     box-shadow: none;
     194    display: none;
    197195}
    198196
Note: See TracChangeset for help on using the changeset viewer.