Make WordPress Core

Changeset 53412


Ignore:
Timestamp:
05/18/2022 03:40:41 PM (2 years ago)
Author:
ryelle
Message:

Help/About: Ensure about page shows current header.

Add a query string parameter to the about page header images to ensure the cache is broken in browsers and CDNs.

Props ryelle.
Merges [53409] to the 6.0 branch.
Fixes #55750.

Location:
branches/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0

  • branches/6.0/src/wp-admin/css/about.css

    r53384 r53412  
    607607    margin-bottom: var(--gap);
    608608    padding-top: 0;
    609     background: var(--subtle-background) url('../images/about-header-about.svg') no-repeat;
     609    background: var(--subtle-background) url('../images/about-header-about.svg?ver=6.0') no-repeat;
    610610    background-size: var(--about-header-bg-width) var(--about-header-bg-height);
    611611    background-position: right var(--about-header-bg-offset-inline) center;
     
    617617    --about-header-bg-offset-inline: calc(var(--gap) * -4);
    618618
    619     background-image: url('../images/about-header-credits.svg');
     619    background-image: url('../images/about-header-credits.svg?ver=6.0');
    620620    background-position: right var(--about-header-bg-offset-inline) top var(--gap);
    621621}
     
    626626    --about-header-bg-offset-inline: var(--gap);
    627627
    628     background-image: url('../images/about-header-freedoms.svg');
     628    background-image: url('../images/about-header-freedoms.svg?ver=6.0');
    629629    background-position: right var(--about-header-bg-offset-inline) top calc(var(--gap) * 4);
    630630}
     
    635635    --about-header-bg-offset-inline: var(--gap);
    636636
    637     background-image: url('../images/about-header-privacy.svg');
     637    background-image: url('../images/about-header-privacy.svg?ver=6.0');
    638638    background-position: right var(--about-header-bg-offset-inline) top var(--gap);
    639639}
Note: See TracChangeset for help on using the changeset viewer.