-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Editor: Don't hide authors' Combobox if the current author is missing #58719
Conversation
@@ -102,7 +97,6 @@ function PostAuthorCombobox() { | |||
value={ authorId } | |||
onFilterValueChange={ debounce( handleKeydown, 300 ) } | |||
onChange={ handleSelect } | |||
isLoading={ isLoading } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ComboboxControl
doesn't have a loading state.
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 Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @dannyreaktiv. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. Core SVNCore Committers: Use this line as a base for the props when committing in SVN:
GitHub Merge commitsIf 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: -47 B (0%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What?
Fixes: #56164.
PR updates the
PostAuthorCombobox
component to always render the authors' Combobox.Why?
Allows manually reassigning post author if the current author is missing. This matches your behavior in Classic Editor.
Testing Instructions
wp user generate --role=editor --count=100
.wp user delete <test-user-id> --reassign=99999
Testing Instructions for Keyboard
Same.