Skip to content

Conversation

@oguzkocer
Copy link
Contributor

Addresses a breaking change discovered in #1047: WordPress 6.9 returns post type supports as either bool or array, so we use JsonValue wrapped in PostTypeSupportsValue for flexibility.

WordPress 6.9 returns post type supports as either bool or array,
so we use JsonValue wrapped in PostTypeSupportsValue for flexibility.

Changes:
- Add PostTypeSupportsValue type wrapping JsonValue
- Update PostTypeSupportsMap to use Arc<PostTypeSupportsValue>
- Update test assertion to use as_json_bool() method
@oguzkocer oguzkocer added this to the 0.2 milestone Nov 28, 2025
@oguzkocer oguzkocer requested a review from jkmassel November 28, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants