Skip to content

Conversation

oguzkocer
Copy link
Contributor

Summary

  • Pin Gutenberg plugin version to 21.7.0 for test server
  • Fix PostTypeSupports deserialization to handle empty arrays
  • Fix Template.theme field to be properly optional

Changes

  • Modified test server setup to download and install Gutenberg 21.7.0 directly from WordPress.org
  • Wrapped PostTypeSupports in PostTypeSupportsMap with custom deserialization to handle cases where WordPress returns [] instead of {}
  • Made Template.theme field properly optional with #[WpContextualOption] attribute
  • Updated Kotlin and Swift integration tests to access supports.map instead of supports directly

@oguzkocer oguzkocer added this to the 0.2 milestone Oct 9, 2025
@oguzkocer oguzkocer marked this pull request as ready for review October 9, 2025 22:00
@oguzkocer oguzkocer enabled auto-merge (squash) October 9, 2025 22:00
@oguzkocer oguzkocer requested a review from jkmassel October 9, 2025 22:01
@oguzkocer oguzkocer merged commit 8f087fe into trunk Oct 9, 2025
22 checks passed
@oguzkocer oguzkocer deleted the pin-gutenberg-plugin-version-and-address-test-issues branch October 9, 2025 22:07
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