Bundled Theme: Pin a theme.json schema version to Twenty Twenty-Five.

Each theme’s theme.json schema version should be pinned to the version that was valid at the time it was released. This means all JSON files in the theme should be pinned to the appropriate schema version, not just theme.json.

Reviewed by jorbin.
Merges [59448] and [59451] to the 6.7 branch.

Props im3dabasia1, poena, mukesh27, desrosj.
Fixes #62455.


Built from https://develop.svn.wordpress.org/branches/6.7@59546


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Aaron Jorbin 2024-12-20 15:21:19 +00:00
parent a3f384f09d
commit 77c2292ddc
36 changed files with 40 additions and 40 deletions

View File

@ -1530,7 +1530,7 @@
}
// Expand/Collapse accordion sections on click.
section.container.find( '.accordion-section-title button, .customize-section-back' ).on( 'click keydown', function( event ) {
section.container.find( '.accordion-section-title button, .customize-section-back, .accordion-section-title[tabindex]' ).on( 'click keydown', function( event ) {
if ( api.utils.isKeydownButNotEnterEvent( event ) ) {
return;
}
@ -1605,7 +1605,7 @@
content = section.contentContainer,
overlay = section.headContainer.closest( '.wp-full-overlay' ),
backBtn = content.find( '.customize-section-back' ),
sectionTitle = section.headContainer.find( '.accordion-section-title button' ).first(),
sectionTitle = section.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).first(),
expand, panel;
if ( expanded && ! content.hasClass( 'open' ) ) {
@ -2694,7 +2694,7 @@
container = section.headContainer.closest( '.wp-full-overlay-sidebar-content' ),
content = section.contentContainer,
backBtn = content.find( '.customize-section-back' ),
sectionTitle = section.headContainer.find( '.accordion-section-title button' ).first(),
sectionTitle = section.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).first(),
body = $( document.body ),
expand, panel;
@ -2833,7 +2833,7 @@
var meta, panel = this;
// Expand/Collapse accordion sections on click.
panel.headContainer.find( '.accordion-section-title button' ).on( 'click keydown', function( event ) {
panel.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).on( 'click keydown', function( event ) {
if ( api.utils.isKeydownButNotEnterEvent( event ) ) {
return;
}
@ -2937,7 +2937,7 @@
accordionSection = panel.contentContainer,
overlay = accordionSection.closest( '.wp-full-overlay' ),
container = accordionSection.closest( '.wp-full-overlay-sidebar-content' ),
topPanel = panel.headContainer.find( '.accordion-section-title button' ),
topPanel = panel.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ),
backBtn = accordionSection.find( '.customize-panel-back' ),
childSections = panel.sections(),
skipTransition;

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Evening",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Noon",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Dusk",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Afternoon",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Twilight",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Morning",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Sunrise",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Midnight",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Display",
"slug": "text-display",

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Subtitle",
"slug": "text-subtitle",

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Annotation",
"slug": "text-annotation",

View File

@ -1,6 +1,6 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"title": "Pill shaped",
"slug": "post-terms-1",
"blockTypes": ["core/post-terms"],

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Evening",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Noon",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Dusk",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Afternoon",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Twilight",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Morning",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Sunrise",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"title": "Midnight",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"slug": "section-1",
"title": "Style 1",

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"slug": "section-2",
"title": "Style 2",

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"slug": "section-3",
"title": "Style 3",

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"slug": "section-4",
"title": "Style 4",

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"slug": "section-5",
"title": "Style 5",

View File

@ -1,6 +1,6 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"title": "Beiruti & Literata",
"slug": "typography-preset-1",
"settings": {

View File

@ -1,6 +1,6 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"title": "Vollkorn & Fira Code",
"slug": "typography-preset-2",
"settings": {

View File

@ -1,6 +1,6 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"title": "Platypi & Ysabeau Office",
"slug": "typography-preset-3",
"settings": {

View File

@ -1,6 +1,6 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"title": "Roboto Slab & Manrope",
"slug": "typography-preset-4",
"settings": {

View File

@ -1,6 +1,6 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"title": "Literata & Ysabeau Office",
"slug": "typography-preset-5",
"settings": {

View File

@ -1,6 +1,6 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"title": "Platypi & Literata",
"slug": "typography-preset-6",
"settings": {

View File

@ -1,6 +1,6 @@
{
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"title": "Literata & Fira Sans",
"slug": "typography-preset-7",
"settings": {

View File

@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"$schema": "https://schemas.wp.org/wp/6.7/theme.json",
"version": 3,
"settings": {
"appearanceTools": true,

View File

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