-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Revert the "Manage fonts" button in Global Styles #66107
Conversation
Size Change: +199 B (+0.01%) Total Size: 1.77 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.
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. |
Is this just a revert commit of #62129? I see a |
Note: for better process, I added the same GitHub labels from the original issue and PR that implemented this change. |
1 similar comment
Note: for better process, I added the same GitHub labels from the original issue and PR that implemented this change. |
Actually, this is not a revert. It's a change. |
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.
Thanks for the PR!
There is still discussion going on about the button layout so like #65590 I think it would be best to revert to the previous state in WP 6.7.
I see a
style.scss
change in the original PR, should we include that here too?
The current stylesheet matches this PR perfectly, so I don't think any stylesheet changes are necessary.
Co-authored-by: ndiego <[email protected]> Co-authored-by: ramonjd <[email protected]> Co-authored-by: kevin940726 <[email protected]> Co-authored-by: afercia <[email protected]> Co-authored-by: carolinan <[email protected]> Co-authored-by: colorful-tones <[email protected]> Co-authored-by: richtabor <[email protected]>
I just cherry-picked this PR to the wp/6.7 branch to get it included in the next release: d360fd1 |
Co-authored-by: ndiego <[email protected]> Co-authored-by: ramonjd <[email protected]> Co-authored-by: kevin940726 <[email protected]> Co-authored-by: afercia <[email protected]> Co-authored-by: carolinan <[email protected]> Co-authored-by: colorful-tones <[email protected]> Co-authored-by: richtabor <[email protected]>
Fixes #65574
What?
This PR reverts the "Manage fonts" button that was persistently displayed when managing fonts in the Global Styles → Typography. Now, this "Manage fonts" button only displays when there are no active fonts. If there are no fonts installed, the button will read "Add fonts". This behavior is similar to 6.6.
Why?
There is an open discussion about whether this button should be displayed. As we are approaching the 6.7 release, the release leads agreed to revert to 6.6 functionality and continue this discussion for future Gutenberg releases.