Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#60133 closed enhancement (fixed)

Add setting to disable layout custom content size controls

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

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.


3 years 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 years ago

  • Owner set to isabel_brison
  • Resolution → fixed
  • Status new → 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 years ago
#3

Committed in r57247.

#4 @stevenlinx
3 years ago

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