Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#57549 closed defect (bug) (fixed)

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

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

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.


4 years ago
#1

  • Keywords has-patch added

#2 @hellofromTonya
4 years ago

  • Description modified (diff)
  • Keywords gutenberg-merge added
  • Milestone Awaiting Review6.2
  • Owner set to hellofromTonya
  • Status newreviewing
  • Summary Block editor: iframe for block based themes (PHP backport)Block Editor: Add a setting to identify a block theme for the iframe

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

#3 @hellofromTonya
4 years ago

  • Description modified (diff)

#4 @hellofromTonya
4 years ago

  • Keywords commit added

PR 3904 is approved. Marking for commit.

#5 @hellofromTonya
4 years ago

  • Resolutionfixed
  • Status reviewingclosed

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.