Skip to content

Target specific versions of WordPress in theme.json docs #37974

@mrleemon

Description

@mrleemon

Description

In the "Developing with theme.json" section of the Block Editor Handbook, the example shown uses the latest version of the schema (https://schemas.wp.org/trunk/theme.json), but there's no mention that a theme developer can also target specific versions of WordPress (https://schemas.wp.org/wp/5.9/theme.json).

https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-json/#developing-with-theme-json

Step-by-step reproduction instructions

This is not a bug report

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions