Skip to content
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 class name to post author on edit post sidebar #36269

Merged

Conversation

lschuyler
Copy link
Contributor

Description

This adds a class name ("edit-post-post-author") to the post author element of the edit post sidebar.

The similar Post Visibility component of the sidebar has a class name already ("edit-post-post-visibility") so I followed the same naming format.

This change will allow plugins (example Co-Authors Plus) to precisely target the post author element for CSS changes.

Add a class name to the post author element of the edit post sidebar so it can be targetted with CSS.
@github-actions
Copy link

github-actions bot commented Nov 5, 2021

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @lschuyler! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Nov 5, 2021
@gamebits
Copy link

Addresses Automattic/Co-Authors-Plus#825

@Mamaduka Mamaduka added [Feature] Document Settings Document settings experience [Type] Enhancement A suggestion for improvement. labels Dec 24, 2021
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.

Thanks for contributing, @lschuyler. The change makes sense to me!

@Mamaduka Mamaduka merged commit 3e1d623 into WordPress:trunk Dec 24, 2021
@github-actions github-actions bot added this to the Gutenberg 12.3 milestone Dec 24, 2021
@lschuyler lschuyler deleted the add/classname-edit-post-post-author branch May 6, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Document Settings Document settings experience First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants