Skip to content

:link and :any-link pseudoclasses are not included in the JSON Schema for theme.json #49013

@mrleemon

Description

@mrleemon

Description

According to this trac ticket: https://core.trac.wordpress.org/ticket/57053
WP 6.2 will support the :link and :any-link pseudoclasses as valid selectors, but they are not included in the JSON Schema for theme.json.

Please add it to the JSON schema prior to the release of WP 6.2.

Step-by-step reproduction instructions

View the JSON schema and notice that the :link and :any-link pseudoclasses are not present.

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

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions