[wp-trac] [WordPress Trac] #61426: Upload Fonts: Invalid parameter(s): font_family_settings

WordPress Trac noreply at wordpress.org
Thu Jun 13 07:21:51 UTC 2024


#61426: Upload Fonts: Invalid parameter(s): font_family_settings
--------------------------+------------------------------
 Reporter:  benniledl     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  6.5.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by benniledl):

 As per w3.org specification the name in the metadata is optional, so this
 is a valid bug of WordPress:


 == WOFF2:
 The WOFF2 file MAY contain a block of extended metadata. The
 interpretation of this block is exactly the same as [WOFF 1].
 https://www.w3.org/TR/WOFF2/#Metadata

 == WOFF1:
 Zero or more name elements may be used to provide a human-friendly name
 for the collection of extended metadata items in an extension element. A
 user agent that displays metadata SHOULD choose the name with most the
 appropriate language from among those available for each named extension
 element. This child element is OPTIONAL in extension elements; anonymous
 extension elements are also permissible.
 https://www.w3.org/TR/2012/REC-WOFF-20121213/#Metadata

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


More information about the wp-trac mailing list