mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-13 02:51:33 +01:00
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:
parent
a3f384f09d
commit
77c2292ddc
@ -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;
|
||||
|
2
wp-admin/js/customize-controls.min.js
vendored
2
wp-admin/js/customize-controls.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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"],
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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": {
|
||||
|
@ -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,
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user