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

Fix Twenty Ninteen: The color palette shows incorrect names #5435

Closed

Conversation

carolinan
Copy link

This PR solves a problem with the names in the color palette in Twenty Nineteen. Instead of displaying the color names, two of the default colors displayed the color clode.

The PR adjusts the logic for displaying the color name, to make sure that the string value 'default' is not compared with false, by adding the default value as a parameter to get_theme_mod( 'primary_color' )

Trac ticket: https://core.trac.wordpress.org/ticket/59566


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@carolinan carolinan changed the title Update functions.php Fix Twenty Ninteen: The color palette shows incorrect names Oct 9, 2023
@SergeyBiryukov
Copy link
Member

Thanks for the PR! Merged in r56935.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants