Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Fix system-serif slug type-o #740

Closed
wants to merge 1 commit into from
Closed

Conversation

RavanH
Copy link

@RavanH RavanH commented Jan 6, 2024

Description

When trying the set, for example, the global headings font family to System Serif, the global style setting will be converted to style rule font-family: var(--wp--preset--font-family--system-Serif); (notice the upper case S) referencing a non-existent root variable.

Testing Instructions

  1. Go to global style settings and change the Headings font face to System Serif.
  2. Save styles.
  3. Verify any headings on the front end: they will be using the browser default, not the root --wp--preset--font-family--system-serif (notice the lower case S) value.

@RavanH
Copy link
Author

RavanH commented Jan 6, 2024

See issue #741

@MaggieCabrera
Copy link
Collaborator

We will close this repo since it's gotten out of sync with core. Can you make this PR in https://github.com/WordPress/wordpress-develop/ instead? I think it's still a legitimate fix

@RavanH
Copy link
Author

RavanH commented Jan 23, 2024

Done! Track ticket https://core.trac.wordpress.org/ticket/60325 and PR for code review WordPress/wordpress-develop#5933 :)

@RavanH RavanH deleted the patch-1 branch January 23, 2024 14:09
@MaggieCabrera
Copy link
Collaborator

Thank you so much!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants