Repository navigation
Block Supports: Add PHP helpers for block support classes and styles #14094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
aaronrobertshaw
wants to merge
13
commits into
WordPress:trunk
from
aaronrobertshaw:backport/php-support-style-helpers
+1,030
−148
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
76ef139
Block Supports: Add PHP helpers for block support classes and styles.
aaronrobertshaw c9a8b1c
Block Supports: Fall back to the custom color when a preset attribute…
aaronrobertshaw 06e463e
Tests: Expect the custom color for a null preset, and drop the style …
aaronrobertshaw 86e0dbd
Block Supports: Match JS truthiness for color preset attributes.
aaronrobertshaw 07a6415
Block Supports: Mark the classes and styles helpers as added in 7.3.0.
aaronrobertshaw 7bd0b73
Block Supports: Only treat a non-empty string as a color preset slug.
aaronrobertshaw aebff9e
Block Supports: Return early for non-array attributes in the backgrou…
aaronrobertshaw 4020b55
Block Supports: Return early for non-array attributes in the shadow a…
aaronrobertshaw ca3113e
Block Supports: Rename the background helper's return array to $attri…
aaronrobertshaw 7272ad7
Merge branch 'trunk' into backport/php-support-style-helpers
westonruter fd9ccd3
Block Supports: Match the Gutenberg comments in the border and backgr…
aaronrobertshaw 99a9486
Tests: Match the trimmed Gutenberg helper tests and make their data p…
aaronrobertshaw cc81db0
Block Supports: Describe the classes and styles helpers' array shapes…
aaronrobertshaw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.