[wp-trac] [WordPress Trac] #61342: Bundled block themes: The theme.json schema version is incorrect
WordPress Trac
noreply at wordpress.org
Sat Jun 1 13:07:29 UTC 2024
#61342: Bundled block themes: The theme.json schema version is incorrect
---------------------------+--------------------
Reporter: poena | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.6
Component: Bundled Theme | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+--------------------
Both Twenty Twenty-Two, Twenty Twenty-Three, and Twenty Twenty-Four uses
{{{"$schema": "https://schemas.wp.org/trunk/theme.json",}}} in theme.json.
However, trunk is the development version.
Because this schema has already been updated in preparation for the
theme.json version bump from 2 to 3 in WordPress 6.6, code editors show
parts of theme.json as invalid.
The themes need to use the version of theme.json that was valid when the
theme was released.
Documentation:
https://developer.wordpress.org/block-editor/reference-guides/theme-json-
reference/theme-json-v2/#json-schema
The last schema for version 2 is available at
`https://schemas.wp.org/wp/6.5/theme.json`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61342>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list