From 8dafbef75cdf36c20f6896f1a4c00d7c01df490e Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Wed, 18 May 2022 15:40:41 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/branches/6.0@53412 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/about.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index 844ee9fe2f..cece925143 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -606,7 +606,7 @@ position: relative; margin-bottom: var(--gap); padding-top: 0; - background: var(--subtle-background) url('../images/about-header-about.svg') no-repeat; + background: var(--subtle-background) url('../images/about-header-about.svg?ver=6.0') no-repeat; background-size: var(--about-header-bg-width) var(--about-header-bg-height); background-position: right var(--about-header-bg-offset-inline) center; } @@ -616,7 +616,7 @@ --about-header-image-height: 470px; --about-header-bg-offset-inline: calc(var(--gap) * -4); - background-image: url('../images/about-header-credits.svg'); + background-image: url('../images/about-header-credits.svg?ver=6.0'); background-position: right var(--about-header-bg-offset-inline) top var(--gap); } @@ -625,7 +625,7 @@ --about-header-image-height: 498px; --about-header-bg-offset-inline: var(--gap); - background-image: url('../images/about-header-freedoms.svg'); + background-image: url('../images/about-header-freedoms.svg?ver=6.0'); background-position: right var(--about-header-bg-offset-inline) top calc(var(--gap) * 4); } @@ -634,7 +634,7 @@ --about-header-image-height: 361px; --about-header-bg-offset-inline: var(--gap); - background-image: url('../images/about-header-privacy.svg'); + background-image: url('../images/about-header-privacy.svg?ver=6.0'); background-position: right var(--about-header-bg-offset-inline) top var(--gap); }