Skip to content

Add close button label setting#25

Closed
MarieComet wants to merge 7 commits intomainfrom
add-close-button-label-setting
Closed

Add close button label setting#25
MarieComet wants to merge 7 commits intomainfrom
add-close-button-label-setting

Conversation

@MarieComet
Copy link
Copy Markdown
Contributor

@MarieComet MarieComet commented Apr 10, 2026

Note

Low Risk
Low risk: adds an optional new block attribute and editor control, with a simple fallback to the existing default label; no auth or data-handling changes.

Overview
Adds a new closeButtonLabel attribute to the modal block and exposes it in the editor sidebar so authors can override the close button text (falling back to the existing translated default when unset).

Updates the saved/rendered markup to output the custom label when provided, and refreshes i18n catalogs plus the Playground blueprint.json demo setup (landing page, mu-plugin for allowed tags, and demo page slug).

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

firestar300 and others added 7 commits March 26, 2026 16:11
Fix/blueprint: Add SVG support and update landing page
Style: Apply WordPress coding standards to blockparty-modal
- Update the landing page to use the newly created demo page slug.
- Fix PHP syntax errors and nested tags in the page creation step.
- Expand the KSES allowed HTML filter to include the `` element and its attributes.
- Replace base64 MU-plugin installation with a more readable PHP implementation.
@MarieComet MarieComet requested a review from firestar300 April 10, 2026 09:59
@MarieComet MarieComet closed this Apr 10, 2026
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.

2 participants