Make WordPress Core

Changeset 62211


Ignore:
Timestamp:
04/06/2026 08:02:52 PM (4 months ago)
Author:
joedolson
Message:

Admin: Limit scope of admin notice link design.

The design changes to admin notices links in the admin refresh were applied broadly to .notice, .error, and .updated classes, but these classes are sometimes used outside the context of an admin notice.

Change selectors from .notice a, .error a, .updated a to div.notice a, div.error a, div.updated a.

Reviewed by audrasjb.
Merges [62200] to the 7.0 branch.

Props opurockey, audrasjb, vgnavada, gaisma22, shailu25, rbcorrales, joedolson.
Fixes #64976.

Location:
branches/7.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/7.0

  • branches/7.0/src/wp-admin/css/common.css

    r62190 r62211  
    14741474}
    14751475
    1476 .notice a,
    1477 .error a,
    1478 .updated a {
     1476div.notice a,
     1477div.error a,
     1478div.updated a {
    14791479        color: var(--wp-admin-theme-color-darker-10);
    14801480        text-decoration: underline;
    14811481}
    14821482
    1483 .notice a:hover,
    1484 .error a:hover,
    1485 .updated a:hover {
     1483div.notice a:hover,
     1484div.error a:hover,
     1485div.updated a:hover {
    14861486        color: var(--wp-admin-theme-color-darker-20);
    14871487}
    14881488
    1489 .notice a:focus,
    1490 .error a:focus,
    1491 .updated a:focus {
     1489div.notice a:focus,
     1490div.error a:focus,
     1491div.updated a:focus {
    14921492        box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
    14931493        outline: 2px solid transparent;
Note: See TracChangeset for help on using the changeset viewer.