Skip to content

feat: enable third-party blocks by default - #26468

Draft
dcalhoun wants to merge 5 commits into
trunkfrom
feat/third-party-blocks-default-on
Draft

dcalhoun wants to merge 5 commits into
trunkfrom
feat/third-party-blocks-default-on

Conversation

@dcalhoun

@dcalhoun dcalhoun commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Description

Aligns with wordpress-mobile/WordPress-Android#23588: "Use third-party blocks (beta)" now defaults to on, so rolling out GutenbergKit doesn't remove plugin blocks sites rely on today (e.g., Jetpack blocks, VideoPress uploads).

  • Sites without a stored preference default to on, like "Use theme styles".
  • Explicit opt-outs are kept. Unlike Android, iOS can tell "never set" from "turned off": the value is only stored when the user taps the toggle, so no reset is needed.
  • The gutenberg_kit_plugins remote flag still gates the feature: when off, the row is hidden and the editor loads no plugin blocks.
  • Android's known issue (disabled toggle shown on for unsupported sites) doesn't apply: iOS already shows unsupported sites' toggle as off.
  • A site whose editor capabilities haven't been probed yet now loads no plugin blocks, like Android. Before, iOS assumed support; with the new default, a self-hosted site without Jetpack showed "Editor Error" (rest_no_route) instead of opening the editor (GutenbergKit#602). The Site Settings row stays tappable meanwhile.
  • Prefetching editor dependencies now waits for the capability probe, so the cached dependencies include plugin blocks for capable sites.

What I ran

  • I built this change and ran the affected tests locally

WordPressTest/EditorConfigurationPluginsTests: Test run with 15 tests in 1 suite passed

Smoke tested the Jetpack app on an iOS 27.2 simulator with a WordPress.com site:

  • With no stored value, the toggle is on.
  • With it on, Jetpack blocks (e.g., Subscribe) appear in the inserter.
  • After turning it off and relaunching, it stays off and Jetpack blocks are gone.
  • With gutenberg_kit_plugins off, the row is hidden.
  • A local self-hosted site without Jetpack opens the editor. Before the probe fix it showed "Editor Error" while the probe hadn't completed (simulated by disabling the probe in a local build).

Testing instructions

Prerequisites: enable "Experimental Block Editor" and "Experimental Block Editor Plugins" in Me → App Settings → Debug → Feature Flags → Remote Feature Flags.

Default on:

  1. Sign in to a WordPress.com account and open a site you haven't changed this toggle for.
  2. Open My Site → More → Site Settings → Editor.
  • Verify "Use third-party blocks (beta)" is on.
  1. Open a new post and search the inserter for "Subscribe".
  • Verify Jetpack blocks are available.

Opt-out persists:

  1. Turn the toggle off and relaunch the app.
  • Verify the toggle stays off.
  1. Open a new post and search the inserter for "Subscribe".
  • Verify Jetpack blocks are unavailable.

Remote flag still gates the feature:

  1. Turn off "Experimental Block Editor Plugins" and relaunch.
  • Verify the toggle is hidden in Site Settings → Editor.

Self-hosted site without Jetpack:

  1. Add a self-hosted site without Jetpack (e.g., a WordPress Studio site) with an application password.
  2. Open a new post.
  • Verify the editor opens.
  1. Open My Site → Site Settings → Editor.
  • Verify "Use third-party blocks (beta)" is off and disabled, with a note to install Jetpack.
Site toggle Block inserter
Site Settings with "Use third-party blocks (beta)" on by default Inserter showing Jetpack blocks when searching "Subscribe"

🤖 Generated with Claude Code

Rolling out the new editor with third-party blocks off would drop plugin
blocks sites rely on today, such as Jetpack and VideoPress. Sites without
a stored preference now default to on; explicit opt-outs are kept. The
remote flag still gates the feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dcalhoun dcalhoun added this to the 27.6 milestone Nov 30, 2026
@dcalhoun dcalhoun added Site Settings Gutenberg Editing and display of Gutenberg blocks. [Type] Enhancement labels Nov 30, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

dcalhoun and others added 3 commits November 30, 2026 14:41
An opt-in now matches the default, so the test passed even if the flag
cycle erased the stored preference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GutenbergKit fails to load the editor, rather than falling back, when a
site lacks the editor-assets route. Now that third-party blocks default to
on, an unprobed self-hosted site without Jetpack hit that error. Matches
Android, which also treats unprobed sites as unsupported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The prefetch cache ignores the configuration it was built with, so a
prefetch for an unprobed site would cache dependencies without
third-party blocks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gutenberg Editing and display of Gutenberg blocks. Site Settings [Type] Enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants