Block Library: Fix discussion settings data selection#74026
Conversation
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: +9 B (0%) Total Size: 2.58 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in d747377. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/20256710549
|
|
Thanks for the review, @t-hamano! |
What?
Part of #73869.
PR hardens
useSelecthooks only returning the__experimentalDiscussionSettingsvalues and avoids errors when the setting isn't defined.I've also added missing dependency arrays in a couple of places.
Testing Instructions
wp-admin/site-editor.php?p=%2Fstyles§ion=%2Fblocks&preview=stylebook.Testing Instructions for Keyboard
Same.
Screenshots or screencast