Skip to content

Conversation

@westonruter
Copy link
Member

See Core-58874.

@github-actions
Copy link

github-actions bot commented Jan 3, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: westonruter <westonruter@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions github-actions bot added the [Package] Block library /packages/block-library label Jan 3, 2026
@westonruter westonruter added [Type] Code Quality Issues or PRs that relate to code quality No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core labels Jan 3, 2026
$colors_by_origin['theme'] :
$colors_by_origin['default']
);
$settings['colors'] = $colors_by_origin['custom'] ?? $colors_by_origin['theme'] ?? $colors_by_origin['default'];
Copy link
Member Author

@westonruter westonruter Jan 3, 2026

Choose a reason for hiding this comment

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

Wow. This change makes the code so much easier to read!

Copy link
Member

@Mamaduka Mamaduka left a comment

Choose a reason for hiding this comment

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

Love this! ✅

@westonruter westonruter merged commit 4203f6e into trunk Jan 5, 2026
50 of 60 checks passed
@westonruter westonruter deleted the update/null-coalescing-operator branch January 5, 2026 18:40
@github-actions github-actions bot added this to the Gutenberg 22.4 milestone Jan 5, 2026
ciampo pushed a commit that referenced this pull request Jan 7, 2026
…` in ternaries. (#74335)

Co-authored-by: westonruter <westonruter@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core [Package] Block library /packages/block-library [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