Conversation
Release 1.0.5
Fixes the broken PHP script in the blueprint and uses base64 encoding for the demo page content to prevent escaping issues. Updates the landing page to point directly to the newly created demo page.
…d code Replaces the dual `screen-reader-text sr-only` classes with a localized `sr-only` class and corresponding CSS to reduce external dependencies. Removes the deprecated block version and applies general code style formatting updates across the modal components.
Updates the blockparty-modal resource reference from the 1.0.5 tag to the chore/blueprint branch to incorporate recent changes.
Adds a leading slash to the wp-load.php path to ensure the script correctly bootstraps WordPress within the Playground environment.
This reverts commit bfd33cb.
Chore/blueprint
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| save, | ||
| deprecated, | ||
| } ); | ||
| }); |
There was a problem hiding this comment.
Missing deprecation handler breaks v1.0.5 saved blocks
High Severity
The deprecated.js file is entirely removed and registerBlockType no longer receives a deprecated array, but the save function's output changed from 'screen-reader-text sr-only' (v1.0.5) back to 'sr-only'. Any modal blocks saved with v1.0.5 will fail WordPress block validation in the editor because the serialized HTML contains class="screen-reader-text sr-only" but the current save function now produces class="sr-only". A deprecation entry with the old v1.0.5 save markup is needed so WordPress can migrate those blocks.


Release 1.0.6
Note
Medium Risk
Removes the block
deprecatedsave definition while also changing serialized markup for the close-button label, which could cause block validation issues for content saved with older versions. Remaining changes are mostly config/docs updates for the Playground demo.Overview
Bumps the plugin/block/package versions to
1.0.6and updates the changelogs.Fixes the WordPress Playground
blueprint.jsonby pointing the landing page to a deterministic demo slug, updating the installed plugin tag ref, and rewriting the demo-page creation step to use a cleanerrunPHPscript (with base64-encoded block content).Updates the modal close button’s icon-only label to use a single
sr-onlyclass (instead ofscreen-reader-text sr-only), adds corresponding CSS, and drops the block’sdeprecateddefinition (deprecated.js) from registration.Written by Cursor Bugbot for commit 0d24561. This will update automatically on new commits. Configure here.