[wp-trac] [WordPress Trac] #63568: WP_Font_Face: Font names that contain single quotes are not wrapped in double quotes
WordPress Trac
noreply at wordpress.org
Wed Nov 5 18:44:36 UTC 2025
#63568: WP_Font_Face: Font names that contain single quotes are not wrapped in
double quotes
-------------------------------------------------+-------------------------
Reporter: wildworks | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.9
Component: Editor | Version: 6.4
Severity: normal | Resolution:
Keywords: has-patch has-test-info has- | Focuses: ui
screenshots has-unit-tests needs-testing dev- |
feedback |
-------------------------------------------------+-------------------------
Comment (by faisal03):
I agree with the approach of keeping this fix minimal for now and handling
broader normalization/escaping logic in a follow-up PR (as suggested
earlier).
It might also be helpful to add a dedicated unit test for the
`normalize_quoted_font_family_name()` method in the next iteration, to
prevent regressions for edge cases like escaped quotes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63568#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list