Make WordPress Core

Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#57549 closed defect (bug) (fixed)

Block Editor: Add a setting to identify a block theme for the iframe

Reported by: ellatrix's profile ellatrix Owned by: hellofromtonya's profile hellofromTonya
Milestone: 6.2 Priority: normal
Severity: normal Version: 6.2
Component: Editor Keywords: has-patch gutenberg-merge commit
Focuses: Cc:

Description (last modified by hellofromTonya)

The block editor's iframe needs to know if the theme is a block theme. This ticket adds a setting to get_block_editor_settings().

The front-end script changes will be included in #57471 when @wordpress packages are updated.

See https://github.com/WordPress/gutenberg/pull/46212.

Change History (6)

This ticket was mentioned in PR #3904 on WordPress/wordpress-develop by @ellatrix.


13 months ago
#1

  • Keywords has-patch added

#2 @hellofromTonya
13 months ago

  • Description modified (diff)
  • Keywords gutenberg-merge added
  • Milestone changed from Awaiting Review to 6.2
  • Owner set to hellofromTonya
  • Status changed from new to reviewing
  • Summary changed from Block editor: iframe for block based themes (PHP backport) to Block Editor: Add a setting to identify a block theme for the iframe

Self-assigning for review and, when ready, commit.

#3 @hellofromTonya
13 months ago

  • Description modified (diff)

#4 @hellofromTonya
13 months ago

  • Keywords commit added

PR 3904 is approved. Marking for commit.

#5 @hellofromTonya
13 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 55147:

Editor: Add is block theme setting to get_block_editor_settings().

The block editor's iframe needs to know if the theme is a block theme. This changeset adds a setting to get_block_editor_settings().

Reference:

Props ellatrix, alexstine, costdev, dgwyer, glendaviesnz, scruffian.
Fixes #57549.

Note: See TracTickets for help on using tickets.