-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add documentation for PostAuthor, PostAuthorCheck, PostAuthorPanel components #61090
Add documentation for PostAuthor, PostAuthorCheck, PostAuthorPanel components #61090
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. |
@@ -11,6 +11,15 @@ import PostTypeSupportCheck from '../post-type-support-check'; | |||
import { store as editorStore } from '../../store'; | |||
import { AUTHORS_QUERY } from './constants'; | |||
|
|||
/** | |||
* Component to render its children only if the post type supports the author. |
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.
I'm not native speaker but I think we can improve the wording a bit here. What about
* Component to render its children only if the post type supports the author. | |
* Wrapper component that renders its children only if the post type supports the author. |
…mponents (WordPress#61090) Co-authored-by: sunil25393 <sunil25393@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
What?
Part of: #60358
Added documentation in the readme for
PostAuthor
,PostAuthorCheck
,PostAuthorPanel
components and also on components itself.