Conversation
|
Size Change: +122 B (0%) Total Size: 7.73 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in c0e8a9e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23790392787
|
|
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. |
| description: __( 'Pin this post to the top of the blog.' ), | ||
| enableSorting: false, | ||
| enableHiding: false, | ||
| isVisible: ( item ) => !! item._links?.[ 'wp:action-sticky' ], |
There was a problem hiding this comment.
This is interesting. Once the config is moved to the server, we can remove this isVisible check and just check the actual user permission to decide whether to include the field or not in the endpoint.
What?
Part of: #76076
This PR adds a
stickyfield that is used in theEditor Inspector: Use DataFormexperimentChecks are the same with PostStickyCheck component.
Testing Instructions
Editor Inspector: Use DataFormexperimentStatusitem in inspector controls.stickyfield is editable and working as expected.Screenshots or screencast