From a63a6ae7ee410bf782de6228dbd396fd2f833edb Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Tue, 23 Jan 2024 13:07:16 +0000 Subject: [PATCH] General: Add $schema property to block and theme JSON files. Additionally, this changeset fixes some of the `block.json` and `theme.json` files in PHPUnit tests by adding missing `title` properties to satisfy the schema. Those changes have no impact on the runtime whatsoever and do not change the result of unit tests. Note that some block and theme JSON files still aren't valid according to the schema. Fixing is underway; the required changes will be merged subsequently. Props jonsurrell, dmsnell, gziolo. Fixes #60255. Built from https://develop.svn.wordpress.org/trunk@57336 git-svn-id: http://core.svn.wordpress.org/trunk@56842 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentytwo/theme.json | 1 + wp-includes/theme.json | 1 + wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwentytwo/theme.json b/wp-content/themes/twentytwentytwo/theme.json index 41ffb72d98..ec9ff8644e 100644 --- a/wp-content/themes/twentytwentytwo/theme.json +++ b/wp-content/themes/twentytwentytwo/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "customTemplates": [ { diff --git a/wp-includes/theme.json b/wp-includes/theme.json index f2690bd44d..d9ed47816c 100644 --- a/wp-includes/theme.json +++ b/wp-includes/theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 2, "settings": { "appearanceTools": false, diff --git a/wp-includes/version.php b/wp-includes/version.php index 3f007e6d9f..001c879c03 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57335'; +$wp_version = '6.5-alpha-57336'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.