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.
Fixes #55750.


Built from https://develop.svn.wordpress.org/trunk@53409


git-svn-id: http://core.svn.wordpress.org/trunk@52998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2022-05-18 03:01:13 +00:00
parent 2972db4ba5
commit 88f38062e2
5 changed files with 11 additions and 11 deletions

View File

@ -607,7 +607,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: left var(--about-header-bg-offset-inline) center;
}
@ -617,7 +617,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: left var(--about-header-bg-offset-inline) top var(--gap);
}
@ -626,7 +626,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: left var(--about-header-bg-offset-inline) top calc(var(--gap) * 4);
}
@ -635,7 +635,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: left var(--about-header-bg-offset-inline) top var(--gap);
}

File diff suppressed because one or more lines are too long

View File

@ -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);
}

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53408';
$wp_version = '6.1-alpha-53409';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.