Skip to content

Conversation

@andrewserong
Copy link
Contributor

What?

When WordPress/wordpress-develop#3254 was merged into core, it involved a couple of tweaks to documenting, readability improvements, and renaming of some tests. This PR ports those changes back to the Gutenberg plugin.

Why?

As the layout.php file in Gutenberg is evergreen, it's good to try to ensure as much consistency as possible between core and the Gutenberg file.

How?

Copy + paste changes from core's layout.php and ensure that we keep the gutenberg_ prefixed versions of changes in the Gutenberg plugin.

Testing Instructions

Check that PHP tests pass.
Smoke test that layout still works correctly (e.g. try out a range of Group, Buttons, and Social Icons blocks in a post, ensure rendering is the same as on trunk)

@andrewserong andrewserong added [Type] Code Quality Issues or PRs that relate to code quality [Feature] Layout Layout block support, its UI controls, and style output. labels Oct 4, 2022
@andrewserong andrewserong self-assigned this Oct 4, 2022
@andrewserong andrewserong marked this pull request as ready for review October 4, 2022 05:22
Copy link
Member

@aristath aristath left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

Thank you @andrewserong!

@andrewserong andrewserong merged commit c517e7e into trunk Oct 4, 2022
@andrewserong andrewserong deleted the try/backporting-core-layout-changes-to-gutenberg branch October 4, 2022 23:13
@github-actions github-actions bot added this to the Gutenberg 14.3 milestone Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Layout Layout block support, its UI controls, and style output. [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants