Skip to content

Add Playground blueprint for the WordPress.org Live Preview - #70

Merged
lloc merged 1 commit into
dev/mainfrom
feature/live-preview-blueprint
Oct 26, 2026
Merged

lloc merged 1 commit into
dev/mainfrom
feature/live-preview-blueprint

Conversation

@InpsydeNiklas

Copy link
Copy Markdown
Member

Closes #58.

Adds .wordpress-org/blueprints/blueprint.json, the WordPress Playground blueprint behind the Live Preview button on the WordPress.org plugin page. It installs MultiSyde from WordPress.org, enables Multisite, network-activates the plugin and opens the MultiSyde page in Network Admin, logged in.

The blueprint is the one from the issue, unchanged apart from indentation. It validates against the Playground blueprint schema. Try it: open in Playground.

.wordpress-org/ is in .distignore, so the blueprint does not ship in the plugin.

After merging

  1. Publish it to SVN assets/blueprints/blueprint.json: run the WordPress.org plugin page workflow (Replace asset update with WordPress.org plugin page workflow #69) with SYNC_ASSETS on, dry run first. It validates the blueprint path before syncing.
  2. A plugin committer enables Toggle Live Preview in the Advanced section.

@InpsydeNiklas
InpsydeNiklas requested a review from lloc as a code owner October 26, 2026 12:00
@github-actions

Copy link
Copy Markdown

🔍 WordPress Plugin Check Report

⚠️ Status: Passed with warnings

📊 Report

🎯 Total Issues ❌ Errors ⚠️ Warnings
1 0 1

⚠️ Warnings (1)

📁 modules/SiteActivePlugins/Feature.php (1 warning)
📍 Line 🔖 Check 💬 Message
169 WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "self::FILTER_MAX_SITES".

🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@lloc lloc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM!

@lloc
lloc merged commit d31f9fd into dev/main Oct 26, 2026
7 checks passed
@lloc
lloc deleted the feature/live-preview-blueprint branch October 26, 2026 12:48
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.

[Feature Request]: w.org plugin repo Live Preview button

2 participants