Make WordPress Core

Opened 4 months ago

Closed 3 months ago

Last modified 2 months ago

#60133 closed enhancement (fixed)

Add setting to disable layout custom content size controls

Reported by: isabel_brison's profile isabel_brison Owned by: isabel_brison's profile isabel_brison
Milestone: 6.5 Priority: normal
Severity: normal Version: 6.5
Component: Editor Keywords: gutenberg-merge has-patch add-to-field-guide
Focuses: Cc:

Description

As a prerequisite to merging the changes from https://github.com/WordPress/gutenberg/pull/56236 into core, a new layout.allowCustomContentAndWideSize setting needs to be added to the VALID_SETTINGS array in class WP_Theme_JSON.

Change History (4)

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


4 months ago
#1

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/60133

Syncs the PHP changes from https://github.com/WordPress/gutenberg/pull/56236. Similar to https://github.com/WordPress/wordpress-develop/pull/5147, this can't be tested without the JS changes from the npm package updates.

#2 @isabel_brison
3 months ago

  • Owner set to isabel_brison
  • Resolution set to fixed
  • Status changed from new to closed

In 57247:

Editor: add setting to disable layout content and wide size controls.

Adds support for an allowCustomContentAndWideSize setting in WP_Theme_JSON valid settings.

Props andrewserong.
Fixes #60133.

@isabel_brison commented on PR #5815:


3 months ago
#3

Committed in r57247.

#4 @stevenlinx
2 months ago

  • Keywords add-to-field-guide added
Note: See TracTickets for help on using tickets.