[wp-trac] [WordPress Trac] #59165: Font Face: Server-side @font-face styles generator and printer

WordPress Trac noreply at wordpress.org
Mon Sep 25 15:20:19 UTC 2023


#59165: Font Face: Server-side @font-face styles generator and printer
-------------------------------------------------+-------------------------
 Reporter:  hellofromTonya                       |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.4
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  gutenberg-merge needs-dev-note has-  |     Focuses:
  patch has-unit-tests has-testing-info has-     |
  screenshots                                    |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Reopening to merge a [https://github.com/WordPress/gutenberg/pull/54615
 bugfix from Gutenberg] to get the font-family name from the `"fontFamily"`
 field, instead of the `"name"` field.

 Why?

 To avoid a back-compatibility (BC) break for themes that do not have the
 `"name"` field defined.

 WP Core also does not require the `"name"` field. Using it exclusively is
 a BC break in Core.

 It's not clearly documented that the `"name"` field is required. Thus,
 it's been optional.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59165#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list