Skip to content

Add ability to disable layout controls per block from theme.json#5147

Closed
tellthemachines wants to merge 1 commit intoWordPress:trunkfrom
tellthemachines:add/layout-controls-off-switch
Closed

Add ability to disable layout controls per block from theme.json#5147
tellthemachines wants to merge 1 commit intoWordPress:trunkfrom
tellthemachines:add/layout-controls-off-switch

Conversation

@tellthemachines
Copy link
Contributor

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

Adds PHP changes from WordPress/gutenberg#53378.

This can't really be tested currently as trying to sync trunk with the latest Gutenberg packages causes a fatal error due to some interactivity API specific code.

I guess the best we can do is check that automated tests pass and nothing is broken after the change 😄


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tellthemachines for the PR. It looks good to me.

@tellthemachines
Copy link
Contributor Author

Committed in r56534.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants