Skip to content

Releases version 1.0.9#36

Merged
firestar300 merged 7 commits into
mainfrom
release/1.0.9
Jun 23, 2026
Merged

Releases version 1.0.9#36
firestar300 merged 7 commits into
mainfrom
release/1.0.9

Conversation

@firestar300

@firestar300 firestar300 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Releases version 1.0.9


Note

Low Risk
Scoped editor integration fix with backward-compatible fallbacks; no auth, security, or data-model changes beyond restoring expected filter behavior.

Overview
Release 1.0.9 fixes custom allowed-block lists for the modal block and modal triggers not taking effect in the block editor on recent WordPress versions, where custom keys on block_editor_settings_all are stripped.

PHP now centralizes filtered lists in get_modal_inner_allowed_blocks() and get_modal_trigger_allowed_blocks(), exposes them to the editor via wp_localize_script as blockpartyModalEditorSettings, and keeps the existing block_editor_settings_all path as a legacy fallback. Frontend trigger rendering reuses the same helper instead of duplicating filter logic.

The editor reads those lists through new getInnerAllowedBlocks() and getTriggerAllowedBlocks() helpers (localized data first, then block editor settings, then defaults), replacing direct useSelect on custom settings keys. Version bumps and changelog entries cover the plugin metadata; composer.lock is removed from the repo and ignored, and npm wp-env scripts are renamed to env:start / env:stop.

Reviewed by Cursor Bugbot for commit 4f9c1df. Bugbot is set up for automated code reviews on this repo. Configure here.

Localizes the allowed block lists for modal triggers and inner blocks using
wp_localize_script. This addresses an issue where recent WordPress versions
were stripping custom settings passed via the block_editor_settings_all filter,
leading to unreliable availability of these lists in the JavaScript editor.
The `composer.lock` file is no longer tracked and has been added to `.gitignore`.
@firestar300 firestar300 merged commit 01202d6 into main Jun 23, 2026
4 checks passed
@firestar300 firestar300 deleted the release/1.0.9 branch June 23, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant